FixtureOdds API documentation

Bookmaker prices for football, with stat markets and every price change, over a JSON API and an MCP server. These guides cover what you need before the first request; the API reference lists every endpoint.

Quickstart

  1. Create an account and start the free 3-day trial, or pick a monthly plan.
  2. In the dashboard, create an API key and give it a name. It looks like fo_live_k3j9p2m7q4xa_… and is shown once, so store it somewhere safe.
  3. List the sites your plan covers. Each bookmaker is a separate API under its code; today that is 1xbet, so every path below starts with /api/v1/1xbet.
shell
curl https://fixtureodds.com/api/v1/sites   -H "Authorization: Bearer $FIXTUREODDS_KEY"

Then list a site’s upcoming fixtures, here only those with open fouls markets:

shell
curl "https://fixtureodds.com/api/v1/1xbet/fixtures?family=fouls"   -H "Authorization: Bearer $FIXTUREODDS_KEY"

Open one fixture. /markets returns every market the site lists for it, grouped by market; /stats returns only the stat markets, grouped by family and then by period:

shell
curl "https://fixtureodds.com/api/v1/1xbet/fixtures/ev_q7mxk2r4bt9a/stats"   -H "Authorization: Bearer $FIXTUREODDS_KEY"

Every selection carries a numeric id. Use it to pull that selection’s full price history, oldest change first:

shell
curl "https://fixtureodds.com/api/v1/1xbet/selections/48213907/history"   -H "Authorization: Bearer $FIXTUREODDS_KEY"

The same in Python and Node.js

fixtures.py
import os
import requests

BASE = "https://fixtureodds.com/api/v1"
SITE = "1xbet"  # a site code from GET /api/v1/sites
HEADERS = {"Authorization": f"Bearer {os.environ['FIXTUREODDS_KEY']}"}

fixtures = requests.get(f"{BASE}/{SITE}/fixtures", headers=HEADERS, timeout=10)
fixtures.raise_for_status()

for fx in fixtures.json()["data"]:
    markets = requests.get(
        f"{BASE}/{SITE}/fixtures/{fx['id']}/markets",
        params={"family": "fouls"},
        headers=HEADERS,
        timeout=10,
    ).json()["data"]
    print(fx["home"], "v", fx["away"], len(markets), "fouls markets")
fixtures.mjs (Node.js 20+, follows the cursor)
const base = "https://fixtureodds.com/api/v1";
const site = "1xbet"; // a site code from GET /api/v1/sites
const headers = { Authorization: `Bearer ${process.env.FIXTUREODDS_KEY}` };

let cursor = null;
do {
  const url = new URL(`${base}/${site}/fixtures`);
  if (cursor) url.searchParams.set("cursor", cursor);
  const res = await fetch(url, { headers });
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
  const { data, meta } = await res.json();
  for (const fx of data) console.log(fx.startsAt, fx.home, "v", fx.away);
  cursor = meta.nextCursor;
} while (cursor);

Prematch prices refresh about every 5 minutes, faster for matches we watch closely, so polling a fixture more often than that rarely returns anything new. Each fixture’s pricedAt says when its prices were last refreshed.

Authentication

Send your API key on every request, to the API and to the MCP server alike, as a bearer token or in the x-api-key header:

headers
Authorization: Bearer fo_live_k3j9p2m7q4xa_…
# or
x-api-key: fo_live_k3j9p2m7q4xa_…
  • An account can hold several keys. Name them by where they run, so you can revoke one without touching the others.
  • The dashboard shows when each key was last used. Revoked keys stop working at once.
  • Keys belong on servers and in notebooks, not in browser code or public repositories. Anyone holding a key spends your quota.
  • Your dashboard sign-in does not authorise API calls, and an API key does not open the dashboard.

A missing key returns 401 missing_api_key; a malformed or revoked one, 401 invalid_api_key. A valid key without an active plan gets 402 no_active_plan, and a request for a site, MCP or price history outside your plan gets 403.

Rate limits

Every plan has two limits, and both count API requests and MCP tool calls together. MCP initialize and tools/list messages are free.

  • Daily quota: requests per account per UTC day. It resets at 00:00 UTC.
  • Per-minute limit: caps bursts, so one loop cannot spend the day’s quota in a minute.

Each response carries the state of your daily quota:

HeaderMeaning
X-RateLimit-LimitRequests your plan allows per UTC day.
X-RateLimit-RemainingRequests left today.
X-RateLimit-ResetWhen the quota resets, as Unix time in seconds.
response headers
HTTP/1.1 200 OK
Content-Type: application/json
X-RateLimit-Limit: 20000
X-RateLimit-Remaining: 18341
X-RateLimit-Reset: 1796515200

Over either limit, the API answers 429 Too Many Requests with a Retry-After header in seconds. The body names the limit you reached in scope: minute or day.

429 response
HTTP/1.1 429 Too Many Requests
Retry-After: 12
X-RateLimit-Limit: 20000
X-RateLimit-Remaining: 18342
X-RateLimit-Reset: 1796515200

{
  "error": {
    "code": "rate_limited",
    "message": "Per-minute limit reached.",
    "scope": "minute",
    "retryAfter": 12
  }
}

Wait for Retry-After before retrying. Retrying sooner is refused and still counts towards the per-minute limit. Plan limits are listed on the pricing page.

Responses and errors

Every site returns the same envelope: data holds the result and meta says where it came from. Below, the fouls markets of one fixture; each market holds selections[].

GET /api/v1/1xbet/fixtures/ev_q7mxk2r4bt9a/markets?family=fouls
{
  "data": [
    {
      "name": "Fouls. Total",
      "family": "fouls",
      "period": 0,
      "isCombo": false,
      "selections": [
        {
          "id": 48213907,
          "name": "Over",
          "line": 24.5,
          "price": 1.83,
          "blocked": false,
          "updatedAt": "2026-12-05T14:52:07Z"
        },
        {
          "id": 48213908,
          "name": "Under",
          "line": 24.5,
          "price": 1.95,
          "blocked": false,
          "updatedAt": "2026-12-05T14:52:07Z"
        }
      ]
    }
  ],
  "meta": {
    "site": "1xbet",
    "fixture": "ev_q7mxk2r4bt9a",
    "format": "decimal",
    "count": 10
  }
}

Fields worth knowing

  • Market and selection names stay as the bookmaker writes them. Do not match on them across sites.
  • family tags the stat markets we recognise: fouls, offsides, shots, shots_on_target, corners and yellow_cards. Other markets have null.
  • period is 0 for the full match, 1 for the first half and 2 for the second. isCombo marks combination markets, included when your plan has them.
  • price is null when the market is closed (add includeClosed=true to see those), and blocked: true means the bookmaker has suspended the selection.
  • IDs: fixtures (ev_) and leagues (lg_) have stable string ids; selections have numeric ids. Treat them as opaque.
  • Pages: long lists return meta.nextCursor. Repeat the request with cursor=<nextCursor> until it is null.
  • Times are ISO 8601 in UTC.

Errors

Errors share one shape on every endpoint: an error object with a machine-readable code and a sentence for people in message.

404 response
{ "error": { "code": "fixture_not_found", "message": "No fixture ev_q7mxk2r4bt9a on this site." } }
StatusCodesWhen
400invalid_request
invalid_cursor
A parameter or cursor is wrong.
401missing_api_key
invalid_api_key
No key, or a malformed or revoked one.
402no_active_planThe account has no active plan.
403site_not_in_plan
feature_not_in_plan

history_not_in_plan
The plan does not include this site, MCP or price history.
404site_not_found
fixture_not_found

selection_not_found
Unknown site, or nothing with that id on it.
429rate_limitedPer-minute limit or daily quota reached. See Retry-After.

A 5xx response is our fault: retry with exponential backoff.

Odds formats

Prices are decimal by default, as numbers. Add format=american or format=fractional to any endpoint that returns prices, history included, and they come back as strings; meta.format confirms which you got.

formatExampleType
decimal (default)1.857number
american"-117"string
fractional"6/7"string

Decimal is the exact form we store; use it for modelling and convert for display. A closed market is null in every format.