STAT-API

NHL teams API

teamsnhl.teams
The 32 NHL franchises, organized into the Eastern and Western Conferences with two divisions each (Atlantic, Metropolitan, Central, Pacific).
⚠️ This endpoint is documented but not yet live. Calls return 503 until data is wired in.
GET/api/v1/nhl/teams
Parameters
activequerybooleanoptional
Filter by active status (defaults to true to show only currently-active rows; pass active=false to include inactive).
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/teams?limit=3'
Responses
200teams rows matching the declared filter set, wrapped in { teams, 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/json
503Coming soon — handler returns 503 until data is wired in.
Response Schema(18 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
arena_id
bigintnullable—
e.g. — (all-null in sample)
league_team_id
integernullable—Official NHL team ID (issued by the league)
e.g. — (all-null in sample)
abbreviation
string——
e.g. — (all-null in sample)
active
boolean——
e.g. — (all-null in sample)
city
string——
e.g. — (all-null in sample)
conference
string——
e.g. — (all-null in sample)
division
string——
e.g. — (all-null in sample)
full_name
string——
e.g. — (all-null in sample)
head_coach
stringnullable——
e.g. — (all-null in sample)
logo_url
stringnullable—URL to team logo image
e.g. — (all-null in sample)
name
string——
e.g. — (all-null in sample)
primary_color
stringnullable——
e.g. — (all-null in sample)
quaternary_color
stringnullable——
e.g. — (all-null in sample)
secondary_color
stringnullable——
e.g. — (all-null in sample)
tertiary_color
stringnullable——
e.g. — (all-null in sample)
wikipedia_logo_url
stringnullable——
e.g. — (all-null in sample)
wikipedia_wordmark_url
stringnullable——
e.g. — (all-null in sample)
GET/api/v1/nhl/teams/{id}
Parameters
idpathbigintrequired
Primary key (id) of the team 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/teams/{pk_value}'
Responses
200Single team row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(18 fields)show schema ▸
FieldTypeReferencesDescription
idkey
bigint—Primary Key
arena_id
bigintnullable—
e.g. — (all-null in sample)
league_team_id
integernullable—Official NHL team ID (issued by the league)
e.g. — (all-null in sample)
abbreviation
string——
e.g. — (all-null in sample)
active
boolean——
e.g. — (all-null in sample)
city
string——
e.g. — (all-null in sample)
conference
string——
e.g. — (all-null in sample)
division
string——
e.g. — (all-null in sample)
full_name
string——
e.g. — (all-null in sample)
head_coach
stringnullable——
e.g. — (all-null in sample)
logo_url
stringnullable—URL to team logo image
e.g. — (all-null in sample)
name
string——
e.g. — (all-null in sample)
primary_color
stringnullable——
e.g. — (all-null in sample)
quaternary_color
stringnullable——
e.g. — (all-null in sample)
secondary_color
stringnullable——
e.g. — (all-null in sample)
tertiary_color
stringnullable——
e.g. — (all-null in sample)
wikipedia_logo_url
stringnullable——
e.g. — (all-null in sample)
wikipedia_wordmark_url
stringnullable——
e.g. — (all-null in sample)