curl "https://api.basketballapi.net/v1/games/gm_60NTZGSD/boxscore" \
-H "Authorization: Bearer bba_live_your_key"
import requests
r = requests.get("https://api.basketballapi.net/v1/games/gm_60NTZGSD/boxscore",
headers={"Authorization": "Bearer bba_live_your_key"})
print(r.json()["data"])
const r = await fetch("https://api.basketballapi.net/v1/games/gm_60NTZGSD/boxscore", {
headers: { Authorization: "Bearer bba_live_your_key" }
});
const { data } = await r.json();
$ctx = stream_context_create(['http' => [
'header' => "Authorization: Bearer bba_live_your_key",
]]);
$r = json_decode(file_get_contents("https://api.basketballapi.net/v1/games/gm_60NTZGSD/boxscore", false, $ctx), true);
200Example answer, in shape
{
"data": {
"game": {
"id": "gm_C513E9BF",
"competition": {
"id": "cp_929127FC",
"name": "Example name"
},
"season": {
"id": "ss_EBC81C6D",
"name": "Example name"
},
"stage": "regular",
"round": "12",
"date": "2026-10-01",
"tip_off": "2026-10-01T19:45:00Z",
"status": "scheduled",
"home": {
"id": "tm_8EB4D858",
"name": "Example name"
},
"away": {
"id": "tm_8EB4D858",
"name": "Example name"
},
"home_score": 88,
"away_score": 81,
"attendance": 11204,
"venue": "text",
"has": {
"boxscore": true,
"playbyplay": true,
"shots": true
}
},
"home": {
"team": {
"id": "tm_8EB4D858",
"name": "Example name"
},
"coach": "Coach name",
"totals": {
"points": 2,
"two_made": 12,
"two_attempted": 12,
"three_made": 12,
"three_attempted": 12,
"free_throws_made": 12,
"free_throws_attempted": 12,
"offensive_rebounds": 12,
"defensive_rebounds": 12,
"rebounds": 12,
"assists": 12,
"steals": 12,
"turnovers": 12,
"blocks": 12,
"blocks_received": 12,
"fouls": 12,
"fouls_drawn": 12,
"performance_index": 12,
"field_goals_made": 12,
"field_goals_attempted": 12
},
"players": [
{
"player": {},
"number": "23",
"starter": true,
"played": true,
"minutes": "31:12",
"seconds": 1872,
"points": 2,
"two_made": 12,
"two_attempted": 12,
"three_made": 12,
"three_attempted": 12,
"free_throws_made": 12,
"free_throws_attempted": 12,
"offensive_rebounds": 12,
"defensive_rebounds": 12,
"rebounds": 12,
"assists": 12,
"steals": 12,
"turnovers": 12,
"blocks": 12,
"blocks_received": 12,
"fouls": 12,
"fouls_drawn": 12,
"performance_index": 12,
"field_goals_made": 12,
"field_goals_attempted": 12,
"plus_minus": 12
}
]
},
"away": {
"team": {
"id": "tm_8EB4D858",
"name": "Example name"
},
"coach": "Coach name",
"totals": {
"points": 2,
"two_made": 12,
"two_attempted": 12,
"three_made": 12,
"three_attempted": 12,
"free_throws_made": 12,
"free_throws_attempted": 12,
"offensive_rebounds": 12,
"defensive_rebounds": 12,
"rebounds": 12,
"assists": 12,
"steals": 12,
"turnovers": 12,
"blocks": 12,
"blocks_received": 12,
"fouls": 12,
"fouls_drawn": 12,
"performance_index": 12,
"field_goals_made": 12,
"field_goals_attempted": 12
},
"players": [
{
"player": {},
"number": "23",
"starter": true,
"played": true,
"minutes": "31:12",
"seconds": 1872,
"points": 2,
"two_made": 12,
"two_attempted": 12,
"three_made": 12,
"three_attempted": 12,
"free_throws_made": 12,
"free_throws_attempted": 12,
"offensive_rebounds": 12,
"defensive_rebounds": 12,
"rebounds": 12,
"assists": 12,
"steals": 12,
"turnovers": 12,
"blocks": 12,
"blocks_received": 12,
"fouls": 12,
"fouls_drawn": 12,
"performance_index": 12,
"field_goals_made": 12,
"field_goals_attempted": 12,
"plus_minus": 12
}
]
}
},
"meta": { "plan": "Free key" }
}