GET /odds
get_oddsThe API's /odds endpoint, answered as the API answers: prematch and live fixtures ("status"), each with its odds by feed. "1x2" is [home, draw, away]; "ah" and "ou" carry their lines and a price list per side; odds are decimal, null is a side without a price, times are Unix milliseconds. Ask for the fixtures you need with "fixture": without it (and without "since") it is a full request, which the API allows once a minute, and every fixture with every feed is far more than the 48 kB an answer is cut to. With "since", only the fixtures changed since then come, and "removed" lists the ids to drop.
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_odds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | The "ts" of your last answer (Unix milliseconds, at most a minute old). Not with the demo key. | |
| league | No | Only these leagues (ids from get_leagues). | |
| market | No | Only these markets. Default: all. | |
| status | No | Prematch fixtures, live ones (in play) or both. Default: both. | |
| fixture | No | Only these fixtures (ids from get_fixtures or find_fixtures). | |
| bookmaker | No | Only these feeds. Default: all. |