Dataset
NBA player props history, graded against the result
Short answer: the NBA Player Props package ($349, one time) is every pregame capture of NBA player prop lines by book since May 2023, with each line graded against what the player did. It is one table, player_props, as CSV and Parquet. The API serves one player's history at a time.
What you are buying
The NBA Player Props package (id nba-props, $349 one time) holds one table, player_props. Each row is one line from one book at one capture time for one player and market: the line, the price on the over and on the under, the capture time and minutes before the start, then the player's real total and the result.
This is market history. It shows what each book posted and when, and how the line compared with the result. It does not tell you what to do with a price, and nothing in it is a pick.
Because the file stores every capture, one player and market in one game can have many rows: different books, and several captures per book. To get a closing line, take the capture with the smallest non-negative minutes_before_start for each game, book, market and player. A README, a manifest with row counts and a checksum list come with the download.
NBA Complete ($799) contains these props and adds the odds tables, games, plays and the full intraday line history. Upgrade from Props for the price difference within 90 days.
Coverage and updates
Props start in May 2023. The site lists the NBA Complete props at 11.3 million rows across 12 markets, each graded against the result. The catalog does not give a per-season count for the props-only package, so check manifest.json for the exact figure. All lines are captured before the game.
Every package includes finished seasons plus the current season as of our latest monthly update on the day you buy. With an API plan of Pro or higher we refresh the current season's files every month at no charge. Without a plan, an end-of-season update costs a quarter of the package price. You can re-download for 365 days.
Schema
These are the real column names in the free sample, with the matching API field from get_prop_history.
| Package column | API field | Meaning |
|---|---|---|
| game_id | game_id | Game key |
| bookmaker | bookmaker | Book, as a code |
| market | market | For example player_points or player_assists |
| player_name, player_id | player_name, player_id | The player |
| line | line | The line, such as 5.5 |
| over_odds, under_odds | over_odds, under_odds | American odds on each side |
| captured_at | not returned | When the line was captured, UTC |
| minutes_before_start | not returned | Minutes before the scheduled start; negative after |
| actual | actual | The player's real total |
| result | result | over, under or push; yes or no for yes or no markets |
The API returns one row per game and averages the books for you: it adds open_line, a books count and a margin (actual minus line). The package keeps every raw capture instead.
A real sample
Five rows from game 401859967 (2026 Finals, game 6), the last capture before the start for one book on the assists market, from the free sample. The book is replaced with a code.
| game_id | bookmaker | market | player_name | line | over_odds | under_odds | minutes_before_start | actual | result |
|---|---|---|---|---|---|---|---|---|---|
| 401859967 | book_1 | player_assists | De'Aaron Fox | 5.5 | -153 | 116 | -1 | 5 | under |
| 401859967 | book_1 | player_assists | Devin Vassell | 2.5 | 112 | -148 | -1 | 2 | under |
| 401859967 | book_1 | player_assists | Dylan Harper | 3.5 | 120 | -158 | -1 | 4 | over |
| 401859967 | book_1 | player_assists | Jalen Brunson | 5.5 | -147 | 112 | -1 | 3 | under |
| 401859967 | book_1 | player_assists | Jordan Clarkson | 0.5 | 184 | -247 | -1 | 0 | under |
Note the -1 in the minutes column. The scheduled start is a listed time, not the actual tip, so a capture a minute after the listed time reads as negative. In the free sample, 528 of 7,544 rows have a negative value. If you want strictly earlier lines, filter on minutes_before_start >= 0.
Load the files
DuckDB reads a folder of season files. This takes the last non-negative capture per game, book, market and player, then reports how often the over landed, by market. File names are our guess from the manifest convention. We have not run it, because we have no paid files locally.
import duckdb
duckdb.sql("""
WITH last AS (
SELECT *
FROM read_parquet('player_props_*.parquet')
WHERE minutes_before_start >= 0 AND result IN ('over', 'under')
QUALIFY row_number() OVER (
PARTITION BY game_id, bookmaker, market, player_id
ORDER BY minutes_before_start ASC) = 1
)
SELECT market,
count(*) AS lines,
avg(CASE WHEN result = 'over' THEN 1 ELSE 0 END) AS over_rate
FROM last
GROUP BY market
ORDER BY lines DESC
""").show()The same in Polars. Also unverified.
import polars as pl
last = (
pl.scan_parquet("player_props_*.parquet")
.filter((pl.col("minutes_before_start") >= 0) & pl.col("result").is_in(["over", "under"]))
.sort("minutes_before_start")
.group_by("game_id", "bookmaker", "market", "player_id")
.first()
)
by_market = (
last.group_by("market")
.agg(pl.len().alias("lines"), (pl.col("result") == "over").mean().alias("over_rate"))
.sort("lines", descending=True)
.collect()
)
print(by_market)An over rate is a description of the past. It is not a prediction of the next game.
Same data through the API
For one player's history, call the API. Set DUNKAPI_API_KEY first. The tool needs a player_id and a market.
import json
import os
import urllib.request
payload = {"player_id": "4066259", "market": "player_assists"}
req = urllib.request.Request(
"https://mcp.dunkapi.com/v1/get_prop_history",
data=json.dumps(payload).encode(),
headers={"Content-Type": "application/json", "x-api-key": os.environ["DUNKAPI_API_KEY"]},
)
with urllib.request.urlopen(req, timeout=30) as resp:
print("HTTP", resp.status)
d = json.load(resp)["data"]
print(d["player_name"], d["count"], "games, truncated:", d["truncated"], d["next_from_date"])Each call returns up to 50 games and a next_from_date to continue from. One call costs 10 credits.
Worked example: one player, one market
What does a line history look like for a single player? We pulled the first 50 games of De'Aaron Fox's assists market, from 2023-10-25 to 2024-02-25. The average line was 5.76 and his average total was 5.6. The line was 5.5 or lower in 28 of the 50 games, and the results in those 28 split 14 over and 14 under. Across all 50 games, 24 landed over and 26 under. The line differed from its open line in only 6 of the 50 games, so most lines did not move between the first and last capture.
That is a description of 50 past games, nothing more. It shows the shape of the data: a half-point line, prices on both sides, and a graded outcome.
What the columns mean in practice
minutes_before_startis measured against the listed start time. A capture after that time reads as negative, and 528 of 7,544 sample rows are negative. Filter on>= 0when you want only earlier lines.resultis blank for games not yet played and for rows that cannot be graded. In the sample, 20 rows are blank, all for a game that had not been played.- A zero in
actualcan mean the player did not play. One game in the API response above shows anactualof 0 graded as under. - The yes or no markets, double double and triple double, use
yesandnoinresult, not over and under.
Reading the rows
Three habits make this table easier to use. First, decide which capture counts as the line. The closing capture is the last one at or before the start; an opening line is the earliest. Second, decide how to treat a player who did not play. The grading is mechanical, so a zero total can appear as an under. Third, count lines by game, book, market and player, not by row, because one line appears many times across captures.
When not to use this
- You need one player. The API gives 50 games per call for 10 credits.
- You need tonight's lines. Files are refreshed monthly at best.
- You need a games or results file. This package holds only player_props; get games from the Odds or Complete package, or from the API.
- You want the closing line already picked for you. The file stores every capture, so you take the closing one yourself.
- You want to resell the data. The licence (version 2026-12-05) allows internal and commercial use, and publishing your own derived statistics, but not redistribution of the raw files.
- You want advice. These are historical prices and results, not picks.
Who uses prop history
Most buyers are building player projection models and need a market line to compare their numbers against. Others study how often lines of each size landed over or under, by market, season or role. Some are teaching a class on calibration and want a graded table with a clear outcome. In each case the job reads millions of rows, which suits a file.
Free sample first
Every tier has a free sample zip with a few real games and the same columns. Download it from the data packages page and load it before you pay.
Get a free key Or download whole seasons as Parquet
Checked against the live API on 2026-12-06. Questions: hello@sportsdatahq.com.