NHL player_injuries API
player_injuries
nhl.player_injuriesThe ongoing injury record for each NHL player — body part, severity, designation (day-to-day, IR, LTIR), and expected return timeline.
⚠️ This endpoint is documented but not yet live. Calls return
503 until data is wired in.GET/api/v1/nhl/player_injuriesList player_injuries for NHL
Requires one of:
player_id — requests satisfying none of these return 400.Parameters
player_idquerybigintoptionalFilter to a single player.
team_idquerybigintoptionalFilter by team.
season_idquerybigintoptionalFilter to a season.
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/player_injuries?player_id=1'Responses
200player_injuries rows matching the declared filter set, wrapped in { player_injuries, 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/json503Coming soon — handler returns 503 until data is wired in.
Response Schema(16 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
player_id | bigint | — e.g. — (all-null in sample) | |
season_id | bigint | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
body_part | string | — | — e.g. — (all-null in sample) |
description | stringnullable | — | — e.g. — (all-null in sample) |
end_date | timestamptznullable | — | — e.g. — (all-null in sample) |
expected_return_date | timestamptznullable | — | — e.g. — (all-null in sample) |
games_missed | integer | — | — e.g. — (all-null in sample) |
injury_type | stringnullable | — | — e.g. — (all-null in sample) |
is_surgery_required | booleannullable | — | — e.g. — (all-null in sample) |
side | stringnullable | — | — e.g. — (all-null in sample) |
source | stringnullable | — | — e.g. — (all-null in sample) |
start_date | timestamptz | — | — e.g. — (all-null in sample) |
status | string | — | — e.g. — (all-null in sample) |
updated_date | timestamptz | — | — e.g. — (all-null in sample) |
GET/api/v1/nhl/player_injuries/{id}Get a single player_injury by id
Parameters
idpathbigintrequiredPrimary key (id) of the player_injury 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/player_injuries/{pk_value}'Responses
200Single player_injury row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(16 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
player_id | bigint | — e.g. — (all-null in sample) | |
season_id | bigint | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
body_part | string | — | — e.g. — (all-null in sample) |
description | stringnullable | — | — e.g. — (all-null in sample) |
end_date | timestamptznullable | — | — e.g. — (all-null in sample) |
expected_return_date | timestamptznullable | — | — e.g. — (all-null in sample) |
games_missed | integer | — | — e.g. — (all-null in sample) |
injury_type | stringnullable | — | — e.g. — (all-null in sample) |
is_surgery_required | booleannullable | — | — e.g. — (all-null in sample) |
side | stringnullable | — | — e.g. — (all-null in sample) |
source | stringnullable | — | — e.g. — (all-null in sample) |
start_date | timestamptz | — | — e.g. — (all-null in sample) |
status | string | — | — e.g. — (all-null in sample) |
updated_date | timestamptz | — | — e.g. — (all-null in sample) |