curl --request GET \
--url http://127.0.0.1:9113/v1/odds \
--header 'X-API-Key: <api-key>'import requests
url = "http://127.0.0.1:9113/v1/odds"
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('http://127.0.0.1:9113/v1/odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "9113",
CURLOPT_URL => "http://127.0.0.1:9113/v1/odds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:9113/v1/odds"
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))
}HttpResponse<String> response = Unirest.get("http://127.0.0.1:9113/v1/odds")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:9113/v1/odds")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"age_seconds": 123,
"delivery": {
"price": {
"confirmed_ts": "2023-11-07T05:31:56Z",
"observation": {
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": {
"depth": 2,
"fixture_id": 4503599627370496,
"market_id": 4503599627370496,
"outcome_id": 4503599627370496,
"side": "quote",
"source_fixture_id": "<string>",
"source_id": 4503599627370496,
"source_market_id": "<string>",
"source_outcome_id": "<string>"
},
"raw_payload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seen_ts": "2023-11-07T05:31:56Z",
"value": {
"native_unit": "decimal_odds",
"state": "active",
"available_size": "<string>",
"commission_rate": "<string>",
"currency": "<string>",
"decimal_odds": "<string>",
"fee_rate": "<string>",
"main_line": true,
"native_value": "<string>",
"size_unit": "currency"
},
"source_sequence": "<string>",
"source_ts": "2023-11-07T05:31:56Z"
}
},
"sent_ts": "2023-11-07T05:31:56Z"
},
"display_format": "decimal",
"display_odds": "<string>",
"fixture_id": 4503599627370496,
"fixture_phase": "scheduled",
"freshness_limit_seconds": 123,
"identity_scope": "reviewed_group",
"mapping_revision": 123,
"mapping_swapped": true,
"market": {
"family": "1x2",
"id": 4503599627370496,
"name": "<string>",
"period": "full_time",
"settlement_rule": "<string>",
"sport_id": 4503599627370496,
"line_quarters": 123,
"participant_id": 4503599627370496
},
"outcome": {
"code": "home",
"id": 4503599627370496,
"market_id": 4503599627370496,
"name": "<string>"
},
"quote_key": "<string>",
"source_swapped": true,
"source_ts": "2023-11-07T05:31:56Z",
"status": "active",
"target_code": "<string>",
"target_line_quarters": 123,
"terms": {
"fee_model": "sportsbook_gross",
"fee_schedule": {},
"fees_enabled": true,
"rules_sha256": "<string>"
},
"inplay": {
"families": [
"1x2"
],
"freshness_limit_seconds": 123,
"mode": "pre_match_only",
"reason": "<string>"
},
"reason": "<string>"
}
],
"meta": {
"consistency": "<string>",
"count": 123,
"next_cursor": "<string>",
"request_id": "<string>",
"sent_ts": "2023-11-07T05:31:56Z",
"snapshot_ts": "2023-11-07T05:31:56Z",
"version": "<string>",
"namespace": "<string>"
},
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
]
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}List odds
List odds: request contract, authentication, parameters and response behavior for the Oddswire private pilot.
curl --request GET \
--url http://127.0.0.1:9113/v1/odds \
--header 'X-API-Key: <api-key>'import requests
url = "http://127.0.0.1:9113/v1/odds"
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('http://127.0.0.1:9113/v1/odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_PORT => "9113",
CURLOPT_URL => "http://127.0.0.1:9113/v1/odds",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "http://127.0.0.1:9113/v1/odds"
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))
}HttpResponse<String> response = Unirest.get("http://127.0.0.1:9113/v1/odds")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("http://127.0.0.1:9113/v1/odds")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"age_seconds": 123,
"delivery": {
"price": {
"confirmed_ts": "2023-11-07T05:31:56Z",
"observation": {
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"key": {
"depth": 2,
"fixture_id": 4503599627370496,
"market_id": 4503599627370496,
"outcome_id": 4503599627370496,
"side": "quote",
"source_fixture_id": "<string>",
"source_id": 4503599627370496,
"source_market_id": "<string>",
"source_outcome_id": "<string>"
},
"raw_payload_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"seen_ts": "2023-11-07T05:31:56Z",
"value": {
"native_unit": "decimal_odds",
"state": "active",
"available_size": "<string>",
"commission_rate": "<string>",
"currency": "<string>",
"decimal_odds": "<string>",
"fee_rate": "<string>",
"main_line": true,
"native_value": "<string>",
"size_unit": "currency"
},
"source_sequence": "<string>",
"source_ts": "2023-11-07T05:31:56Z"
}
},
"sent_ts": "2023-11-07T05:31:56Z"
},
"display_format": "decimal",
"display_odds": "<string>",
"fixture_id": 4503599627370496,
"fixture_phase": "scheduled",
"freshness_limit_seconds": 123,
"identity_scope": "reviewed_group",
"mapping_revision": 123,
"mapping_swapped": true,
"market": {
"family": "1x2",
"id": 4503599627370496,
"name": "<string>",
"period": "full_time",
"settlement_rule": "<string>",
"sport_id": 4503599627370496,
"line_quarters": 123,
"participant_id": 4503599627370496
},
"outcome": {
"code": "home",
"id": 4503599627370496,
"market_id": 4503599627370496,
"name": "<string>"
},
"quote_key": "<string>",
"source_swapped": true,
"source_ts": "2023-11-07T05:31:56Z",
"status": "active",
"target_code": "<string>",
"target_line_quarters": 123,
"terms": {
"fee_model": "sportsbook_gross",
"fee_schedule": {},
"fees_enabled": true,
"rules_sha256": "<string>"
},
"inplay": {
"families": [
"1x2"
],
"freshness_limit_seconds": 123,
"mode": "pre_match_only",
"reason": "<string>"
},
"reason": "<string>"
}
],
"meta": {
"consistency": "<string>",
"count": 123,
"next_cursor": "<string>",
"request_id": "<string>",
"sent_ts": "2023-11-07T05:31:56Z",
"snapshot_ts": "2023-11-07T05:31:56Z",
"version": "<string>",
"namespace": "<string>"
},
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
]
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}{
"code": "<string>",
"detail": "<string>",
"invalid_params": [
{
"name": "<string>",
"reason": "<string>"
}
],
"missing": [
{
"detail": "<string>",
"reason": "<string>",
"family": "1x2",
"fixture_id": 4503599627370496,
"quote_key": "<string>",
"source_id": 4503599627370496
}
],
"request_id": "<string>",
"status": 123,
"title": "<string>",
"type": "<string>"
}GET /v1/odds
Authentication
ApiKey
Parameters
| Name | Location | Required | Description |
|---|---|---|---|
namespace | query | Yes | Explicit pilot namespace; numeric IDs are scoped to it. |
limit | query | No | Page size 1..100; default 25. |
cursor | query | No | Opaque query-bound cursor; restart on 409 after data changes. |
fixture | query | No | Comma-separated namespace-scoped fixture/group IDs (max 25). |
competition | query | No | Comma-separated competition IDs. |
sport | query | No | Comma-separated sport IDs. |
books | query | No | Source/region IDs, not brand IDs (comma separated). |
from | query | No | Inclusive UTC-normalized RFC3339 kickoff bound. |
to | query | No | Exclusive RFC3339 kickoff bound. |
status | query | No | Stored fixture state. |
markets | query | No | Families: 1x2,total,asian_handicap. |
period | query | No | Market period. |
format | query | No | Display format; canonical decimal/native units remain unchanged. |
include_inactive | query | No | Explicitly include stale/suspended/unavailable retained quotes; invalid quotes remain excluded. |
line_quarters | query | No | Exact signed home-relative quarter line in group orientation. |
If-None-Match | header | No | Weak semantic ETag; freshness and access are revalidated before 304. |
Responses
| Status | Meaning |
|---|---|
| 200 | A typed page. Each successful data page costs one included credit, including explicit missing/insufficient states; account introspection is free. missing[] covers the full query. |
| 304 | Semantically unchanged after authentication and eligibility validation; always zero credits, including at exhausted quota. |
| 400 | Structured problem; see error handling. |
| 401 | Structured problem; see error handling. |
| 402 | Structured problem; see error handling. |
| 403 | Structured problem; see error handling. |
| 404 | Structured problem; see error handling. |
| 405 | Structured problem; see error handling. |
| 409 | Structured problem; see error handling. |
| 414 | Structured problem; see error handling. |
| 422 | Structured problem; see error handling. |
| 429 | Structured problem; see error handling. |
| 500 | Structured problem; see error handling. |
| 503 | Structured problem; see error handling. |
| 504 | Structured problem; see error handling. |
Authorizations
Headers
Weak semantic ETag; freshness and access are revalidated before 304.
Query Parameters
Explicit pilot namespace; numeric IDs are scoped to it.
Page size 1..100; default 25.
1 <= x <= 100Opaque query-bound cursor; restart on 409 after data changes.
Comma-separated namespace-scoped fixture/group IDs (max 25).
Comma-separated competition IDs.
Comma-separated sport IDs.
Source/region IDs, not brand IDs (comma separated).
Inclusive UTC-normalized RFC3339 kickoff bound.
Exclusive RFC3339 kickoff bound.
Stored fixture state.
scheduled, live, ended, cancelled Families: 1x2,total,asian_handicap.
Market period.
full_time, first_half Display format; canonical decimal/native units remain unchanged.
decimal, american Explicitly include stale/suspended/unavailable retained quotes; invalid quotes remain excluded.
Exact signed home-relative quarter line in group orientation.
Response
A typed page. Each successful data page costs one included credit, including explicit missing/insufficient states; account introspection is free. missing[] covers the full query.