Sportsbook odds
get_oddsRetrieve current DraftKings Sportsbook prices by event and market, including American and decimal odds, capture age, stale flags, and cursor pagination for checking live prices.
Instructions
Latest captured DraftKings Sportsbook prices (American and decimal odds) by event and market, each row with capture time, age and a stale flag. Use it for the current price; use get_odds_history for earlier prices, get_compare_books to see other books on the same line. 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"
}
}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, total or a player prop market name. | |
| status | No | Game state: pre (not started), in (live), post (final). Omit for all. | |
| event_id | No | One event's event_id, from get_sportsbook_events or a previous row. | |
| fresh_only | No | true drops rows whose capture is older than the freshness window (each row carries age and stale flags). |