How often does an NBA star go over his points + rebounds + assists line?
One row per game with a player's points + rebounds + assists line, the price, his total and whether he went over. Luka Doncic split 32 overs and 32 unders last season.
Code verified November 18, 2026. One call to get_prop_history, 10 credits.
The call
player_id comes from search_players. Other markets: points, rebounds, assists, threes, blocks and steals.
import requests
import pandas as pd
API_KEY = "YOUR_API_KEY"
resp = requests.post(
"https://mcp.dunkapi.com/v1/get_prop_history",
headers={"x-api-key": API_KEY},
json={
"player_id": "3945274",
"market": "player_points_rebounds_assists",
"from_date": "2025-10-01",
"to_date": "2026-04-15",
"limit": 100,
},
timeout=60,
)
resp.raise_for_status()
data = resp.json()["data"]
games = pd.DataFrame(data["games"])
s = data["summary"]
print(data["player_name"], data["stat"], "|", s["overs"], "overs,", s["unders"], "unders, over rate", s["over_rate"])
print("average line", s["avg_line"], "average actual", s["avg_actual"])
print(games[["game_date", "open_line", "line", "actual", "result"]].tail(6).to_string(index=False))
# How far each result landed from the line: the spread matters as much as the over rate.
print(games["margin"].describe()[["mean", "50%", "std"]])
Replace YOUR_API_KEY with a key from your dashboard. Python needs requests and pandas (pip install requests pandas). JavaScript runs on Node 18 or newer, or in the browser.
Or use the official client: pip install dunkapi
What comes back
The data object of the response, trimmed to the first rows. Every field is real output from the run above.
{
"player_id": "3945274",
"player_name": "Luka Doncic",
"market": "player_points_rebounds_assists",
"stat": "points + rebounds + assists",
"bookmaker": null,
"games": [
{
"game_id": "401809244",
"game_date": "2025-10-21",
"line": 46.5,
"open_line": 47.5,
"over_odds": -120,
"under_odds": -111,
"books": 6,
"actual": 64,
"result": "over",
"margin": 17.5
},
{
"game_id": "401809951",
"game_date": "2025-10-24",
"line": 48.5,
"open_line": 47.5,
"over_odds": -121,
"under_odds": -107,
"books": 6,
"actual": 68,
"result": "over",
"margin": 19.5
},
{
"game_id": "401809968",
"game_date": "2025-10-26",
"line": 50.5,
"open_line": 50.5,
"over_odds": -120,
"under_odds": -111,
"books": 6,
"actual": null,
"result": null,
"margin": null
},
{
"game_id": "401809506",
"game_date": "2025-10-31",
"line": 48.5,
"open_line": 48.5,
"over_odds": -120,
"under_odds": -110,
"books": 6,
"actual": 62,
"result": "over",
"margin": 13.5
}
],
"count": 67,
"summary": {
"games": 67,
"graded": 64,
"overs": 32,
"unders": 32,
"pushes": 0,
"over_rate": 0.5,
"avg_line": 49.8,
"avg_actual": 49.5
},
"truncated": false,
"next_from_date": null
}The example player is Luka Doncic. The record against the line, market by market, is on the Luka Doncic prop history page.
What to do next
- get_player_props (10 credits). Every sportsbook's PRA line for the next game.
- get_player_games (5 credits). The points, rebounds and assists behind each total.
The data this uses
Every row above comes from NBA historical 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.
More guides
The same guide for other sports
The latest lines from every book are on the odds board. Today's props, with the best price on each side, are on the player props board. Rather ask Claude? 24 free Claude skills call these endpoints for you.
Start with 500 free credits every month
No card. REST or MCP.