Skip to content

Data

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.

SeasonGamesCoveredRows
20261,322100%1,360
20251,321100%1,321
20241,319100%12,872
20231,320100%16,218
20221,323100%15,178
20211,171100%11,555
20201,143100%7,693
20191,312100%8,008
20181,312100%7,781
20171,30997%11,385
20161,316100%8,122
20151,31197%5,037
20141,319100%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.