Historical odds
historyRead historical odds as a snapshot at a specified time or a UTC day's opening and closing prices by sport and region, with paged results and token-priced calls.
Instructions
Reads historical odds for one sport: the raw board as it stood at a time you name (kind snapshot), or a UTC day's opening and closing prices (kind closing). Serves every region, one region code a call: the UK & Ireland (uk) from 17 October 2026, with exchange prices beside the bookmakers'; each other region from 16 November 2026, bookmakers only. A date outside the archive is refused with date_out_of_range and the earliest or latest date it holds. A day is added the night after it ends, so read today's prices with raw_odds. Spends tokens: priced first, and refused when it would cost more than max_tokens. Paged: pass next_cursor back as cursor within five minutes; each page is priced.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"kind": "<kind>",
"date": "<date>",
"sport": "<sport>"
},
"name": "history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | snapshot: a time, ISO 8601, such as 2026-11-16T12:00:00Z. closing: a UTC day, YYYY-MM-DD | |
| kind | Yes | snapshot: the board at one time. closing: one day's opening and closing prices | |
| limit | No | Most events to return; a note counts the rest | |
| sport | Yes | Which sport: a sport key or the start of one, such as soccer | |
| cursor | No | next_cursor from the previous reply, with the same other arguments | |
| region | No | One region code from the regions tool, such as uk or us. Left out, the API uses uk, or refuses with region_required and names the code to send. | |
| markets | No | Only these market keys, such as h2h | |
| exchanges | No | Only these exchange keys (region uk) | |
| bookmakers | No | Only these bookmaker keys | |
| max_tokens | No | Refuse the call when its quoted price is above this many tokens. Ask the user before raising it. | |
| bookmakers_only | No | true: leave the exchanges out |