API keys and getting started
Where do I send my API key?
In theapiKey query parameter, with a capital K: ?apiKey=YOUR_API_KEY. Headers such as Authorization or X-API-Key are not read and return 401 MISSING_API_KEY. The key is a UUID such as 3f8a1c2e-9b47-4d6a-8e15-7c2b9d04a6f1. Send it exactly as shown in your account, hyphens included.
Does a new key work right away? Is there a test key?
The free plan is active as soon as you sign up, and the key in your account works at once. There is no sandbox: the free plan uses the same endpoints and data as a paid plan.Can I have more than one API key?
No, an account has one active key. If you refresh it, the old key stops working immediately.Can I call the API from a browser?
It works, but your key is then visible to everyone who opens the page. Call the API from your server and pass the data on.My key returns 401 on v5.oddspapi.io. Why?
The key from your dashboard is a v4 key and works on api.oddspapi.io/v4/.... v5 is a separate API with its own keys, URLs and response formats, so code samples for v5.oddspapi.io do not work with it. See v4 vs v5.
429 errors, rate limits and quota
I get a 429. What does it mean?
Two different limits answer with HTTP429. Look at error.code in the response body:
More under the two limits.
How fast can I call each endpoint?
Every endpoint has a rate limit: a minimum time between two calls. It is shown at the top of each endpoint page, and the full table is under rate limits. The fastest endpoints,/v4/odds and /v4/fixture, allow one call every 0.5 seconds.
The limit counts per API key and per endpoint, not per IP. A call to /v4/odds does not slow down /v4/fixtures, and the limits are the same on every self-serve plan.
I send requests in parallel and most of them fail with 429. Why?
Parallel calls to the same endpoint arrive inside the same rate limit window, so only the first one is served. Send calls to one endpoint one after another. Calls to different endpoints can run at the same time.Does a call cost more when I ask for more markets or bookmakers?
No. One call is one request, whatever comes back. There are no credits and no multipliers per market, bookmaker or region.Do rate-limited calls use my quota?
Yes. A call rejected with429 RATE_LIMITED still uses one request, so respect retryMs instead of retrying in a tight loop.
Is there a Retry-After or X-RateLimit header?
No. The wait time is in the response body (retryAfter and retryMs). Your remaining quota is in GET /v4/account: request_limit minus request_count.
How many requests do I have left, and when does the quota reset?
CallGET /v4/account. It is free and still works when your quota is used up.
- The free plan resets at 00:00 UTC on the 1st of every month.
- A paid plan resets at each renewal.
valid_untilon your subscription is the date.
Do unused requests carry over? Can I buy extra requests?
No to both. If you run out, you can move to a higher request tier on the pricing page. An upgrade applies immediately.Which calls are free?
/v4/account never uses quota. /v4/historical-odds does not use quota either, but it is refused once your quota is used up. Everything else uses one request per call. See requests and quota.
Plans and access (403 errors)
I get 403 Restricted bookmaker(s) or Restricted sport. Why?
Your plan does not include that bookmaker or sport. GET /v4/account lists what your key can access: the sports, the bookmaker slugs, and for each bookmaker whether live odds and player props are included.
I upgraded but still get 403.
A change on the website applies right away. IfGET /v4/account still shows the old plan after about 10 minutes, contact support with your account email.
Are the free plan’s bookmakers included when I buy a paid plan?
No. A paid plan contains only the bookmakers and sports you select at checkout.bookmakers=pinnacle returns 403.
On self-serve plans Pinnacle is available as pinnacle+30. URL-encode the plus sign: bookmakers=pinnacle%2B30. Real-time Pinnacle is part of the v5 API.
Are clone bookmakers included with the parent?
No. A clone (a bookmaker withcloneOf set in /v4/bookmakers) and its parent are separate slugs, and access is per slug. Their prices are the same.
Why are live odds or player props missing?
Both are options per bookmaker in your plan (has_live_odds, has_player_props). Without live odds, live events are left out or return 403. Without player props, those prices are left out without an error. Some bookmakers have no live odds at all: check liveOdds in /v4/bookmakers.
Odds data
How fresh are the odds?
A request returns the latest prices we hold. How quickly a change at the bookmaker reaches us differs per bookmaker: see the figures on the bookmakers page and the latency page. Your polling interval comes on top. Every plan gets the same prices at the same speed.Is the free plan slower or delayed?
No. Every plan gets the same prices at the same speed. The one exception on self-serve plans is Pinnacle, which is available aspinnacle+30 with a 30 second delay.
How do I know whether a price is stale?
CheckbookmakerIsActive on the bookmaker in the odds response. true means we are still collecting that bookmaker, so a price with an old changedAt is simply unchanged. false means the prices should not be relied on. The full logic is under data freshness.
What do changedAt and updatedAt mean?
changedAt on a price is when we last recorded a change to that price. The top-level updatedAt is the last change to the event record itself, not to the odds.
What does hasOdds mean?
That the event currently has odds from the bookmakers in your plan or in your bookmakers filter. It is always false for finished events. Their prices stay available through /v4/historical-odds.
Why do I get a 404 instead of an empty list?
Most empty results return404 with an error that explains why. Two exceptions return 200: /v4/odds-by-tournaments with an empty array, and /v4/odds with hasOdds: false.
What are the statusId values?
0 not started, 1 live, 2 finished, 3 cancelled.
Do IDs ever change?
No. AfixtureId identifies the same match across all bookmakers, and marketId and outcomeId values are fixed. For example, outcomes 101, 102 and 103 are home, draw and away on every bookmaker.
Which side is a handicap for?
Handicap values are stated from the side ofparticipant1 (the home side) and can be negative.
Is there a list of the markets each bookmaker offers?
The markets overview shows the market types per sport, and/v4/markets lists all markets. To see what one bookmaker prices, request the odds of an upcoming event and read the marketId keys.
Can I look up an event by a Betradar, Sofascore or Pinnacle ID?
There is no lookup endpoint. Events carryexternalProviders (on /v4/fixture and /v4/fixtures, and with verbosity=2 on the odds endpoints). Fetch the events and match on those fields.
/v4/odds-by-tournaments says “Invalid number of bookmakers specified”.
This endpoint takes exactly one bookmaker per call: bookmaker=<slug>. It accepts up to 5 league IDs, or 3 when the bookmaker is an exchange such as betfair-ex or polymarket.
Does v4 have futures, outrights or a WebSocket?
No. Those are part of the v5 API. See v4 vs v5.Historical odds
How far back does history go?
Historical odds are available for events from January 2026 onwards. Prices recorded more than about 75 days before the start are not included.Is every price change stored?
Yes, every change we detect is its own entry, oldest first. These are not snapshots taken every few minutes. An unchanged price creates no new entry.Can I download history in bulk?
No. History is read per event with/v4/historical-odds: 1 to 3 bookmakers per call, one call every 5 seconds. For an exchange (betfair-ex, polymarket), request that one bookmaker with exactly one outcomeId.
How do I get the closing line?
Take the last entry in/v4/historical-odds before the event started. Use trueStartTime as the cut when it is set, otherwise startTime.
Scores and settlements
When are settlements available?
Once the final score exists. Until then the result isUNDECIDED. For reliable results, wait about an hour after the end before you read /v4/settlements. Player props are not settled at the moment.
Is there a match clock?
No. The event hasstatusId, trueStartTime and trueEndTime. /v4/scores gives a score per period with its own startedAt.
When something is broken
I get a Cloudflare error 1010 instead of JSON.
Your HTTP client sends noUser-Agent header, which is common with Python’s urllib. Send a User-Agent that names your application, or use a client such as requests.
I get 403 “Your IP address has been blocked”.
Contact support and include your IP address and the time of the request.
I get a 500, or the API seems down.
Check the status page first. A single500 can be retried after a few seconds. If it keeps happening, contact support.