Skip to content

History & Settlement Signals

Odds history

Historical odds changes from the ClickHouse change views. Hosts deployed without a ClickHouse connection return 502 with a clear message; the current-odds endpoints keep working.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

GEThttps://api.sportquanta.com/v1/{league}/games/{id}/odds/history
GETGet fixture odds line movement for a game
GET/v1/{league}/games/{id}/odds/history

Get fixture odds line movement for a game

Historical odds changes from the ClickHouse change views. Hosts deployed without a ClickHouse connection return 502 with a clear message; the current-odds endpoints keep working.

Requires the stats entitlement (a paid plan). See Responses & Errors for the success envelope and availability rules.

Authorization
Path
Query
Get fixture odds line movement for a gamecURL
200Example

Reference context: WKBL.

Overview · Response conventions

Authorizations

Authorizationstringheaderrequired

Send a workspace API token in the Authorization: Bearer <token> header.

Path Parameters

leagueenum<string>default:wkblrequired

League for this reference section: wkbl.

Available options: wkbl

idstringrequired

Query Parameters

marketstring
bookmakerstring
selectionstring
fromstring<date-time>
tostring<date-time>
limitintegerdefault:1000

Required range: x <= 5000

Response

application/json

Odds change rows, oldest first.

dataobjectrequired
data.itemsobject[] | nullrequired
data.items.changed_atstring<date-time>required
data.items.game_idstringrequired
data.items.player_idstring
data.items.marketstringrequired
data.items.periodstring
data.items.bookmakerstringrequired
data.items.selectionstringrequired
data.items.base_market_keystring
data.items.linenumber
data.items.price_decimalnumber

Decimal quoted odds, when available. Responses can retain both decimal and American prices; format is a hint and does not guarantee conversion or removal of the other field.

data.items.price_americaninteger

American quoted odds, when available (for example -110 or +150). Responses can retain both price formats; format is a hint and does not guarantee conversion or removal of the other field.

data.items.statusstringrequired
data.items.is_suspendedbooleanrequired
data.items.selected_source_idstring
data.items.selected_source_tierstring
data.items.fallback_activebooleanrequired
data.items.is_degraded_sourcebooleanrequired
_metaobject

Response request/cache metadata. Optional evidence fields are specific to this handler; cache TTL does not measure source-data freshness.

_meta.request_idstring
_meta.served_fromenum<string>

Available options: live, cache

_meta.cache_ttl_secondsinteger

Response cache TTL; independent of source freshness. Omitted when zero.