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

  • 200 Enabled sites in your plan.
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
  • 200 Tracked leagues, by name.
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
leaguequerystringLeague id.
fromquerystringEarliest kick-off (inclusive). ISO 8601 date-time with offset, or a date.
toquerystringLatest kick-off (exclusive). ISO 8601 date-time with offset, or a date.
statusquerystringComma-separated statuses, or any. Default scheduled,live.
familyqueryFamilyStatistic family.
limitqueryinteger
cursorquerystringmeta.nextCursor from the previous page.
  • 200 One page of fixtures.
  • 400 Invalid parameters (invalid_request) or cursor (invalid_cursor).
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
fixturerequiredpathstringFixture id.
  • 200 The fixture.
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
fixturerequiredpathstringFixture id.
familyqueryFamilyStatistic family.
periodqueryinteger0 = full match, 1 = first half, 2 = second half.
includeClosedquerybooleanAlso return selections whose market is closed (price null).
formatqueryOddsFormatPrice format.
  • 200 Markets with their selections.
  • 400 Invalid parameters (invalid_request) or cursor (invalid_cursor).
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
fixturerequiredpathstringFixture id.
familyqueryFamilyStatistic family.
periodqueryinteger0 = full match, 1 = first half, 2 = second half.
includeClosedquerybooleanAlso return selections whose market is closed (price null).
formatqueryOddsFormatPrice format.
  • 200 Statistic markets by family and period.
  • 400 Invalid parameters (invalid_request) or cursor (invalid_cursor).
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
fixturerequiredpathstringFixture id.
familyqueryFamilyStatistic family.
sincequerystringEarliest change (inclusive), ISO 8601. Earlier values are cut to your history depth.
limitqueryinteger
cursorquerystringmeta.nextCursor from the previous page.
formatqueryOddsFormatPrice format.
  • 200 One page of price changes.
  • 400 Invalid parameters (invalid_request) or cursor (invalid_cursor).
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

ParameterInTypeDescription
siterequiredpathstringSite code, from GET /api/v1/sites. Today 1xbet.
selectionrequiredpathintegerSelection id, from /markets or /stats.
fromquerystringISO 8601 date-time with offset, or a date.
toquerystringISO 8601 date-time with offset, or a date.
limitqueryinteger
cursorquerystringmeta.nextCursor from the previous page.
formatqueryOddsFormatPrice format.
  • 200 One page of price points.
  • 400 Invalid parameters (invalid_request) or cursor (invalid_cursor).
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 404 Unknown site (site_not_found), fixture (fixture_not_found) or selection (selection_not_found) on this site.
  • 429 A 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

  • 200 The JSON-RPC response.
  • 202 Notification accepted.
  • 401 No key (missing_api_key), or an invalid or revoked key (invalid_api_key).
  • 402 The account has no active plan (no_active_plan).
  • 403 The plan does not include this site (site_not_in_plan), MCP access (feature_not_in_plan) or price history (history_not_in_plan).
  • 429 A per-minute limit or the daily quota was reached.