Skip to content

get_prop_history

10 creditsMulti-tablePOST /v1/get_prop_history

Data refreshed · changelog

A player's prop lines against the result, game by game

Use it when you are asking whether a player beats his line: for one market, each game's closing line (the median across books), what he actually recorded in points, and the over rate, from May 2023.

Parameters

player_idstringrequired
Player id (e.g. 3945274) from search_players.
marketenum: player_points | player_rebounds | player_assists | player_threes | player_points_rebounds_assists | player_blocks | player_steals | player_points_rebounds | player_points_assists | player_rebounds_assists | player_double_double | player_triple_doublerequired
The market: player_points (points), player_rebounds (rebounds), player_assists (assists), player_threes (three-pointers made), player_points_rebounds_assists (points + rebounds + assists), player_blocks (blocks), player_steals (steals), player_points_rebounds (points + rebounds), player_points_assists (points + assists), player_rebounds_assists (rebounds + assists), player_double_double (double-double (over = yes)), player_triple_double (triple-double (over = yes))
from_datestringoptional
First date, YYYY-MM-DD (the game's date).
to_datestringoptional
Last date, YYYY-MM-DD (the game's date).
bookmakerstringoptional
One book's closing line instead of the median across books, e.g. draftkings.
limitintegeroptional
Games to return, oldest first (default 50, max 200). next_from_date says where to continue.
estimate_onlybooleanoptional
Return what this call would cost, without charging or running it.
leagueenum: nba | wnba | ncaamoptional
League. Defaults to nba. One of: nba, wnba, ncaam.

Notes

  • Over MCP, ask for it in plain English and the client calls get_prop_history itself. Point any MCP client at https://mcp.dunkapi.com/mcp?key=YOUR_API_KEY.
  • It costs 10 credits for every 25 games already played that a call covers, and at least 10 a call (accounts opened before November 1 2026 pay 10 a call), taken before it runs and refunded if the server errors.
  • Not the call you need? Find the right call by what you are trying to answer.

Request

curl -X POST https://mcp.dunkapi.com/v1/get_prop_history \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "player_id": "3112335",
  "market": "player_points",
  "to_date": "2026-11-02",
  "limit": 5
}'

Response

json
{
  "player_id": "3112335",
  "player_name": "Nikola Jokic",
  "market": "player_points",
  "stat": "points",
  "bookmaker": null,
  "games": [
    {
      "game_id": "401544336",
      "game_date": "2023-05-05",
      "line": 25.5,
      "open_line": 26.5,
      "over_odds": -125,
      "under_odds": -104,
      "books": 6,
      "actual": 30,
      "result": "over",
      "margin": 4.5
    },
    {
      "game_id": "401544337",
      "game_date": "2023-05-07",
      "line": 26.5,
      "open_line": 27.5,
      "over_odds": -150,
      "under_odds": 113,
      "books": 6,
      "actual": 53,
      "result": "over",
      "margin": 26.5
    },
    {
      "game_id": "401544338",
      "game_date": "2023-05-09",
      "line": 29.5,
      "open_line": 30.5,
      "over_odds": -120,
      "under_odds": -110,
      "books": 6,
      "actual": 29,
      "result": "under",
      "margin": -0.5
    }
  ],
  "count": 5,
  "summary": {
    "games": 5,
    "graded": 5,
    "overs": 4,
    "unders": 1,
    "pushes": 0,
    "over_rate": 0.8,
    "avg_line": 27.7,
    "avg_actual": 35.6
  },
  "truncated": true,
  "next_from_date": "2023-05-18"
}

Response fields

player_idstring
player_namestring
marketstring
statstring
bookmakernull
games[]array
List of objects
games[].game_idstring
games[].game_datestring
games[].linenumber
games[].open_linenumber
games[].over_oddsnumber
games[].under_oddsnumber
games[].booksnumber
games[].actualnumber
games[].resultstring
games[].marginnumber
countnumber
summaryobject
summary.gamesnumber
summary.gradednumber
summary.oversnumber
summary.undersnumber
summary.pushesnumber
summary.over_ratenumber
summary.avg_linenumber
summary.avg_actualnumber
truncatedboolean
next_from_datestring

Used in

Related endpoints

Try it

500 free credits every month: 50 calls to get_prop_history, and no card.