Skip to content

get_player_props

10 creditsMulti-tablePOST /v1/get_player_props

Data refreshed · changelog

Player prop lines by sportsbook: the closing line (one pre-game capture per line before October 2026)

Use it when you are backtesting or shopping player props: every book's over and under on points and the other markets for a game, or one player's lines across a range of dates, with the opening or closing price. From May 2023.

Parameters

game_idstringoptional
Game id: every player's props for that game.
player_idstringoptional
Player id (e.g. 3945274) from search_players. With from_date: that player's props across games.
from_datestringoptional
With player_id: first date, YYYY-MM-DD (the game's date).
to_datestringoptional
With player_id: last date (default: no end), YYYY-MM-DD (the game's date).
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_doubleoptional
One 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))
bookmakerstringoptional
Bookmaker key, e.g. draftkings, fanduel, pinnacle.
snapshot_typeenum: opening | closingoptional
closing (default): the last line before the game starts. opening: the first one captured, which is the same capture as the close wherever only one was taken.
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_player_props itself. Point any MCP client at https://mcp.dunkapi.com/mcp?key=YOUR_API_KEY.
  • It costs 10 credits a game before it starts and 20 once it has been played (accounts opened before October 30 2026 pay 10 for every game), 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_player_props \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
  "game_id": "401909918",
  "market": "player_points",
  "bookmaker": "draftkings"
}'

Response

json
{
  "snapshot_type": "closing",
  "games": 1,
  "props": [
    {
      "game_id": "401909918",
      "game_date": "2026-11-02",
      "player_name": "Aaron Gordon",
      "player_id": "3064290",
      "market": "player_points",
      "bookmaker": "draftkings",
      "line": 13.5,
      "over_odds": -113,
      "under_odds": -113,
      "captured_at": "2026-11-03T01:05:39.626Z",
      "scheduled_start": "2026-11-03T02:00:00.000Z",
      "minutes_before_scheduled_start": 54.3,
      "source": "archive"
    },
    {
      "game_id": "401909918",
      "game_date": "2026-11-02",
      "player_name": "Cameron Johnson",
      "player_id": "3138196",
      "market": "player_points",
      "bookmaker": "draftkings",
      "line": 12.5,
      "over_odds": -113,
      "under_odds": -113,
      "captured_at": "2026-11-03T01:05:39.626Z",
      "scheduled_start": "2026-11-03T02:00:00.000Z",
      "minutes_before_scheduled_start": 54.3,
      "source": "archive"
    },
    {
      "game_id": "401909918",
      "game_date": "2026-11-02",
      "player_name": "Christian Braun",
      "player_id": "4431767",
      "market": "player_points",
      "bookmaker": "draftkings",
      "line": 12.5,
      "over_odds": -101,
      "under_odds": -126,
      "captured_at": "2026-11-03T01:05:39.626Z",
      "scheduled_start": "2026-11-03T02:00:00.000Z",
      "minutes_before_scheduled_start": 54.3,
      "source": "archive"
    }
  ],
  "count": 14
}

Response fields

snapshot_typestring
gamesnumber
props[]array
List of objects
props[].game_idstring
props[].game_datestring
props[].player_namestring
props[].player_idstring
props[].marketstring
props[].bookmakerstring
props[].linenumber
props[].over_oddsnumber
props[].under_oddsnumber
props[].captured_atstring
props[].scheduled_startstring
props[].minutes_before_scheduled_startnumber
props[].sourcestring
countnumber

Used in

Related endpoints

Try it

500 free credits every month: 25 calls to get_player_props, and no card.