Bookmaker id mappings
get_mappingsMap events and selections to a bookmaker's event, market, and outcome IDs so you can join them with odds data; query by event, market, or outcome ID, or bulk-sync upcoming and live events.
Instructions
Map our events and selections to a bookmaker's own event, market and outcome ids (for example Polymarket conditionId and token id, or Kalshi tickers), joinable to get_odds on (eventId, market, hdp, side). Look up by eventId(s), marketId(s) or outcomeId; with none of these it is a bulk sync of upcoming and live events, paged with cursor until nextCursor is null. Paid plans; the bookmaker must be in the key's selection.
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": {
"bookmaker": "<bookmaker>"
},
"name": "get_mappings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Bulk sync only: rows per page, 1-5000 (default 1000) | |
| sport | No | Bulk sync only: sport slug | |
| active | No | true or false; both when omitted | |
| cursor | No | Bulk sync only: nextCursor from the previous page | |
| fields | No | Optional comma-separated top-level fields to keep on each item (e.g. 'id,home,away,date,status'). Trims large responses. | |
| league | No | Bulk sync only: league slug, requires sport | |
| market | No | Exact market name as in get_odds, case-sensitive | |
| eventId | No | One of our event ids | |
| eventIds | No | Up to 10 comma-separated event ids | |
| marketId | No | The bookmaker's market id | |
| bookmaker | Yes | Bookmaker name (e.g. 'Polymarket', 'Kalshi') | |
| marketIds | No | Up to 10 comma-separated bookmaker market ids | |
| outcomeId | No | The bookmaker's outcome id (for Kalshi pass marketId too) |