Historical events
get_historical_eventsRetrieve finished events for a sport and league within a date range to get event IDs for historical odds lookup.
Instructions
Finished events for one sport and league in a date range (max 31 days; data from December 2025). Use the ids with get_historical_odds. To find a past match by team name use search_historical_events instead. Score periods use keys p1..pN, ft, ot and ap (older keys period1, overtime, penalties, fulltime stop on 12 November 2026).
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": "<sport>",
"league": "<league>",
"from": "<from>",
"to": "<to>"
},
"name": "get_historical_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date in RFC3339 format, at most 31 days after from | |
| from | Yes | Start date in RFC3339 format (e.g. '2026-01-01T00:00:00Z') | |
| sport | Yes | Sport slug from get_sports (e.g. 'football', 'basketball', 'tennis') | |
| fields | No | Optional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses. | |
| league | Yes | League slug from get_leagues (e.g. 'england-premier-league') | |
| maxResults | No | Optional cap on the number of items returned to you (applied after the API call). |