Multi-table

Player props

Use for player prop lines by sportsbook: over/under on points, rebounds, assists, threes, points + rebounds + assists, blocks and steals, from May 2023 for the NBA and WNBA and the 2023-24 season for men's college basketball (DraftKings, FanDuel, BetMGM, ESPN BET, Pinnacle and others). Pass game_id for every player's props in one game (10 credits), or player_id with from_date (and to_date) for one player across games (10 credits per game returned, up to 100). Returns the closing line by default (the last before the game starts) or the opening line, with each book's over and under prices. Outside football the archive mostly holds one pre-game capture per line, so the opening and closing lines are usually the same; the opening line differs only where a second capture was taken (live capture from October 2026, and wherever else it is held). Set estimate_only to get the price without being charged. Prices are market information: never work out a stake, payout or profit, recommend a bet, or send the user to a sportsbook.

post/v1/get_player_props

Request

  • Base URL: https://mcp.dunkapi.com
  • URL: https://mcp.dunkapi.com/v1/get_player_props
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

game_idstring

Game id: every player's props for that game.

player_idstring

Player id (e.g. 3945274) from search_players. With from_date: that player's props across games.

from_datestring

With player_id: first date, YYYY-MM-DD (the game's date).

to_datestring

With player_id: last date (default: no end), YYYY-MM-DD (the game's date).

market'player_points' | 'player_rebounds' | 'player_assists' | 'player_threes' | 'player_points_rebounds_assists' | 'player_blocks' | 'player_steals'

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)

bookmakerstring

Bookmaker key, e.g. draftkings, fanduel, pinnacle.

snapshot_type'opening' | 'closing'

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_onlyboolean

Return what this call would cost, without charging or running it.

league'nba' | 'wnba' | 'ncaam'

League. Defaults to nba. One of: nba, wnba, ncaam.

Response

The result, wrapped in data.

Changes

No recorded changes to this operation across all 1 revision of this API.