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.
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.
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.
| Method | Endpoint | Returns | Cost |
|---|---|---|---|
| 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 |
Current prices, derived views over an event, and full movement history.
| Method | Endpoint | Returns | Cost |
|---|---|---|---|
| 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 |
Player and team markets, by league or for a single event.
| Method | Endpoint | Returns | Cost |
|---|---|---|---|
| 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 |
Your own balance, plan and rate limits.
| Method | Endpoint | Returns | Cost |
|---|---|---|---|
| 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.
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.
| Bet365 | SAC | 8.5 | -112 |
| Bally's | SAC | 13.5 | -113 |
| Bet365 | SAS | -8.5 | -108 |
| Bally's | SAS | -13.5 | -129 |
| Bet365 | Over | 223.5 | -112 |
| Bally's | Over | 232.5 | -110 |
| Bet365 | Under | 223.5 | -108 |
| Bally's | Under | 232.5 | -130 |
| Bet365 | SAC | — | +240 |
| Bally's | SAC | — | +1900 |
| Bet365 | SAS | — | -300 |
| Bally's | SAS | — | -1430 |
| Bet365 | LAL | -13.5 | -110 |
| Bally's | LAL | -17.5 | -106 |
| Bet365 | UTA | 13.5 | -110 |
| Bally's | UTA | 17.5 | -139 |
| Bet365 | Over | 225.5 | -105 |
| Bally's | Over | 208.5 | -132 |
| Bet365 | Under | 225.5 | -115 |
| Bally's | Under | 208.5 | -109 |
| Bet365 | LAL | — | -800 |
| Bally's | LAL | — | -385 |
| Bet365 | UTA | — | +550 |
| Bally's | UTA | — | +2000 |
| Bet365 | DET | -1.5 | -115 |
| Bally's | DET | -1.5 | -110 |
| Bet365 | ORL | 1.5 | -105 |
| Bally's | ORL | 1.5 | -112 |
| Bet365 | Over | 213.5 | -111 |
| Bally's | Over | 212.5 | -115 |
| Bet365 | Under | 213.5 | -109 |
| Bally's | Under | 212.5 | -107 |
| 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.
{
"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
}
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.
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 -H "X-API-Key: ozk_your_key_here" \
"https://oddize.com/api/v1/odds/latest?sport=nba&limit=5"
import requests
response = requests.get(
"https://oddize.com/api/v1/odds/latest?sport=nba&limit=5",
headers={"X-API-Key": "ozk_your_key_here"},
timeout=30,
)
response.raise_for_status()
for event in response.json()["events"]:
print(event["team1"], "vs", event["team2"], event["start_date"])
for price in event["odds"]:
print(" ", price["book_name"], price["market"],
price["team"], price["line"], price["american_odds"])
# Poll cheaply: remember the newest ts you saw and ask only for what
# moved since.
newest = max((p["ts"] for e in response.json()["events"]
for p in e["odds"]), default=0)
delta = requests.get("https://oddize.com/api/v1/odds/latest",
params={"sport": "nba", "updated_since": newest},
headers={"X-API-Key": "ozk_your_key_here"}, timeout=30).json()
const url = "https://oddize.com/api/v1/odds/latest?sport=nba&limit=5";
const headers = { "X-API-Key": "ozk_your_key_here" };
const res = await fetch(url, { headers });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const { events } = await res.json();
for (const event of events) {
console.log(event.team1, "vs", event.team2, event.start_date);
for (const price of event.odds) {
console.log(" ", price.book_name, price.market,
price.team, price.line, price.american_odds);
}
}
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.
| League | History from | Latest observation | Prop markets | Examples |
|---|---|---|---|---|
| March 2024 | 2026-10-31 | 6 | Pitcher Strikeouts, Hits, Total Bases | |
| January 2024 | 2026-11-23 | 8 | Points, Rebounds, Assists | |
| January 2024 | 2026-11-23 | 7 | Passing Yards, Rushing Yards, Receiving Yards | |
| February 2024 | 2026-11-23 | 6 | Points, Rebounds, Assists | |
| August 2024 | 2026-11-23 | 6 | Passing Yards, Rushing Yards, Receiving Yards | |
| October 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.
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.
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.
blysb365mgmboagbrivbovczrcircadkfdgnughrbnovigparxpinpbpolyphtxsmktespn| Code | Market | What it is |
|---|---|---|
| s | spread | Point spread (handicap) |
| t | total | Game total (over/under) |
| ml | moneyline | Moneyline / outright winner |
| rl | run_line | Run line (baseball fixed -1.5/+1.5 spread) |
| tt | team_total | Team total (one side only) |
| Code | Market | What it is |
|---|---|---|
| alt_s | alt_spread | Alternate point spread |
| alt_t | alt_total | Alternate 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.
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.
1,500 credits / month · 30 req/min
Enough to build and test an integration against live and historical odds.
250,000 credits / month · 300 req/min
For hobbyist models and small tools that poll live odds regularly.
2,000,000 credits / month · 600 req/min
For serious modeling pipelines pulling full movement history.
10,000,000 credits / month · 1,200 req/min
For commercial consumers needing the full archive and high throughput.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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].