NBA box score
One game's box score. Default: the full game record (status, arena, attendance, officials, both teams' scores by period and team statistics, and every player's line with minutes, shooting, rebounds, assists, steals, blocks, turnovers, fouls, plus-minus). type picks another box score: advanced (ratings, usage, pace, PIE), misc, scoring, usage, fourfactors, playertrack (speed, distance, touches), hustle (deflections, loose balls, screen assists, charges) or defensive (matchup defense) or traditional.
Every response includes credits_used: the credits this call cost.
Part of the NBA API: 22 endpoints with prices, use cases and example responses.
Parameters
| name | type | description |
|---|---|---|
idrequired | string | Game id like 0022500123 from /nba/v1/scoreboard or /nba/v1/games, or an nba.com game link. Example: 0022500123 |
type | traditional | advanced | misc | scoring | usage | fourfactors | playertrack | hustle | defensive | Box score type (full record by default). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/nba/v1/game?id=0022500123" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/nba/v1/game",
params={"id": "0022500123"},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/nba/v1/game");
url.searchParams.set("id", "0022500123");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).
Example response (real call, trimmed: lists cut to 2 items, long text shortened, raw left out)
{"game_id": "0022500123","type": "full","url": "https://www.nba.com/game/0022500123/box-score","game_time_local": "2025-10-28T19:00:00-04:00","game_time_utc": "2025-10-28T23:00:00Z","game_time_home": "2025-10-28T19:00:00-04:00","game_time_away": "2025-10-28T19:00:00-04:00","game_et": "2025-10-28T19:00:00-04:00","duration": 158,"game_code": "20251028/PHIWAS","game_status_text": "Final","game_status": 3,"regulation_periods": 4,"period": 5,"game_clock": "PT00M00.00S","attendance": 15529,"sellout": "0","arena": {"arena_id": 77,"arena_name": "Capital One Arena","arena_city": "Washington","arena_state": "DC","arena_country": "US","arena_timezone": "America/New_York"},"officials": [{"person_id": 1155,"name": "JB DeRosa","name_i": "J. DeRosa","first_name": "JB","family_name": "DeRosa","jersey_num": "14","assignment": "OFFICIAL2"},{"person_id": 202007,"name": "Nick Buchert","name_i": "N. Buchert","first_name": "Nick","family_name": "Buchert","jersey_num": "3","assignment": "OFFICIAL1"},"… 1 more"],"home_team": {"team_id": 1610612764,"team_name": "Wizards","team_city": "Washington","team_tricode": "WAS","score": 134,"in_bonus": "0","timeouts_remaining": 0,"periods": [{"period": 1,"period_type": "REGULAR","score": 40},{"period": 2,"period_type": "REGULAR","score": 32},"… 3 more"],"players": [{"status": "ACTIVE","order": 1,"person_id": 1642273,"jersey_num": "18","position": "SF","starter": "1","oncourt": "1","played": "1","statistics": {"assists": 7,"blocks": 1,"blocks_received": 1,"field_goals_attempted": 17,"field_goals_made": 8,"field_goals_percentage": 0.470588235294118,"fouls_offensive": 0,"fouls_drawn": 4,"fouls_personal": 5,"fouls_technical": 0,"free_throws_attempted": 2,"free_throws_made": 0,"free_throws_percentage": 0,"minus": 115,"minutes": "PT40M11.00S","minutes_calculated": "PT40M","plus": 94,"plus_minus_points": -21,"points": 20,"points_fast_break": 8,"points_in_the_paint": 6,"points_second_chance": 3,"rebounds_defensive": 8,"rebounds_offensive": 1,"rebounds_total": 9,"steals": 2,"three_pointers_attempted": 7,"three_pointers_made": 4,"three_pointers_percentage": 0.5714285714285711,"turnovers": 1,"two_pointers_attempted": 10,"two_pointers_made": 4,"two_pointers_percentage": 0.4},"name": "Kyshawn George","name_i": "K. George","first_name": "Kyshawn","family_name": "George"},{"status": "ACTIVE","order": 2,"person_id": 203114,"jersey_num": "22","position": "PF","starter": "1","oncourt": "1","played": "1","statistics": {"assists": 3,"blocks": 0,"blocks_received": 3,"field_goals_attempted": 11,"field_goals_made": 4,"field_goals_percentage": 0.36363636363636404,"fouls_offensive": 1,"fouls_drawn": 2,"fouls_personal": 4,"fouls_technical": 0,"free_throws_attempted": 4,"free_throws_made": 4,"free_throws_percentage": 1,"minus": 82,"minutes": "PT30M36.00S","minutes_calculated": "PT30M","plus": 77,"plus_minus_points": -5,"points": 13,"points_fast_break": 2,"points_in_the_paint": 4,"points_second_chance": 2,"rebounds_defensive": 5,"rebounds_offensive": 5,"rebounds_total": 10,"steals": 0,"three_pointers_attempted": 3,"three_pointers_made": 1,"three_pointers_percentage": 0.333333333333333,"turnovers": 2,"two_pointers_attempted": 8,"two_pointers_made": 3,"two_pointers_percentage": 0.375},"name": "Khris Middleton","name_i": "K. Middleton","first_name": "Khris","family_name": "Middleton"},"… 16 more"],"statistics": {"assists": 33,"assists_turnover_ratio": 2.0625,"bench_points": 46,"biggest_lead": 19,"biggest_lead_score": "76-95","biggest_scoring_run": 10,"biggest_scoring_run_score": "126-126","blocks": 5,"blocks_received": 11,"fast_break_points_attempted": 14,"fast_break_points_made": 10,"fast_break_points_percentage": 0.714285714285714,"field_goals_attempted": 107,"field_goals_effective_adjusted": 0.55607476635514,"field_goals_made": 51,"field_goals_percentage": 0.476635514018692,"fouls_offensive": 3,"fouls_drawn": 21,"fouls_personal": 30,"fouls_team": 27,"fouls_technical": 1,"fouls_team_technical": 0,"free_throws_attempted": 21,"free_throws_made": 15,"free_throws_percentage": 0.714285714285714,"lead_changes": 4,"minutes": "PT265M00.00S","minutes_calculated": "PT265M","points": 134,"points_against": 139,"points_fast_break": 26,"points_from_turnovers": 21,"points_in_the_paint": 54,"points_in_the_paint_attempted": 49,"points_in_the_paint_made": 27,"points_in_the_paint_percentage": 0.551020408163265,"points_second_chance": 20,"rebounds_defensive": 37,"rebounds_offensive": 13,"rebounds_personal": 50,"…": "22 more fields"}},"away_team": {"team_id": 1610612755,"team_name": "76ers","team_city": "Philadelphia","team_tricode": "PHI","score": 139,"in_bonus": "1","timeouts_remaining": 1,"periods": [{"period": 1,"period_type": "REGULAR","score": 32},{"period": 2,"period_type": "REGULAR","score": 36},"… 3 more"],"players": [{"status": "ACTIVE","order": 1,"person_id": 1642348,"jersey_num": "11","position": "SF","starter": "1","oncourt": "0","played": "1","statistics": {"assists": 0,"blocks": 0,"blocks_received": 0,"field_goals_attempted": 3,"field_goals_made": 1,"field_goals_percentage": 0.333333333333333,"fouls_offensive": 0,"fouls_drawn": 0,"fouls_personal": 1,"fouls_technical": 0,"free_throws_attempted": 0,"free_throws_made": 0,"free_throws_percentage": 0,"minus": 56,"minutes": "PT14M12.30S","minutes_calculated": "PT14M","plus": 34,"plus_minus_points": -22,"points": 3,"points_fast_break": 0,"points_in_the_paint": 0,"points_second_chance": 0,"rebounds_defensive": 0,"rebounds_offensive": 0,"rebounds_total": 0,"steals": 0,"three_pointers_attempted": 3,"three_pointers_made": 1,"three_pointers_percentage": 0.333333333333333,"turnovers": 0,"two_pointers_attempted": 0,"two_pointers_made": 0,"two_pointers_percentage": 0},"name": "Justin Edwards","name_i": "J. Edwards","first_name": "Justin","family_name": "Edwards"},{"status": "ACTIVE","order": 2,"person_id": 1626162,"jersey_num": "9","position": "PF","starter": "1","oncourt": "1","played": "1","statistics": {"assists": 1,"blocks": 1,"blocks_received": 2,"field_goals_attempted": 13,"field_goals_made": 5,"field_goals_percentage": 0.384615384615385,"fouls_offensive": 0,"fouls_drawn": 5,"fouls_personal": 2,"fouls_technical": 0,"free_throws_attempted": 5,"free_throws_made": 4,"free_throws_percentage": 0.8,"minus": 112,"minutes": "PT43M48.60S","minutes_calculated": "PT44M","plus": 114,"plus_minus_points": 2,"points": 17,"points_fast_break": 3,"points_in_the_paint": 2,"points_second_chance": 0,"rebounds_defensive": 8,"rebounds_offensive": 3,"rebounds_total": 11,"steals": 1,"three_pointers_attempted": 5,"three_pointers_made": 3,"three_pointers_percentage": 0.6,"turnovers": 1,"two_pointers_attempted": 8,"two_pointers_made": 2,"two_pointers_percentage": 0.25},"name": "Kelly Oubre Jr.","name_i": "K. Oubre Jr.","first_name": "Kelly","family_name": "Oubre Jr."},"… 15 more"],"statistics": {"assists": 26,"assists_turnover_ratio": 1.85714285714286,"bench_points": 41,"biggest_lead": 6,"biggest_lead_score": "24-18","biggest_scoring_run": 10,"biggest_scoring_run_score": "126-126","blocks": 11,"blocks_received": 5,"fast_break_points_attempted": 6,"fast_break_points_made": 3,"fast_break_points_percentage": 0.5,"field_goals_attempted": 100,"field_goals_effective_adjusted": 0.535,"field_goals_made": 45,"field_goals_percentage": 0.45,"fouls_offensive": 1,"fouls_drawn": 30,"fouls_personal": 21,"fouls_team": 20,"fouls_technical": 0,"fouls_team_technical": 0,"free_throws_attempted": 37,"free_throws_made": 32,"free_throws_percentage": 0.864864864864865,"lead_changes": 4,"minutes": "PT265M00.00S","minutes_calculated": "PT265M","points": 139,"points_against": 134,"points_fast_break": 9,"points_from_turnovers": 26,"points_in_the_paint": 50,"points_in_the_paint_attempted": 49,"points_in_the_paint_made": 25,"points_in_the_paint_percentage": 0.510204081632653,"points_second_chance": 18,"rebounds_defensive": 37,"rebounds_offensive": 18,"rebounds_personal": 55,"…": "22 more fields"}},"cached": false,"credits_used": 1}