NHL team_coaching_staffs API
team_coaching_staffs
nhl.team_coaching_staffsThe 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_staffsList team_coaching_staffs for NHL
Requires one of:
team_id or season_id — requests satisfying none of these return 400.Parameters
team_idquerybigintoptionalFilter by team.
season_idquerybigintoptionalFilter to a season by year (e.g., 2026 for the 2026-27 season).
coach_typequerystringoptionalFilter by coach role. Values: head_coach.
limitqueryintegeroptionaldefault 50Page size. Defaults to 50; max 5000.
from_idquerybigintoptionalReturn 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/jsonResponse Schema(8 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
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}Get a single team_coaching_staff by id
Parameters
idpathbigintrequiredPrimary 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 ▸
| Field | Type | References | Description |
|---|---|---|---|
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 |