Skip to content

Guides

How often does an NBA playmaker go over his assists line?

One row per game with a player's assists line, the price, how many he passed for and whether he went over. Nikola Jokic went over in 40 of 64 last season.

Code verified October 17, 2026. One call to get_prop_history, 10 credits.

The call

player_id comes from search_players. Other markets: points, rebounds, threes, points + rebounds + assists, 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": "3112335",
        "market": "player_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))
# Overs and unders at each line the books set: a high line is not always a harder one.
print(games.groupby("line")["result"].value_counts().unstack(fill_value=0))

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": "3112335",
  "player_name": "Nikola Jokic",
  "market": "player_assists",
  "stat": "assists",
  "bookmaker": null,
  "games": [
    {
      "game_id": "401809237",
      "game_date": "2025-10-23",
      "line": 8.5,
      "open_line": 8.5,
      "over_odds": -125,
      "under_odds": -104,
      "books": 5,
      "actual": 10,
      "result": "over",
      "margin": 1.5
    },
    {
      "game_id": "401809959",
      "game_date": "2025-10-25",
      "line": 9.5,
      "open_line": 9.5,
      "over_odds": 110,
      "under_odds": -142,
      "books": 7,
      "actual": 15,
      "result": "over",
      "margin": 5.5
    },
    {
      "game_id": "401809246",
      "game_date": "2025-10-27",
      "line": 9.5,
      "open_line": 9.5,
      "over_odds": 110,
      "under_odds": -143,
      "books": 5,
      "actual": 10,
      "result": "over",
      "margin": 0.5
    },
    {
      "game_id": "401809989",
      "game_date": "2025-10-29",
      "line": 9.5,
      "open_line": 9.5,
      "over_odds": -130,
      "under_odds": 100,
      "books": 7,
      "actual": 10,
      "result": "over",
      "margin": 0.5
    }
  ],
  "count": 64,
  "summary": {
    "games": 64,
    "graded": 64,
    "overs": 40,
    "unders": 24,
    "pushes": 0,
    "over_rate": 0.625,
    "avg_line": 10.1,
    "avg_actual": 10.9
  },
  "truncated": false,
  "next_from_date": null
}

What to do next

  • get_player_props (10 credits). Every sportsbook's assists line for the next game.
  • get_player_games (5 credits). The player's game log behind the numbers the line was set against.

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.