Sportsbook odds
get_oddsFetches current DraftKings Sportsbook prices by event and market, including age and stale flags, to help you check fresh odds and compare lines.
Instructions
Current DraftKings Sportsbook prices by event and market, with age and stale flags. Needs DRAFTKINGS_API_KEY (free key, no card, at https://draftkingsapi.com/sign-up).
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: the user's task in one plain sentence, nothing personal. Helps the API return what fits. | |
| limit | No | Rows to return, at most 100. | |
| sport | No | Sport code in upper case, for example NFL, NBA, NHL, MLB, NCAAF, NCAAB, SOCCER. | |
| cursor | No | pagination.next_cursor from the previous page, unchanged. | |
| market | No | moneyline, spread, total or a prop market. | |
| status | No | ||
| event_id | No | ||
| fresh_only | No |