Skip to content

Guides

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 October 19, 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": 47.5,
      "open_line": 47.5,
      "over_odds": -114,
      "under_odds": -117,
      "books": 6,
      "actual": 64,
      "result": "over",
      "margin": 16.5
    },
    {
      "game_id": "401809951",
      "game_date": "2025-10-24",
      "line": 49.5,
      "open_line": 49.5,
      "over_odds": -113,
      "under_odds": -115,
      "books": 6,
      "actual": 68,
      "result": "over",
      "margin": 18.5
    },
    {
      "game_id": "401809506",
      "game_date": "2025-10-31",
      "line": 48.5,
      "open_line": 48.5,
      "over_odds": -111,
      "under_odds": -120,
      "books": 6,
      "actual": 62,
      "result": "over",
      "margin": 13.5
    },
    {
      "game_id": "401810010",
      "game_date": "2025-11-02",
      "line": 52.5,
      "open_line": 52.5,
      "over_odds": -113,
      "under_odds": -115,
      "books": 6,
      "actual": 50,
      "result": "under",
      "margin": -2.5
    }
  ],
  "count": 64,
  "summary": {
    "games": 64,
    "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
}

What to do next

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? 16 free Claude skills call these endpoints for you.

Start with 500 free credits every month

No card. REST or MCP.