Sportsbook price history
get_odds_historyRetrieve earlier captured DraftKings Sportsbook mainline quotes and capture times to chart how a price moved; use pagination and check coverage for start dates.
Instructions
Earlier captured DraftKings Sportsbook mainline quotes for an event or offer, each with its capture time, to chart how a price moved. Captures are periodic, not a complete open-to-close tape; check get_history_coverage for start dates. For the current price use get_odds. Paginate with cursor. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up); billed per row, see get_credit_costs.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_odds_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task | No | Optional, never a filter: the user's task in one plain sentence, with no personal data or secrets. Logged for 35 days to guide what the API builds next. | |
| limit | No | Rows to return, 1 to 100. Smaller pages cost fewer credits. | |
| sport | No | Sport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER. Omit for every sport. | |
| cursor | No | Opaque pagination.next_cursor from the previous page, passed unchanged. Omit for the first page. | |
| market | No | moneyline, spread or total. | |
| event_id | No | One event's event_id, from get_sportsbook_events or a previous row. | |
| offer_id | No | One offer's offer_id from a get_odds row, to follow a single market. |