Data
NBA datasets
Data refreshed · changelog
What DunkAPI holds, one page per dataset. Each page has the coverage by season, the call that fetches it, and what it costs. The coverage lines below are counted from the database.
NBA play-by-play data
Play-by-play for every NBA season since 2003-04: clock, score, players, shot type and location, and win probability from 2018. REST or MCP.
2004 to 2027: 29,865 games covered
NBA shot chart data
The x/y location of every NBA field goal attempt in the play-by-play since 2003-04, with distance, zone, result and expected points. REST or MCP.
2004 to 2027: 29,858 games covered
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.
2014 to 2027: 16,956 games covered
NBA player props by sportsbook, from 2023
NBA player prop lines by sportsbook since May 2023: the closing line, and the opening line where held, with each player's history against his line. REST or MCP.
2023 to 2027: 4,235 games covered