The Odds API is a JSON API with live and historical odds from 100+ bookmakers across the US, UK, EU, Australia and Canada. According to its v4 documentation, you start in three steps: get an API key by email, call the sports endpoint to list in-season sports, then use a sport key to request upcoming events and odds from different bookmakers.
Before you start
The free Starter plan gives 500 credits a month. Paid plans are 20K ($30 a month), 100K ($59), 5M ($119) and 15M ($249), billed monthly in USD. Historical odds are only on paid plans. See the The Odds API listing for details.
Step 1: Get an API key
The docs say you get a key by email after choosing a plan. Every request needs it, either as the apiKey query parameter or in the x-api-key header. All requests use the host https://api.the-odds-api.com.
Step 2: List in-season sports
“ GET /v4/sports?apiKey={apiKey} “
This returns sport objects such as americanfootball_nfl or basketball_nba. Add all=true to include out-of-season sports. According to the docs, this endpoint doesn’t count against your usage quota.
Step 3: Request odds
Use a sport key with the odds endpoint, choosing regions and markets:
“ GET /v4/sports/americanfootball_nfl/odds?regions=us&oddsFormat=american&apiKey={apiKey} “
regions decides which bookmakers come back, for example us, us2, uk, au or eu; you can request several. oddsFormat returns decimal or American odds. The main odds endpoint covers the popular markets: head-to-head (moneyline), spreads and totals. For other markets, such as player props, the docs point to the event odds endpoint, which returns one event at a time.
Step 4: Watch your credit costs
For the odds endpoint, the docs give the cost as the number of markets multiplied by the number of regions: one market and one region costs 1 credit, and one market across us,uk,eu costs 3. Each response includes headers with your credits remaining, credits used since the last reset and the cost of the last call (x-requests-remaining, x-requests-used, x-requests-last).
Step 5: Get scores and historical odds
The scores endpoint returns upcoming, live and recently completed games, with scores up to 3 days back for selected sports; the docs say live scores update about every 30 seconds. The historical odds endpoint returns a snapshot at a given timestamp, with data from June 6, 2020 at 10-minute intervals and 5-minute intervals from September 2022. It’s only on paid plans.
Tips from the docs
- Send
Accept-Encoding: gzipto receive compressed responses; the docs say JSON typically shrinks by 80 to 90%. - The API is described in an OpenAPI spec, which the docs suggest giving to an AI coding assistant.
- Excel and Google Sheets add-ons are available for spreadsheet users.
Limits to know
- Historical odds aren’t on the free plan.
- The free plan covers “most bookmakers”, not all.
- Credit cost grows with each region and market you request.
Related
- The Odds API listing
- The Odds API alternatives
- PinnFeed vs The Odds API
- Best sports odds API
- Odds API pricing compared
Sources
https://the-odds-api.com/liveapi/guides/v4/(v4 documentation), checked 2026-11-21https://the-odds-api.com(plans)https://the-odds-api.com/historical-odds-data/