STAT-API

NHL game_player_stats API

game_player_statsnhl.game_player_stats
Each NHL player's stat line for each game — goals, assists, plus-minus, shots on goal, hits, blocks, penalties in minutes, power-play points, time on ice, plus the goaltender line (saves, shots against, goals against, save percentage).
⚠️ This endpoint is documented but not yet live. Calls return 503 until data is wired in.
GET/api/v1/nhl/game_player_stats
Requires one of: game_id or player_id — requests satisfying none of these return 400.
Parameters
game_idquerybigintoptional
Filter to a single game.
player_idquerybigintoptional
Filter to a single player.
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_player_stats?game_id=1'
Responses
200game_player_stats rows matching the declared filter set, wrapped in { game_player_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(67 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. — (all-null in sample)
opponent_id
bigintnullable——
e.g. — (all-null in sample)
player_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)
empty_net_goals
integer——
e.g. — (all-null in sample)
even_strength_assists
integer——
e.g. — (all-null in sample)
even_strength_goals
integer——
e.g. — (all-null in sample)
even_strength_time_on_ice_seconds
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)
first_period_goals_against
integer——
e.g. — (all-null in sample)
game_winning_goals
integer——
e.g. — (all-null in sample)
games
integer—1 if player appeared, 0 if not
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)
goals_against_average
decimal——
e.g. — (all-null in sample)
hits
integer——
e.g. — (all-null in sample)
home_or_away
stringnullable——
e.g. — (all-null in sample)
is_game_over
boolean——
e.g. — (all-null in sample)
losses
integer——
e.g. — (all-null in sample)
major_penalties
integer——
e.g. — (all-null in sample)
minor_penalties
integer——
e.g. — (all-null in sample)
minutes_played
integer—Goalie minutes played
e.g. — (all-null in sample)
overtime_goals
integer——
e.g. — (all-null in sample)
overtime_goals_against
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_minutes
integer——
e.g. — (all-null in sample)
plus_minus
integer——
e.g. — (all-null in sample)
power_play_assists
integer——
e.g. — (all-null in sample)
power_play_goals
integer——
e.g. — (all-null in sample)
power_play_goals_against
integer——
e.g. — (all-null in sample)
power_play_pts
integer——
e.g. — (all-null in sample)
power_play_saves
integer——
e.g. — (all-null in sample)
power_play_shots_against
integer——
e.g. — (all-null in sample)
power_play_time_on_ice_seconds
integer——
e.g. — (all-null in sample)
pts
integer——
e.g. — (all-null in sample)
save_percentage
decimal——
e.g. — (all-null in sample)
saves
integer——
e.g. — (all-null in sample)
second_period_goals_against
integer——
e.g. — (all-null in sample)
shifts
integer——
e.g. — (all-null in sample)
shooting_percentage
decimal——
e.g. — (all-null in sample)
shootout_attempts
integer——
e.g. — (all-null in sample)
shootout_goals
integer——
e.g. — (all-null in sample)
shootout_goals_against
integer——
e.g. — (all-null in sample)
shootout_saves
integer——
e.g. — (all-null in sample)
short_handed_assists
integer——
e.g. — (all-null in sample)
short_handed_goals
integer——
e.g. — (all-null in sample)
short_handed_goals_against
integer——
e.g. — (all-null in sample)
short_handed_pts
integer——
e.g. — (all-null in sample)
short_handed_saves
integer——
e.g. — (all-null in sample)
short_handed_shots_against
integer——
e.g. — (all-null in sample)
short_handed_time_on_ice_seconds
integer——
e.g. — (all-null in sample)
shots
integer——
e.g. — (all-null in sample)
shots_against
integer——
e.g. — (all-null in sample)
shots_on_goal
integer——
e.g. — (all-null in sample)
shutouts
integer——
e.g. — (all-null in sample)
started
integer——
e.g. — (all-null in sample)
takeaways
integer——
e.g. — (all-null in sample)
third_period_goals_against
integer——
e.g. — (all-null in sample)
time_on_ice_seconds
integer——
e.g. — (all-null in sample)
wins
integer——
e.g. — (all-null in sample)
GET/api/v1/nhl/game_player_stats/{id}
Parameters
idpathbigintrequired
Primary key (id) of the game_player_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_player_stats/{pk_value}'
Responses
200Single game_player_stat row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(67 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
game_id
bigint—
e.g. — (all-null in sample)
opponent_id
bigintnullable——
e.g. — (all-null in sample)
player_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)
empty_net_goals
integer——
e.g. — (all-null in sample)
even_strength_assists
integer——
e.g. — (all-null in sample)
even_strength_goals
integer——
e.g. — (all-null in sample)
even_strength_time_on_ice_seconds
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)
first_period_goals_against
integer——
e.g. — (all-null in sample)
game_winning_goals
integer——
e.g. — (all-null in sample)
games
integer—1 if player appeared, 0 if not
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)
goals_against_average
decimal——
e.g. — (all-null in sample)
hits
integer——
e.g. — (all-null in sample)
home_or_away
stringnullable——
e.g. — (all-null in sample)
is_game_over
boolean——
e.g. — (all-null in sample)
losses
integer——
e.g. — (all-null in sample)
major_penalties
integer——
e.g. — (all-null in sample)
minor_penalties
integer——
e.g. — (all-null in sample)
minutes_played
integer—Goalie minutes played
e.g. — (all-null in sample)
overtime_goals
integer——
e.g. — (all-null in sample)
overtime_goals_against
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_minutes
integer——
e.g. — (all-null in sample)
plus_minus
integer——
e.g. — (all-null in sample)
power_play_assists
integer——
e.g. — (all-null in sample)
power_play_goals
integer——
e.g. — (all-null in sample)
power_play_goals_against
integer——
e.g. — (all-null in sample)
power_play_pts
integer——
e.g. — (all-null in sample)
power_play_saves
integer——
e.g. — (all-null in sample)
power_play_shots_against
integer——
e.g. — (all-null in sample)
power_play_time_on_ice_seconds
integer——
e.g. — (all-null in sample)
pts
integer——
e.g. — (all-null in sample)
save_percentage
decimal——
e.g. — (all-null in sample)
saves
integer——
e.g. — (all-null in sample)
second_period_goals_against
integer——
e.g. — (all-null in sample)
shifts
integer——
e.g. — (all-null in sample)
shooting_percentage
decimal——
e.g. — (all-null in sample)
shootout_attempts
integer——
e.g. — (all-null in sample)
shootout_goals
integer——
e.g. — (all-null in sample)
shootout_goals_against
integer——
e.g. — (all-null in sample)
shootout_saves
integer——
e.g. — (all-null in sample)
short_handed_assists
integer——
e.g. — (all-null in sample)
short_handed_goals
integer——
e.g. — (all-null in sample)
short_handed_goals_against
integer——
e.g. — (all-null in sample)
short_handed_pts
integer——
e.g. — (all-null in sample)
short_handed_saves
integer——
e.g. — (all-null in sample)
short_handed_shots_against
integer——
e.g. — (all-null in sample)
short_handed_time_on_ice_seconds
integer——
e.g. — (all-null in sample)
shots
integer——
e.g. — (all-null in sample)
shots_against
integer——
e.g. — (all-null in sample)
shots_on_goal
integer——
e.g. — (all-null in sample)
shutouts
integer——
e.g. — (all-null in sample)
started
integer——
e.g. — (all-null in sample)
takeaways
integer——
e.g. — (all-null in sample)
third_period_goals_against
integer——
e.g. — (all-null in sample)
time_on_ice_seconds
integer——
e.g. — (all-null in sample)
wins
integer——
e.g. — (all-null in sample)