Get NBA box score
GET/v1/nba/games/{game_id}/box-score
Complete box score for a single NBA game, including team totals, individual player stats, four-factor metrics, and pace adjustments.
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
| Parameter | Type | Required | Description |
|---|---|---|---|
game_id | string | Yes | Path parameter — NBA game ID |
include | string | No | Extras: advanced, lineups, on_off |
Response
{
"game_id": "0022500412",
"status": "final",
"home": {
"team": "BOS",
"totals": { "pts": 112, "reb": 48, "ast": 24, "ts_pct": 0.589 },
"players": [
{ "id": "jayson-tatum", "min": 38, "pts": 28, "reb": 9, "ast": 5, "fg_pct": 0.480, "plus_minus": 7 }
]
},
"away": { "team": "LAL", "totals": { "pts": 108, "reb": 41 }, "players": [] }
}Error responses
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | Missing or invalid API key |
| 403 | tier_insufficient | Your plan tier doesn't include this resource |
| 429 | rate_limited | Exceeded rate limit; honor Retry-After |
| 500 | internal_error | Server error; retry with exponential backoff |