Sports closing prices and lines
sports_closing_linesEach bookmaker's last head-to-head price, handicap line and total before the start of every match in a range (default the last 7 days, at most 92), with the consensus close. For CLV and model training. Costs 5 credits. Plan: Standard and above.
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": {
"sport_key": "<sport_key>"
},
"name": "sports_closing_lines"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to_date | No | Matches starting on or before this. Default now. | |
| from_date | No | Matches starting on or after this. Default 7 days ago. | |
| sport_key | Yes | Sport key from sports_list, e.g. afl, nrl, nba or soccer_epl. An unknown key is answered with the valid ones. | |
| bookmakers | No | Only these bookmaker keys, e.g. ["tab", "sportsbet", "ladbrokes_au"]. Default: every book. An unknown key is refused free of charge with the list of valid keys. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The API response, with links and empty fields removed. |