Stats + aggregation

Player games

Use for a player's game log: every game's box-score line with opponent and result, newest first, optionally one season. Costs 5 credits.

post/v1/get_player_games

Request

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

Request body

player_idstring required

Player id.

season_type'regular' | 'postseason' | 'play_in' | 'preseason'
limitinteger

Max games (default 100).

offsetinteger
league'nba' | 'wnba' | 'ncaam' | 'ncaaw'

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

Response

The result, wrapped in data.

Changes

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