STAT-API

NBA game_team_stats API

game_team_statsnba.game_team_stats
Each NBA team's stat line for each game — the same offensive, defensive, rebounding, and shooting counters as the season aggregate, broken out per game with home/away context.
GET/api/v1/nba/game_team_stats
Requires one of: game_id — requests satisfying none of these return 400.
Parameters
game_idquerybigintoptional
Filter to a single game.
team_idquerybigintoptional
Filter by team.
limitqueryintegeroptionaldefault 50
Page size. Defaults to 50; max 5000.
from_idquerybigintoptional
Return rows with id strictly greater than this value; page using the previous response's `next_from_id`. Omit on the first page.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/nba/game_team_stats?game_id=1'
Responses
200game_team_stats rows matching the declared filter set, wrapped in { game_team_stats, limit, next_from_id }. next_from_id is the last row's id on a full page — pass it back via ?from_id= to walk the full result; null marks the terminal page.application/jsonshow example ▸
400No declared filter set was satisfied — response body matches MissingRequiredFiltersError; pick one combo from the accepted-sets hint and resend.application/json
Response Schema(70 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. 6
team_id
bigint—
e.g. 12
assist_percentage
decimal——
e.g. 0.6670
assist_ratio
decimal——
e.g. 0.0000
assists
integer——
e.g. 24
assists_to_turnovers
decimal——
e.g. 2.0000
bench_pts
integer——
e.g. 34
blocks
integer——
e.g. 4
conference_rank
integer—Conference rank entering game
e.g. 0
defensive_rating
decimal——
e.g. 100.0000
defensive_rebound_percentage
decimal——
e.g. 0.6670
defensive_rebounds
integer——
e.g. 32
effective_field_goal_percentage
decimal——
e.g. 0.5000
estimated_defensive_rating
decimal——
e.g. 0.0000
estimated_net_rating
decimal——
e.g. 0.0000
estimated_offensive_rating
decimal——
e.g. 0.0000
estimated_pace
decimal——
e.g. 0.0000
fast_break_pts
integer——
e.g. 11
field_goal_percentage
decimal——
e.g. 0.5000
field_goals_attempted
integer——
e.g. 88
field_goals_made
integer——
e.g. 42
fouls
integer——
e.g. 19
free_throw_attempt_rate
decimal——
e.g. 0.2500
free_throw_percentage
decimal——
e.g. 0.7500
free_throws_attempted
integer——
e.g. 21
free_throws_made
integer——
e.g. 17
loss
integer——
e.g. 0
losses
integer—Cumulative losses
e.g. 0
minutes
integer——
e.g. 48
net_rating
decimal——
e.g. 2.0000
offensive_rating
decimal——
e.g. 100.0000
offensive_rebound_percentage
decimal——
e.g. 0.3330
offensive_rebounds
integer——
e.g. 10
pace
decimal——
e.g. 101.0000
pace_per40
decimal——
e.g. 0.0000
pct_ast_2pm
decimal——
e.g. 0.5000
pct_ast_3pm
decimal——
e.g. 1.0000
pct_ast_fgm
decimal——
e.g. 0.6670
pct_fga_2pt
decimal——
e.g. 0.0000
pct_fga_3pt
decimal——
e.g. 0.0000
pct_pts_2pt
decimal——
e.g. 0.5000
pct_pts_2pt_mr
decimal——
e.g. 0.0000
pct_pts_3pt
decimal——
e.g. 0.0000
pct_pts_fb
decimal——
e.g. 0.0000
pct_pts_ft
decimal——
e.g. 0.0000
pct_pts_off_tov
decimal——
e.g. 0.0000
pct_pts_paint
decimal——
e.g. 0.0000
pct_uast_2pm
decimal——
e.g. 0.5000
pct_uast_3pm
decimal——
e.g. 0.0000
pct_uast_fgm
decimal——
e.g. 0.3330
player_impact_estimate
decimal——
e.g. 0.0000
possessions
integer——
e.g. 101
pts
integer——
e.g. 113
pts_in_paint
integer——
e.g. 50
pts_off_turnovers
integer——
e.g. 17
rebound_percentage
decimal——
e.g. 0.5000
rebounds
integer——
e.g. 42
second_chance_pts
integer——
e.g. 14
steals
integer——
e.g. 7
steals_to_turnovers
decimal——
e.g. 0.5000
three_point_percentage
decimal——
e.g. 0.3330
three_pointers_attempted
integer——
e.g. 34
three_pointers_made
integer——
e.g. 12
timeouts_remaining
integer——
e.g. 0
true_shooting_percentage
decimal——
e.g. 0.5760
turnover_percentage
decimal——
e.g. 0.0000
turnovers
integer——
e.g. 13
win
integer——
e.g. 0
wins
integer—Cumulative wins
e.g. 0
GET/api/v1/nba/game_team_stats/{id}
Parameters
idpathbigintrequired
Primary key (id) of the game_team_stat row.
Restores the documented defaults (trial keys only accept the unchanged defaults).
Request
curl -sS --compressed \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  'https://api.stat-api.com/api/v1/nba/game_team_stats/{pk_value}'
Responses
200Single game_team_stat row.application/jsonshow example ▸
404Row not found.
Response Schema(70 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. 6
team_id
bigint—
e.g. 12
assist_percentage
decimal——
e.g. 0.6670
assist_ratio
decimal——
e.g. 0.0000
assists
integer——
e.g. 24
assists_to_turnovers
decimal——
e.g. 2.0000
bench_pts
integer——
e.g. 34
blocks
integer——
e.g. 4
conference_rank
integer—Conference rank entering game
e.g. 0
defensive_rating
decimal——
e.g. 100.0000
defensive_rebound_percentage
decimal——
e.g. 0.6670
defensive_rebounds
integer——
e.g. 32
effective_field_goal_percentage
decimal——
e.g. 0.5000
estimated_defensive_rating
decimal——
e.g. 0.0000
estimated_net_rating
decimal——
e.g. 0.0000
estimated_offensive_rating
decimal——
e.g. 0.0000
estimated_pace
decimal——
e.g. 0.0000
fast_break_pts
integer——
e.g. 11
field_goal_percentage
decimal——
e.g. 0.5000
field_goals_attempted
integer——
e.g. 88
field_goals_made
integer——
e.g. 42
fouls
integer——
e.g. 19
free_throw_attempt_rate
decimal——
e.g. 0.2500
free_throw_percentage
decimal——
e.g. 0.7500
free_throws_attempted
integer——
e.g. 21
free_throws_made
integer——
e.g. 17
loss
integer——
e.g. 0
losses
integer—Cumulative losses
e.g. 0
minutes
integer——
e.g. 48
net_rating
decimal——
e.g. 2.0000
offensive_rating
decimal——
e.g. 100.0000
offensive_rebound_percentage
decimal——
e.g. 0.3330
offensive_rebounds
integer——
e.g. 10
pace
decimal——
e.g. 101.0000
pace_per40
decimal——
e.g. 0.0000
pct_ast_2pm
decimal——
e.g. 0.5000
pct_ast_3pm
decimal——
e.g. 1.0000
pct_ast_fgm
decimal——
e.g. 0.6670
pct_fga_2pt
decimal——
e.g. 0.0000
pct_fga_3pt
decimal——
e.g. 0.0000
pct_pts_2pt
decimal——
e.g. 0.5000
pct_pts_2pt_mr
decimal——
e.g. 0.0000
pct_pts_3pt
decimal——
e.g. 0.0000
pct_pts_fb
decimal——
e.g. 0.0000
pct_pts_ft
decimal——
e.g. 0.0000
pct_pts_off_tov
decimal——
e.g. 0.0000
pct_pts_paint
decimal——
e.g. 0.0000
pct_uast_2pm
decimal——
e.g. 0.5000
pct_uast_3pm
decimal——
e.g. 0.0000
pct_uast_fgm
decimal——
e.g. 0.3330
player_impact_estimate
decimal——
e.g. 0.0000
possessions
integer——
e.g. 101
pts
integer——
e.g. 113
pts_in_paint
integer——
e.g. 50
pts_off_turnovers
integer——
e.g. 17
rebound_percentage
decimal——
e.g. 0.5000
rebounds
integer——
e.g. 42
second_chance_pts
integer——
e.g. 14
steals
integer——
e.g. 7
steals_to_turnovers
decimal——
e.g. 0.5000
three_point_percentage
decimal——
e.g. 0.3330
three_pointers_attempted
integer——
e.g. 34
three_pointers_made
integer——
e.g. 12
timeouts_remaining
integer——
e.g. 0
true_shooting_percentage
decimal——
e.g. 0.5760
turnover_percentage
decimal——
e.g. 0.0000
turnovers
integer——
e.g. 13
win
integer——
e.g. 0
wins
integer—Cumulative wins
e.g. 0