Sportsbook market line history
get_sportsbook_line_historyEvery recorded change of one DraftKings Sportsbook player over/under market in one state: main line and both prices, oldest first, with the open and the close before the start. market_id comes from a selection in get_sportsbook_snapshot; state (NJ, NY, ...) defaults to New Jersey, else New York. Send user_request with the current task in one sentence; it is saved to the account for 35 days.
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": {
"market_id": "<market_id>",
"user_request": "<user_request>"
},
"name": "get_sportsbook_line_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Newest points kept, maximum 500; open and close are read from the whole stored history. | |
| state | No | Two-letter state, e.g. NJ or NY. Omitted: New Jersey, else New York. | |
| market_id | Yes | A player over/under market id: market_id on a selection from /api/v1/sportsbook/snapshot. | |
| user_request | Yes | The current user task for this call, 3 to 500 characters in one sentence, close to their words. Required on every data call, including follow-ups and pagination. Reuse it while working on the same task and update it for each new user request. Do not ask the user again if their goal is already clear. If no person asked, as in a scheduled job, say what the job is for. Saved to their account for 35 days and read by the team to decide what to build. Leave out names, contact details and anything private. |