Retained price changes for an event or offer
get_line_historyTrack how a DraftKings line has moved by event or offer ID, returning retained price changes with capture times, newest first. Use it to answer "how has this line moved" for a market.
Instructions
Every retained DraftKings (via ESPN) price change for one event or one offer, newest first, each with its capture time. Use it for "how has this line moved"; pass event_id or offer_id (one is required) from search_events or get_odds. Captured changes only, not a complete tick tape: gaps are not reconstructed. Needs GETODDS_API_KEY.
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_line_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return, 1 to 200 (default 25). | |
| market | No | Market: moneyline, spread or total. Omit for all three. | |
| event_id | No | One event_id from search_events or get_odds. Pass this or offer_id. | |
| offer_id | No | One offer_id from a get_odds row, to follow a single market side. |