Overview
The players endpoint returns metadata for individual players, including name, position, team association, and sport.Endpoints
GET /api/v2/players/{playerID} — Get a player by ID
GET /api/v2/players/{playerID} — Get a player by ID
Finding Player IDs
Player IDs appear in several places throughout the API:- Team roster —
GET /api/v2/teams/{teamID}/playersreturns all players with their IDs - Player prop markets — When fetching events with player prop
market_ids(e.g.,29for Player Points), each market participant’sidis the player ID when itstypeisTYPE_PLAYER - Market participants —
GET /api/v2/markets/participantsreturns participant details for specified markets. On this endpoint the player ID is theparticipant_idfield, notid
Player IDs are stable and consistent across endpoints. A player’s ID from the team roster is the same ID used in prop market participants and stats endpoints.
Related Endpoints
For player statistics, use these endpoints instead:
For live player box-score changes, bootstrap from the player game-stats endpoint and then subscribe to the
stats channel. Each WebSocket frame contains only rows whose values changed.