NHL draft_picks API
draft_picks
nhl.draft_picksEvery NHL Draft selection — round, pick number, drafting team, the league/country the player came from, and the career stats that followed.
⚠️ This endpoint is documented but not yet live. Calls return
503 until data is wired in.GET/api/v1/nhl/draft_picksList draft_picks for NHL
Requires one of:
year — requests satisfying none of these return 400.Parameters
yearqueryintegeroptionalFilter to a single draft year.
team_idquerybigintoptionalFilter by drafting team.
player_idquerybigintoptionalFilter to a single player.
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/draft_picks?year=1'Responses
200draft_picks rows matching the declared filter set, wrapped in { draft_picks, 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(9 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
draft_id | integernullable | — | — e.g. — (all-null in sample) |
original_team_id | integernullable | Team that originally owned the pick e.g. — (all-null in sample) | |
player_id | bigintnullable | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
overall_pick | integer | — | — e.g. — (all-null in sample) |
pick_in_round | integer | — | — e.g. — (all-null in sample) |
round | integer | — | — e.g. — (all-null in sample) |
year | integer | — | — e.g. — (all-null in sample) |
GET/api/v1/nhl/draft_picks/{id}Get a single draft_pick by id
Parameters
idpathbigintrequiredPrimary key (id) of the draft_pick 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/draft_picks/{pk_value}'Responses
200Single draft_pick row.application/jsonshow example ▸
404Row not found.
503Coming soon — handler returns 503 until data is wired in.
Response Schema(9 fields)show schema ▸
| Field | Type | References | Description |
|---|---|---|---|
idkey | bigint | — | Primary Key |
draft_id | integernullable | — | — e.g. — (all-null in sample) |
original_team_id | integernullable | Team that originally owned the pick e.g. — (all-null in sample) | |
player_id | bigintnullable | — e.g. — (all-null in sample) | |
team_id | bigint | — e.g. — (all-null in sample) | |
overall_pick | integer | — | — e.g. — (all-null in sample) |
pick_in_round | integer | — | — e.g. — (all-null in sample) |
round | integer | — | — e.g. — (all-null in sample) |
year | integer | — | — e.g. — (all-null in sample) |