NHL operator_team_lookups API
operator_team_lookups
nhl.operator_team_lookupsHow each sportsbook and fantasy operator names every NHL team — the mapping from each operator's team code to the unified franchise record.
GET/api/v1/nhl/operator_team_lookupsList operator_team_lookups for NHL
Requires one of:
operator_id — requests satisfying none of these return 400.Parameters
operator_idquerybigintoptionalFilter by operator.
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/operator_team_lookups?operator_id=1'Responses
200operator_team_lookups rows matching the declared filter set, wrapped in { operator_team_lookups, 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(6 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
operator_id | bigint | Operator id: 1 DraftKings, 2 FanDuel, 3 Yahoo; every id is listed at /api/v1/reference/operators. e.g. 1 | |
operator_team_id | string | — | External team ID from operator e.g. 4007 |
team_id | bigint | Internal nhl.teams.id reference e.g. 25 | |
abbreviation | stringnullable | — | Team abbreviation for reconciliation e.g. ANA |
team_name | stringnullable | — | Team name for reconciliation e.g. Anaheim Ducks |
GET/api/v1/nhl/operator_team_lookups/{id}Get a single operator_team_lookup by id
Parameters
idpathbigintrequiredPrimary key (id) of the operator_team_lookup 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/operator_team_lookups/{pk_value}'Responses
200Single operator_team_lookup row.application/jsonshow example ▸
404Row not found.
Response Schema(6 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
operator_id | bigint | Operator id: 1 DraftKings, 2 FanDuel, 3 Yahoo; every id is listed at /api/v1/reference/operators. e.g. 1 | |
operator_team_id | string | — | External team ID from operator e.g. 4007 |
team_id | bigint | Internal nhl.teams.id reference e.g. 25 | |
abbreviation | stringnullable | — | Team abbreviation for reconciliation e.g. ANA |
team_name | stringnullable | — | Team name for reconciliation e.g. Anaheim Ducks |