API reference
Every endpoint of the FixtureOdds API, generated from its OpenAPI description (version 1.0.0). Guides with worked examples are in the docs.
FixtureOdds serves the odds bookmakers publish for football matches, with a focus on statistic markets (fouls, offsides, shots, shots on target, corners, cards), and how those prices moved over time. It is a data product for analysis and modelling.
Sites. Each bookmaker is its own API under /api/v1/{site}, where {site} is its code. Today there is one site, 1xBet, with the code 1xbet: its fixtures are at /api/v1/1xbet/fixtures. GET /api/v1/sites lists the site codes your plan covers. Market and selection names are given exactly as the bookmaker writes them; the JSON shape is the same for every site.
Authentication. Send your API key as Authorization: Bearer fo_live_… or as the x-api-key header.
Envelope. Successful responses are { "data": …, "meta": { … } }. Errors are { "error": { "code": "…", "message": "…" } }.
Identifiers. Fixtures (ev_…) and leagues (lg_…) have stable public ids. Selections have numeric ids.
Prices. Decimal odds by default (1.857). Pass format=american ("-117") or format=fractional ("6/7") on endpoints that return prices. null means the market is closed; blocked: true means the bookmaker has suspended it.
Quota. Plans have a per-minute limit and a daily quota (UTC day). Every authenticated response carries X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset for the daily quota. When a limit is reached the API answers 429 with Retry-After and { "error": { "code": "rate_limited", "scope": "minute" | "day", "retryAfter": seconds } }.
Pagination. List endpoints that can be long return meta.nextCursor. Repeat the same request with cursor=<nextCursor> until it is null.
MCP. Agents can use the same data through the MCP endpoint POST /mcp (Streamable HTTP, stateless), with the same API key. Each tool call counts as one request.
Sites
GET/api/v1/sites
List the sites your plan covers.
Auth: API key as Bearer token or x-api-key header
200Enabled sites in your plan.401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).429A per-minute limit or the daily quota was reached.
GET/api/v1/{site}/leagues
List the leagues tracked on a site.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
200Tracked leagues, by name.401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
Fixtures
GET/api/v1/{site}/fixtures
List fixtures.
Fixtures ordered by kick-off time, then id. Without status, lists matches that are scheduled or in play. Pre-match listings are always included; live listings only when your plan includes live data and live collection is on.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
league | query | string | League id. |
from | query | string | Earliest kick-off (inclusive). ISO 8601 date-time with offset, or a date. |
to | query | string | Latest kick-off (exclusive). ISO 8601 date-time with offset, or a date. |
status | query | string | Comma-separated statuses, or any. Default scheduled,live. |
family | query | Family | Statistic family. |
limit | query | integer | |
cursor | query | string | meta.nextCursor from the previous page. |
200One page of fixtures.400Invalid parameters (invalid_request) or cursor (invalid_cursor).401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
GET/api/v1/{site}/fixtures/{fixture}
Get one fixture.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
fixturerequired | path | string | Fixture id. |
200The fixture.401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
Prices
GET/api/v1/{site}/fixtures/{fixture}/markets
Current prices, grouped by market.
Every selection of the fixture with its current price, grouped by market in the bookmaker's order. A market is identified by its name, period, family and whether it is a combination. Combination markets are included only when your plan includes them.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
fixturerequired | path | string | Fixture id. |
family | query | Family | Statistic family. |
period | query | integer | 0 = full match, 1 = first half, 2 = second half. |
includeClosed | query | boolean | Also return selections whose market is closed (price null). |
format | query | OddsFormat | Price format. |
200Markets with their selections.400Invalid parameters (invalid_request) or cursor (invalid_cursor).401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
GET/api/v1/{site}/fixtures/{fixture}/stats
Current prices of the statistic markets.
The same selections as /markets, restricted to statistic markets (those with a family), grouped by family and then by period.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
fixturerequired | path | string | Fixture id. |
family | query | Family | Statistic family. |
period | query | integer | 0 = full match, 1 = first half, 2 = second half. |
includeClosed | query | boolean | Also return selections whose market is closed (price null). |
format | query | OddsFormat | Price format. |
200Statistic markets by family and period.400Invalid parameters (invalid_request) or cursor (invalid_cursor).401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
History
GET/api/v1/{site}/fixtures/{fixture}/history
Price changes of a fixture.
Every price change of the fixture's selections, oldest first, from since (default and earliest: the start of your plan's history depth). Paginated.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
fixturerequired | path | string | Fixture id. |
family | query | Family | Statistic family. |
since | query | string | Earliest change (inclusive), ISO 8601. Earlier values are cut to your history depth. |
limit | query | integer | |
cursor | query | string | meta.nextCursor from the previous page. |
format | query | OddsFormat | Price format. |
200One page of price changes.400Invalid parameters (invalid_request) or cursor (invalid_cursor).401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
GET/api/v1/{site}/selections/{selection}/history
Price history of one selection.
The selection's price changes, oldest first, between from (inclusive) and to (exclusive). from defaults to, and cannot go earlier than, the start of your plan's history depth. Paginated.
Auth: API key as Bearer token or x-api-key header
| Parameter | In | Type | Description |
|---|---|---|---|
siterequired | path | string | Site code, from GET /api/v1/sites. Today 1xbet. |
selectionrequired | path | integer | Selection id, from /markets or /stats. |
from | query | string | ISO 8601 date-time with offset, or a date. |
to | query | string | ISO 8601 date-time with offset, or a date. |
limit | query | integer | |
cursor | query | string | meta.nextCursor from the previous page. |
format | query | OddsFormat | Price format. |
200One page of price points.400Invalid parameters (invalid_request) or cursor (invalid_cursor).401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).404Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.429A per-minute limit or the daily quota was reached.
MCP
POST/mcp
MCP endpoint for agents.
Model Context Protocol over Streamable HTTP, stateless (no session id). Send JSON-RPC messages with Accept: application/json, text/event-stream. Requires a plan with MCP access. Tools: list_sites, list_fixtures, find_fixture, get_markets, get_stats, get_price_history. Each tools/call counts as one request against your quota; initialize and tools/list do not. GET and DELETE answer 405.
Auth: API key as Bearer token or x-api-key header
Request body: application/json: object
200The JSON-RPC response.202Notification accepted.401No key (missing_api_key), or an invalid or revoked key (invalid_api_key).402The account has no active plan (no_active_plan).403The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).429A per-minute limit or the daily quota was reached.