NHL line_combinations API
line_combinations
nhl.line_combinationsNHL forward and defensive pair groupings — which players skate together as a line (first, second, third, fourth) or defensive pairing for each team.
⚠️ This endpoint is documented but not yet live. Calls return
503 until data is wired in.GET/api/v1/nhl/line_combinationsList line_combinations for NHL
Requires one of:
team_id + season_id — requests satisfying none of these return 400.Parameters
team_idquerybigintoptionalFilter by team.
season_idquerybigintoptionalFilter to a season. Defaults to the current 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/line_combinations?team_id=1&season_id=2026'Responses
200line_combinations rows matching the declared filter set, wrapped in { line_combinations, 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(11 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
player1_id | bigint | — | — e.g. — (all-null in sample) |
player2_id | bigintnullable | — | — e.g. — (all-null in sample) |
player3_id | bigintnullable | — | — e.g. — (all-null in sample) |
player4_id | bigintnullable | — | — e.g. — (all-null in sample) |
player5_id | bigintnullable | — | — e.g. — (all-null in sample) |
season_id | bigint | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
day | date | — | — e.g. — (all-null in sample) |
line_number | integer | — | — e.g. — (all-null in sample) |
line_type | string | — | — e.g. — (all-null in sample) |
GET/api/v1/nhl/line_combinations/{id}Get a single line_combination by id
Parameters
idpathbigintrequiredPrimary key (id) of the line_combination 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/line_combinations/{pk_value}'Responses
200Single line_combination row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(11 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
player1_id | bigint | — | — e.g. — (all-null in sample) |
player2_id | bigintnullable | — | — e.g. — (all-null in sample) |
player3_id | bigintnullable | — | — e.g. — (all-null in sample) |
player4_id | bigintnullable | — | — e.g. — (all-null in sample) |
player5_id | bigintnullable | — | — e.g. — (all-null in sample) |
season_id | bigint | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
day | date | — | — e.g. — (all-null in sample) |
line_number | integer | — | — e.g. — (all-null in sample) |
line_type | string | — | — e.g. — (all-null in sample) |