STAT-API

NHL team_standings API

team_standingsnhl.team_standings
Each NHL team's record entering each of its game days — wins, losses, overtime losses, points, point percentage, goals for and against, home/away splits, last-10 record, streak and games left. Computed from the games, with no look-ahead.
GET/api/v1/nhl/team_standings
Requires one of: season_id — requests satisfying none of these return 400.
Parameters
season_idquerybigintoptional
Filter to a single season. Defaults to the current season.
team_idquerybigintoptional
Filter by team.
dayqueryintegeroptional
Standings entering this day (YYYYMMDD integer). Range syntax: day__gte=, day__lte=, day__between=.
limitqueryintegeroptionaldefault 100
Page size. Defaults to 100; 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/team_standings?season_id=2026'
Responses
200team_standings rows matching the declared filter set, wrapped in { team_standings, limit, next_from_id, has_more }. has_more is true when another row follows this page. To walk every row, start with ?from_id=0 and pass each next_from_id back as from_id until it is null; the filters stay. A first page without from_id comes in the default order and gives next_from_id null.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(25 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
season_id
bigint—
e.g. 2021
team_id
bigint—
e.g. 4
away_losses
integer——
e.g. 11
away_overtime_losses
integer——
e.g. 2
away_wins
integer——
e.g. 3
day
integer—YYYYMMDD — the record entering this day (games before it)
e.g. 20220429
games_played
integer——
e.g. 82
games_remaining
integer——
e.g. 0
goals_against
integer——
e.g. 0
goals_for
integer——
e.g. 0
home_losses
integer——
e.g. 3
home_overtime_losses
integer——
e.g. 1
home_wins
integer——
e.g. 10
l10_losses
integer——
e.g. 3
l10_overtime_losses
integer——
e.g. 1
l10_wins
integer——
e.g. 6
losses
integer——
e.g. 21
overtime_losses
integer——
e.g. 0
pts
integer——
e.g. 0
pts_percentage
decimalnullable——
e.g. 0.5000
regulation_wins
integer——
e.g. 7
season_type
string—regular_season or postseason (the record is the regular-season record)
Values:regular_seasonpostseason
streak
stringnullable—e.g. W3, L1, OT2
e.g. W1
wins
integer——
e.g. 10
GET/api/v1/nhl/team_standings/{id}
Parameters
idpathbigintrequired
Primary key (id) of the team_standing 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/team_standings/{pk_value}'
Responses
200Single team_standing row.application/jsonshow example ▸
404Row not found.
Response Schema(25 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
season_id
bigint—
e.g. 2021
team_id
bigint—
e.g. 4
away_losses
integer——
e.g. 11
away_overtime_losses
integer——
e.g. 2
away_wins
integer——
e.g. 3
day
integer—YYYYMMDD — the record entering this day (games before it)
e.g. 20220429
games_played
integer——
e.g. 82
games_remaining
integer——
e.g. 0
goals_against
integer——
e.g. 0
goals_for
integer——
e.g. 0
home_losses
integer——
e.g. 3
home_overtime_losses
integer——
e.g. 1
home_wins
integer——
e.g. 10
l10_losses
integer——
e.g. 3
l10_overtime_losses
integer——
e.g. 1
l10_wins
integer——
e.g. 6
losses
integer——
e.g. 21
overtime_losses
integer——
e.g. 0
pts
integer——
e.g. 0
pts_percentage
decimalnullable——
e.g. 0.5000
regulation_wins
integer——
e.g. 7
season_type
string—regular_season or postseason (the record is the regular-season record)
Values:regular_seasonpostseason
streak
stringnullable—e.g. W3, L1, OT2
e.g. W1
wins
integer——
e.g. 10