Latest graph run and crawls
curl --request GET \
--url https://api.routeur.app/v1/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.routeur.app/v1/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.routeur.app/v1/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.routeur.app/v1/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"graph_run": {
"id": 2,
"graph_version": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"listings": [
{
"venue": "kalshi",
"crawl_run": 123,
"since": "2023-11-07T05:31:56Z"
}
],
"markets": 123,
"propositions": 123,
"cross_venue_games": 123,
"edge_counts": {},
"new_edges": 123,
"conflicts": 123,
"opportunities": 123
},
"latest_crawls": [
{
"venue": "kalshi",
"started_at": "2023-11-07T05:31:56Z",
"markets": 123,
"finished_at": "2023-11-07T05:31:56Z",
"complete": true
}
],
"latest_complete_crawls": [
{
"venue": "kalshi",
"started_at": "2023-11-07T05:31:56Z",
"markets": 123,
"finished_at": "2023-11-07T05:31:56Z",
"complete": true
}
]
},
"graph_run": 2
}{
"error": {
"code": "api_key_required",
"message": "Send an API key in the X-API-Key header or as a Bearer token."
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Service
Latest graph run and crawls
The most recent finished graph run with its counts, and the latest crawl of each venue.
GET
/
v1
/
status
Latest graph run and crawls
curl --request GET \
--url https://api.routeur.app/v1/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.routeur.app/v1/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.routeur.app/v1/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.routeur.app/v1/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}{
"data": {
"graph_run": {
"id": 2,
"graph_version": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"finished_at": "2023-11-07T05:31:56Z",
"listings": [
{
"venue": "kalshi",
"crawl_run": 123,
"since": "2023-11-07T05:31:56Z"
}
],
"markets": 123,
"propositions": 123,
"cross_venue_games": 123,
"edge_counts": {},
"new_edges": 123,
"conflicts": 123,
"opportunities": 123
},
"latest_crawls": [
{
"venue": "kalshi",
"started_at": "2023-11-07T05:31:56Z",
"markets": 123,
"finished_at": "2023-11-07T05:31:56Z",
"complete": true
}
],
"latest_complete_crawls": [
{
"venue": "kalshi",
"started_at": "2023-11-07T05:31:56Z",
"markets": 123,
"finished_at": "2023-11-07T05:31:56Z",
"complete": true
}
]
},
"graph_run": 2
}{
"error": {
"code": "api_key_required",
"message": "Send an API key in the X-API-Key header or as a Bearer token."
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}