STAT-API

NHL team_coaching_staffs API

team_coaching_staffsnhl.team_coaching_staffs
The head coach of each NHL team in each season since 2021-22 — the first and last game day the coach ran the bench and the number of games coached. A mid-season change gives the team two rows that season.
GET/api/v1/nhl/team_coaching_staffs
Requires one of: team_id or season_id — requests satisfying none of these return 400.
Parameters
team_idquerybigintoptional
Filter by team.
season_idquerybigintoptional
Filter to a season by year (e.g., 2026 for the 2026-27 season).
coach_typequerystringoptional
Filter by coach role. Values: head_coach.
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/team_coaching_staffs?team_id=1'
Responses
200team_coaching_staffs rows matching the declared filter set, wrapped in { team_coaching_staffs, 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(8 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
coaching_staff_id
bigint—
e.g. 3
season_id
bigint—
e.g. 2021
team_id
bigint—
e.g. 22
coach_type
string—head_coach
e.g. head_coach
first_day
integer—YYYYMMDD date of the coach's first game with the team that season
e.g. 20251009
games
integer—Games coached for the team that season
e.g. 82
last_day
integer—YYYYMMDD date of the coach's last game with the team that season (so far)
e.g. 20261117
GET/api/v1/nhl/team_coaching_staffs/{id}
Parameters
idpathbigintrequired
Primary key (id) of the team_coaching_staff 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_coaching_staffs/{pk_value}'
Responses
200Single team_coaching_staff row.application/jsonshow example ▸
404Row not found.
Response Schema(8 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
coaching_staff_id
bigint—
e.g. 3
season_id
bigint—
e.g. 2021
team_id
bigint—
e.g. 22
coach_type
string—head_coach
e.g. head_coach
first_day
integer—YYYYMMDD date of the coach's first game with the team that season
e.g. 20251009
games
integer—Games coached for the team that season
e.g. 82
last_day
integer—YYYYMMDD date of the coach's last game with the team that season (so far)
e.g. 20261117