REST · JSON · OpenAPI 3

Sports Betting Odds API — Live and Historical

20 sportsbooks. 6 leagues. 15 endpoints, documented with an OpenAPI 3 spec you can call straight from the docs page. Current lines, opening and closing prices, best available, alternate spreads and totals, player and team props, and the full movement history of a single game or of an entire time window. Recorded continuously since January 2024, as individual price observations rather than a daily snapshot.

1,500 free credits a month. No credit card. Keys are hashed, revocable and rate limited.

Every response carries X-Credits-Cost, X-Credits-Remaining and X-RateLimit headers, so a client can stay under budget without asking.

20Sportsbooks
6Leagues
15Endpoints
5Free to call
220,000,000Prices recorded
January 2024History from

Endpoints and what they cost

Credits are per call, and the cost is printed here, in the OpenAPI description of the operation itself, and in the X-Credits-Cost header of every response — all three generated from the same table, so they cannot disagree. Metadata is free: exploring the API should not spend your allowance.

Metadata

Free to call, cached for five minutes, and identical for every caller. Use these to discover the league and book codes the odds endpoints take.

MethodEndpointReturnsCost
GET /api/v1/books List sportsbooks Free
GET /api/v1/offer-types List market/offer types Free
GET /api/v1/sports List sports with odds coverage Free
GET /api/v1/sports/{sport}/teams List teams for a sport Free

Odds

Current prices, derived views over an event, and full movement history.

MethodEndpointReturnsCost
GET /api/v1/events/{sport}/{event_id} Single event with current odds across books 1 credit
GET /api/v1/odds/latest Latest odds by sport (supports updated_since deltas) 1 credit
GET /api/v1/events/{sport}/{event_id}/alts Alternate spread/total lines for an event 2 credits
GET /api/v1/events/{sport}/{event_id}/best Best available price per book before a cutoff 2 credits
GET /api/v1/events/{sport}/{event_id}/closing Closing odds per book before a cutoff 2 credits
GET /api/v1/events/{sport}/{event_id}/opening Earliest recorded odds per book 2 credits
GET /api/v1/events/{sport}/{event_id}/odds Full odds movement for one event 5 credits
GET /api/v1/odds/history All odds movement in a time window (paginated) 10 credits

Props

Player and team markets, by league or for a single event.

MethodEndpointReturnsCost
GET /api/v1/events/{sport}/{event_id}/props Team and player props for an event 2 credits
GET /api/v1/props/{sport} Latest player props by sport and prop type 2 credits

Account

Your own balance, plan and rate limits.

MethodEndpointReturnsCost
GET /api/v1/account/usage Credit balance and plan status Free

Credits reset on the first of the month, UTC. A 429 or a 402 tells you which limit you hit, and the response body says so in plain words rather than making you decode an error code.

A real response, from a minute ago

Not a fixture. This block is generated by calling the API's own odds service when the page is built, cached for ten minutes, and trimmed only so it fits here.

GET /api/v1/odds/latest?sport=nba&limit=3 November 24, 2026 at 06:22 UTC
SAS vs SAC Nov 24, 2026 03:00 UTC
spread
Bet365 SAC 8.5 -112
Bally's SAC 13.5 -113
Bet365 SAS -8.5 -108
Bally's SAS -13.5 -129
total
Bet365 Over 223.5 -112
Bally's Over 232.5 -110
Bet365 Under 223.5 -108
Bally's Under 232.5 -130
moneyline
Bet365 SAC — +240
Bally's SAC — +1900
Bet365 SAS — -300
Bally's SAS — -1430
UTA vs LAL Nov 24, 2026 03:00 UTC
spread
Bet365 LAL -13.5 -110
Bally's LAL -17.5 -106
Bet365 UTA 13.5 -110
Bally's UTA 17.5 -139
total
Bet365 Over 225.5 -105
Bally's Over 208.5 -132
Bet365 Under 225.5 -115
Bally's Under 208.5 -109
moneyline
Bet365 LAL — -800
Bally's LAL — -385
Bet365 UTA — +550
Bally's UTA — +2000
DET vs ORL Nov 25, 2026 00:00 UTC
spread
Bet365 DET -1.5 -115
Bally's DET -1.5 -110
Bet365 ORL 1.5 -105
Bally's ORL 1.5 -112
total
Bet365 Over 213.5 -111
Bally's Over 212.5 -115
Bet365 Under 213.5 -109
Bally's Under 212.5 -107
moneyline
Bet365 DET — -128
Bally's DET — -125
Bet365 ORL — +108
Bally's ORL — +104

3 upcoming NBA games from that call, trimmed to 2 books per side per market so the block fits here. The JSON below is verbatim apart from the same trimming of its odds array - a real response carries every book and market you ask for.

And the JSON that came back

GET /api/v1/odds/latest?sport=nba&limit=1
{
  "sport": "nba",
  "events": [
    {
      "event_id": "202611230SAC",
      "sport": "nba",
      "team1": "SAS",
      "team2": "SAC",
      "start_date": "2026-11-23T22:00:00-05:00",
      "odds": [
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "SAC",
          "line": 8.5,
          "american_odds": "-112",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "-105",
          "open_line": 10.5,
          "offer_type": "s",
          "market": "spread"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "SAC",
          "line": 13.5,
          "american_odds": "-113",
          "ts": 1795496419,
          "timestamp": "2026-11-24T05:00:19Z",
          "open_american_odds": "-118",
          "open_line": 11.5,
          "offer_type": "s",
          "market": "spread"
        },
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "SAS",
          "line": -8.5,
          "american_odds": "-108",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "-115",
          "open_line": -10.5,
          "offer_type": "s",
          "market": "spread"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "SAS",
          "line": -13.5,
          "american_odds": "-129",
          "ts": 1795496419,
          "timestamp": "2026-11-24T05:00:19Z",
          "open_american_odds": "-105",
          "open_line": -11.5,
          "offer_type": "s",
          "market": "spread"
        },
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "Over",
          "line": 223.5,
          "american_odds": "-112",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "-109",
          "open_line": 224.5,
          "offer_type": "t",
          "market": "total"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "Over",
          "line": 232.5,
          "american_odds": "-110",
          "ts": 1795497610,
          "timestamp": "2026-11-24T05:20:10Z",
          "open_american_odds": "-108",
          "open_line": 225.5,
          "offer_type": "t",
          "market": "total"
        },
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "Under",
          "line": 223.5,
          "american_odds": "-108",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "-111",
          "open_line": 224.5,
          "offer_type": "t",
          "market": "total"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "Under",
          "line": 232.5,
          "american_odds": "-130",
          "ts": 1795497610,
          "timestamp": "2026-11-24T05:20:10Z",
          "open_american_odds": "-115",
          "open_line": 225.5,
          "offer_type": "t",
          "market": "total"
        },
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "SAC",
          "line": null,
          "american_odds": "+240",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "+375",
          "offer_type": "ml",
          "market": "moneyline"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "SAC",
          "line": null,
          "american_odds": "+1900",
          "ts": 1795495815,
          "timestamp": "2026-11-24T04:50:15Z",
          "open_american_odds": "+380",
          "offer_type": "ml",
          "market": "moneyline"
        },
        {
          "book": "b365",
          "book_name": "Bet365",
          "team": "SAS",
          "line": null,
          "american_odds": "-300",
          "ts": 1795492837,
          "timestamp": "2026-11-24T04:00:37Z",
          "open_american_odds": "-500",
          "offer_type": "ml",
          "market": "moneyline"
        },
        {
          "book": "blys",
          "book_name": "Bally's",
          "team": "SAS",
          "line": null,
          "american_odds": "-1430",
          "ts": 1795494602,
          "timestamp": "2026-11-24T04:30:02Z",
          "open_american_odds": "-560",
          "offer_type": "ml",
          "market": "moneyline"
        }
      ]
    }
  ],
  "count": 1
}

Read the spec, then call it from the browser

The documentation is a Swagger UI sandbox served from the API itself. Every operation lists its parameters, its response schema and its credit cost, and “Try it out” sends a real request with your key — no Postman collection to import, no separate docs site to fall out of date.

Loaded on click, because a few hundred kilobytes of Swagger UI should not be downloaded by every crawler that reads this page. Prefer the raw thing? It is /api/v1/openapi.json, and /api/v1/docs opens it full page.

Code you can paste

These work as printed. Swap in your own and they are the whole integration — there is no SDK to install and no client library to keep updated.

cURL
curl -H "X-API-Key: ozk_your_key_here" \
     "https://oddize.com/api/v1/odds/latest?sport=nba&limit=5"

What is in the archive

The dates below are read out of the odds table, not written down — the earliest and latest observation for each league, as of the last time this page was built.

LeagueHistory fromLatest observationProp marketsExamples
MLBMarch 2024 2026-10-31 6 Pitcher Strikeouts, Hits, Total Bases
NBAJanuary 2024 2026-11-23 8 Points, Rebounds, Assists
NFLJanuary 2024 2026-11-23 7 Passing Yards, Rushing Yards, Receiving Yards
NCAA Basketball (Men)February 2024 2026-11-23 6 Points, Rebounds, Assists
NCAA FootballAugust 2024 2026-11-23 6 Passing Yards, Rushing Yards, Receiving Yards
NHLOctober 2025 2026-11-23 5 Goals, Shots on Goal, Points

“Latest observation” moves constantly; it is the newest timestamp in the archive for that league, which is today for anything in season and the end of the season for anything that is not.

The same data behind Oddize's analytics

This is not a feed built only for the API. The odds above are the same ones that drive Oddize's live computer picks and the sharp-vs-square ranking of every sportsbook we track — so the prices you pull programmatically are the prices our models bet against, and the book-level sharpness you can see on the site is measured from the very records this API serves.

Books and markets

20 sportsbooks

The code in brackets is what you pass to books= to filter a response down to the ones you care about. Leave it off and you get all of them.

  • Bally'sblys
  • Bet365b365
  • BetMGMmgm
  • BetOnlineAGboag
  • BetRiversbriv
  • Bovadabov
  • Caesarsczr
  • Circacirca
  • DraftKingsdk
  • FanDuelfd
  • Golden Nuggetgnug
  • Hard Rockhrb
  • NoVignovig
  • Parxparx
  • Pinnaclepin
  • PointsBetpb
  • Polymarketpoly
  • ProphetXphtx
  • Smarketssmkt
  • theScore Betespn

Main markets

CodeMarketWhat it is
sspreadPoint spread (handicap)
ttotalGame total (over/under)
mlmoneylineMoneyline / outright winner
rlrun_lineRun line (baseball fixed -1.5/+1.5 spread)
ttteam_totalTeam total (one side only)

Alternate lines

CodeMarketWhat it is
alt_salt_spreadAlternate point spread
alt_talt_totalAlternate total

Plus 33 player and team prop markets, which vary by league — see the coverage table above for the count per sport, and GET /api/v1/offer-types for the authoritative list.

Pricing

One allowance, spent across every endpoint, priced by how expensive the call is to serve. No per-book multipliers, no separate charge for history, no overage surprise at the end of the month — when you run out you get a 402 until the period resets or you move up a tier.

API plans are billed separately from the Oddize UI subscription. An API tier does not include site access and a site subscription does not include API credits.

Developer

Free

1,500 credits / month · 30 req/min

Enough to build and test an integration against live and historical odds.

  • 1,500 credits per month
  • 30 requests per minute
  • Live and historical odds, 6 leagues
  • 20 sportsbooks
  • Main lines, alternates and props
  • Interactive sandbox and OpenAPI 3 spec
  • One key

Starter

$29/month

250,000 credits / month · 300 req/min

For hobbyist models and small tools that poll live odds regularly.

  • 250,000 credits per month
  • 300 requests per minute
  • Everything in Developer
  • updated_since delta polling
  • Up to 5 keys
  • Email support

Pro

$99/month

2,000,000 credits / month · 600 req/min

For serious modeling pipelines pulling full movement history.

  • 2,000,000 credits per month
  • 600 requests per minute
  • Everything in Starter
  • Bulk historical range extraction
  • Up to 20 keys
  • Priority support

Elite

$349/month

10,000,000 credits / month · 1,200 req/min

For commercial consumers needing the full archive and high throughput.

  • 10,000,000 credits per month
  • 1,200 requests per minute
  • Everything in Pro
  • Unlimited keys
  • IP allowlisting
  • Direct support channel

Need something bigger than Elite, a custom retention window, or a bulk archive dump instead of an API? Email [email protected] and a human answers.

Frequently asked questions

What is the Oddize odds API?

A REST API for sports betting odds, live and historical. It serves prices from 20 sportsbooks across 6 leagues (MLB, NBA, NFL, NCAA Basketball (Men), NCAA Football, NHL), as JSON over HTTPS with an OpenAPI 3 spec and an interactive sandbox. There are 15 endpoints: current odds, opening and closing lines, best available price, alternate spreads and totals, player and team props, and full odds movement for one event or for an entire time window.

What makes the Oddize odds API different?

We record every price as an individual observation rather than a daily snapshot, so the archive keeps the full line movement of a game and the closing line value you can measure a bet against, going back to January 2024. That runs across 20 sportsbooks including sharp market-makers such as Pinnacle and Circa that many feeds leave out, and the same feed powers our live analytics and computer picks. A free tier with no card gets you building against it immediately.

How do credits work?

Every call costs credits, and the cost is printed next to each endpoint in the table above and in the OpenAPI description of the operation itself. 5 endpoints are free, including all the metadata ones and checking your own balance. Paid calls cost between 1 and 10 credits: 1 for current odds, more for derived views over a single event, and 10 for bulk historical extraction, which is the only endpoint class that can pull large parts of the archive in one call. Credits reset on the first of the month, UTC.

What does the Oddize odds API cost?

It starts free: a no-card tier with 1,500 credits a month, enough to build and test a real integration. Paid tiers run $29 to $349 a month with larger credit allowances and higher requests-per-minute limits. 5 endpoints cost nothing on any plan, and the exact credit price of every endpoint is printed next to it in the table above, so you can cost an integration before you write a line of code.

How far back does the historical odds data go?

Coverage starts in January 2024 and runs continuously to the present, with every price observation we recorded rather than a daily snapshot. The archive holds over 220,000,000 individual price observations. Query one event's full movement with GET /api/v1/events/{sport}/{event_id}/odds, or a whole time window with GET /api/v1/odds/history, which is cursor paginated so a deep page costs the same as a shallow one.

How do I poll for only the odds that changed?

Store the newest ts you received and pass it back as updated_since on GET /api/v1/odds/latest. You then get only the games whose odds actually moved since your last poll, which on a typical slate is a small fraction of it. It is the single largest saving available to a consumer that polls on an interval, and it costs the same 1 credit as an unfiltered call.

Which sportsbooks and leagues are covered?

20 books, including DraftKings, FanDuel, BetMGM, Caesars, Pinnacle, Circa, Bet365, PointsBet, Polymarket and Smarkets, across 6 leagues: MLB, NBA, NFL, NCAA Basketball (Men), NCAA Football, NHL. Markets are moneyline, point spread, game total, run line and team total, plus alternate spreads and alternate totals, plus player and team props per league.

Can I try the API before signing up?

Yes. The interactive documentation lets you read the full spec and build a request without an account, and the code examples on this page are ready to paste. A free account needs only an email address - no credit card - and comes with a monthly credit allowance large enough to build and test a real integration against live and historical odds.

How do I authenticate?

Send your key as "X-API-Key: ozk_..." or as "Authorization: Bearer ozk_...". Keys are created in Settings, shown in full exactly once, and stored as a SHA-256 hash, so a database leak does not leak them. Each key can be given its own requests-per-minute override and its own IP allowlist, and can be revoked without touching your other keys. Every response carries X-Credits-Cost, X-Credits-Remaining and X-RateLimit headers, so a client can stay under budget without asking.

Do repeated identical requests still cost credits?

Yes. Identical requests are collapsed server-side - the X-Cache header says HIT or MISS and a HIT is byte-identical to the response that populated it - but the cache saves the database query, not the credit. A HIT is still authenticated, still rate limited and still metered, because otherwise asking twice would be a way to get data for free. What it does buy you is latency: a cached answer skips the query entirely. Current odds are held for seconds; a historical window whose upper bound has already passed can never receive another row, so it is held for a day.

Start with the free tier

An email address, no card. You get a key immediately, 1,500 credits a month, and enough of the archive to find out whether this data answers the question you actually have before you pay anything.

Questions about the data, a league we do not cover yet, or a book you want added: [email protected].