Static reference

Search players

Use to find a player's id by name (partial names work), most recent players first. Pass league for the WNBA (wnba) or college (ncaam, ncaaw); default NBA. Costs 1 credit.

post/v1/search_players

Request

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

Request body

namestring required

Full or partial name.

limitinteger
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.