STAT-API

NHL game_team_stats API

game_team_statsnhl.game_team_stats
Each NHL team's stat line for each game — goals scored and allowed, shots on goal, power-play and penalty-kill performance, faceoff percentage, hits, blocks, and time-on-ice splits.
⚠️ This endpoint is documented but not yet live. Calls return 503 until data is wired in.
GET/api/v1/nhl/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/nhl/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
503Coming soon — handler returns 503 until data is wired in.
Response Schema(30 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. — (all-null in sample)
team_id
bigint—
e.g. — (all-null in sample)
assists
integer——
e.g. — (all-null in sample)
blocked_shots
integer——
e.g. — (all-null in sample)
faceoff_percentage
decimal——
e.g. — (all-null in sample)
faceoffs_lost
integer——
e.g. — (all-null in sample)
faceoffs_won
integer——
e.g. — (all-null in sample)
giveaways
integer——
e.g. — (all-null in sample)
goals
integer——
e.g. — (all-null in sample)
goals_against
integer——
e.g. — (all-null in sample)
hits
integer——
e.g. — (all-null in sample)
losses
integer——
e.g. — (all-null in sample)
overtime_losses
integer——
e.g. — (all-null in sample)
penalties
integer——
e.g. — (all-null in sample)
penalty_kill_goals_against
integer——
e.g. — (all-null in sample)
penalty_kill_percentage
decimal——
e.g. — (all-null in sample)
penalty_minutes
integer——
e.g. — (all-null in sample)
power_play_attempts
integer——
e.g. — (all-null in sample)
power_play_goals
integer——
e.g. — (all-null in sample)
power_play_percentage
decimal——
e.g. — (all-null in sample)
save_percentage
decimal——
e.g. — (all-null in sample)
saves
integer——
e.g. — (all-null in sample)
shooting_percentage
decimal——
e.g. — (all-null in sample)
short_handed_goals
integer——
e.g. — (all-null in sample)
shots
integer——
e.g. — (all-null in sample)
shots_on_goal
integer——
e.g. — (all-null in sample)
takeaways
integer——
e.g. — (all-null in sample)
times_shorthanded
integer——
e.g. — (all-null in sample)
wins
integer——
e.g. — (all-null in sample)
GET/api/v1/nhl/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/nhl/game_team_stats/{pk_value}'
Responses
200Single game_team_stat row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(30 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. — (all-null in sample)
team_id
bigint—
e.g. — (all-null in sample)
assists
integer——
e.g. — (all-null in sample)
blocked_shots
integer——
e.g. — (all-null in sample)
faceoff_percentage
decimal——
e.g. — (all-null in sample)
faceoffs_lost
integer——
e.g. — (all-null in sample)
faceoffs_won
integer——
e.g. — (all-null in sample)
giveaways
integer——
e.g. — (all-null in sample)
goals
integer——
e.g. — (all-null in sample)
goals_against
integer——
e.g. — (all-null in sample)
hits
integer——
e.g. — (all-null in sample)
losses
integer——
e.g. — (all-null in sample)
overtime_losses
integer——
e.g. — (all-null in sample)
penalties
integer——
e.g. — (all-null in sample)
penalty_kill_goals_against
integer——
e.g. — (all-null in sample)
penalty_kill_percentage
decimal——
e.g. — (all-null in sample)
penalty_minutes
integer——
e.g. — (all-null in sample)
power_play_attempts
integer——
e.g. — (all-null in sample)
power_play_goals
integer——
e.g. — (all-null in sample)
power_play_percentage
decimal——
e.g. — (all-null in sample)
save_percentage
decimal——
e.g. — (all-null in sample)
saves
integer——
e.g. — (all-null in sample)
shooting_percentage
decimal——
e.g. — (all-null in sample)
short_handed_goals
integer——
e.g. — (all-null in sample)
shots
integer——
e.g. — (all-null in sample)
shots_on_goal
integer——
e.g. — (all-null in sample)
takeaways
integer——
e.g. — (all-null in sample)
times_shorthanded
integer——
e.g. — (all-null in sample)
wins
integer——
e.g. — (all-null in sample)