Get NBA player stats

GET/v1/nba/players/{player_id}/stats

Career totals, season splits, game logs, and advanced metrics (PER, TS%, BPM, VORP) for any active or historical NBA player.

Code samples

# Get live scores across every league
curl "https://api.sportapi.io/v1/nba/scores/live" \
  -H "Authorization: Bearer $API_KEY"

# Response
{
  "games": [{
    "game_id": "0022500412",
    "status": "in_progress",
    "period": 3, "clock": "07:42",
    "home": { "team": "BOS", "score": 78 },
    "away": { "team": "LAL", "score": 71 },
    "last_play": "J. Tatum makes 3-pt jumper from 25 ft"
  }]
}

Query parameters

ParameterTypeRequiredDescription
player_idstringYesPlayer slug, e.g. lebron-james
seasonstringNoSeason filter, e.g. 2024-25
splitstringNocareer | season | game | playoff

Response

{
  "player": { "id": "lebron-james", "name": "LeBron James", "team": "LAL", "position": "F" },
  "season": "2024-25",
  "averages": { "ppg": 25.3, "rpg": 7.9, "apg": 8.1, "ts_pct": 0.611, "per": 24.7 },
  "totals": { "games": 58, "minutes": 2098 }
}

Error responses

StatusCodeDescription
401unauthorizedMissing or invalid API key
403tier_insufficientYour plan tier doesn't include this resource
429rate_limitedExceeded rate limit; honor Retry-After
500internal_errorServer error; retry with exponential backoff