NBA odds history
Each sportsbook's moneyline, spread and total for NBA games from 2013-14, with results against the line. Built for backtests. REST or MCP.
DunkAPI serves NBA betting lines by sportsbook: moneyline, point spread and total for 4 to 12 books per regular-season game from 2013-14 to 2023-24 (10 to 12 from 2020-21), opening and closing lines from 2023-24, usually from one book since 2024-25 (ESPN BET, later DraftKings).
get_odds returns every book for a game or a whole day, with implied probabilities and, for finished games, whether the home side covered and the total went over against the median closing line. The table below is read from the database.
Coverage by season
Counted from the database on October 8, 2026: finished regular-season and playoff games.
| Season | Games | Covered | Rows |
|---|---|---|---|
| 2026 | 1,322 | 100% | 1,360 |
| 2025 | 1,321 | 100% | 1,321 |
| 2024 | 1,319 | 100% | 12,872 |
| 2023 | 1,320 | 100% | 16,218 |
| 2022 | 1,323 | 100% | 15,178 |
| 2021 | 1,171 | 100% | 11,555 |
| 2020 | 1,143 | 100% | 7,693 |
| 2019 | 1,312 | 100% | 8,008 |
| 2018 | 1,312 | 100% | 7,781 |
| 2017 | 1,309 | 97% | 11,385 |
| 2016 | 1,316 | 100% | 8,122 |
| 2015 | 1,311 | 97% | 5,037 |
| 2014 | 1,319 | 100% | 5,242 |
How to get it
get_odds, 5 credits a call. A full 2026 season is 1,321 calls and 6,605 credits, which fits in one month of Starter ($19/mo).
curl -X POST https://mcp.dunkapi.com/v1/get_odds \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"game_id": "401705127"
}'What comes back
| games[] | List of objects |
| games[].game_id | |
| games[].season | |
| games[].season_type | |
| games[].date | |
| games[].starts_at | |
| games[].status | |
| games[].home | |
| games[].home.team_id | |
| games[].home.abbrev | |
| games[].home.name | |
| games[].home.score | |
| games[].away | |
| games[].away.team_id |
Every field and a real response: get_odds docs.
Questions
How far back do the NBA odds go?
Lines start in 2012-13 with a few books; from 2013-14 most regular-season games have 4 to 12, rising to 10 to 12 from 2020-21. The table shows the count per season.
Are these opening or closing lines?
Before 2023-24 the source keeps each book's final pregame line, which we store as the close. From 2023-24 there are separate opening and closing lines.
Do you have player props?
No. Moneylines, spreads and totals only.
Is it free?
Every account starts with 500 free credits and no card. One game's lines are 5 credits, a whole day 10.
What it will not do
- No lines before 2012-13.
- Since 2024-25 most games have one book.
- No player props or alternate lines.
Works with
Start with 500 free credits
No card. REST or MCP.