Skip to main content
Version: 0.1.5

NHL — NHL Web API — Draft

nhl_draft_picks​

Pull NHL draft picks for a year (and optionally one round).

Endpoint URL: GET https://api-web.nhle.com/v1/draft/picks/{year}/{round_}

Valid URL: https://api-web.nhle.com/v1/draft/picks/2024/all

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
round_round_Yround_ path parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
roundintegerDraft round the pick was made in (1 = first round).
pick_in_roundintegerPick number within the round.
overall_pickintegerOverall pick number in the draft.
team_idintegerUnique team identifier.
team_abbrevcharacterTeam abbreviation.
team_logo_lightcharacterURL to the team logo (light variant).
team_logo_darkcharacterURL to the team logo (dark variant).
team_pick_historycharacterHistory of the team's picks at this slot.
position_codecharacterPlayer position code.
country_codecharacterPlayer country code.
heightintegerPlayer height in inches.
weightintegerPlayer weight in pounds.
amateur_leaguecharacterAmateur league the player played in.
amateur_club_namecharacterAmateur club the player played for.
team_name_defaultcharacterTeam name (default locale).
team_name_frcharacterTeam name (French locale).
team_common_name_defaultcharacterTeam common name (default language).
team_place_name_with_preposition_defaultcharacterTeam place name with preposition (default).
team_place_name_with_preposition_frcharacterTeam place name with preposition (French).
display_abbrev_defaultcharacterShort display abbreviation for the selected player's nationality or amateur league affiliation shown in the NHL draft picks listing.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).
team_common_name_frcharacterTeam common name (French localization).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_draft_picks(year=2024)

Last validated n/a.

nhl_draft_rankings​

Pull NHL Central Scouting rankings for a draft year.

Endpoint URL: GET https://api-web.nhle.com/v1/draft/rankings/{year}/{category}

Valid URL: https://api-web.nhle.com/v1/draft/rankings/2024/1

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
categorycategoryYcategory path parameter.

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
draft_yearintegerDraft year the lottery applies to.
category_idintegerProspect category identifier.
category_keycharacterMachine-readable slug identifying the scouting or ranking category (e.g., 'north-american-skater', 'international-skater') that the prospect belongs to in the NHL draft rankings.
last_namecharacterPlayer last name.
first_namecharacterPlayer first name.
position_codecharacterPlayer position code.
shoots_catchescharacterHandedness (shoots/catches).
height_in_inchesintegerHeight in inches.
weight_in_poundsintegerWeight in pounds.
last_amateur_clubcharacterProspect's most recent amateur club.
last_amateur_leaguecharacterProspect's most recent amateur league.
birth_datecharacterPlayer birth date.
birth_citycharacterBirth city.
birth_state_provincecharacterBirth state or province of the player.
birth_countrycharacterPlayer birth country.
midterm_rankdoubleProspect's midterm draft ranking.
final_rankdoubleProspect's final draft ranking.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_draft_rankings(year=2024)

Last validated n/a.

nhl_draft_picks_now​

Pull the current / most recent draft pick set.

Endpoint URL: GET https://api-web.nhle.com/v1/draft/picks/now

Valid URL: https://api-web.nhle.com/v1/draft/picks/now

API ParameterPythonPatternRequiredNullableDescription

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
roundintegerShootout round number.
pick_in_roundintegerPick number within the round.
overall_pickintegerOverall pick number in the draft.
team_idintegerUnique team identifier.
team_abbrevcharacterTeam abbreviation.
team_logo_lightcharacterURL to the team logo (light variant).
team_logo_darkcharacterURL to the team logo (dark variant).
team_pick_historycharacterHistory of the team's picks at this slot.
position_codecharacterPlayer position code.
country_codecharacterPlayer country code.
heightintegerPlayer height in inches.
weightintegerPlayer weight in pounds.
amateur_leaguecharacterAmateur league the player played in.
amateur_club_namecharacterAmateur club the player played for.
team_name_defaultcharacterTeam name (default locale).
team_name_frcharacterTeam name (French locale).
team_common_name_defaultcharacterTeam common name (default language).
team_place_name_with_preposition_defaultcharacterTeam place name with preposition (default).
team_place_name_with_preposition_frcharacterTeam place name with preposition (French).
display_abbrev_defaultcharacterDefault-language display abbreviation for the team that currently holds this draft pick.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_draft_picks_now()

Last validated n/a.

nhl_draft_rankings_now​

Pull the current Central Scouting rankings.

Endpoint URL: GET https://api-web.nhle.com/v1/draft/rankings/now

Valid URL: https://api-web.nhle.com/v1/draft/rankings/now

API ParameterPythonPatternRequiredNullableDescription

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
draft_yearintegerDraft year the lottery applies to.
category_idintegerProspect category identifier.
category_keycharacterShort identifier string for the scouting category or ranking list under which the prospect is evaluated (e.g., 'NA-SKATER', 'GOALIE').
last_namecharacterPlayer last name.
first_namecharacterPlayer first name.
position_codecharacterPlayer position code.
shoots_catchescharacterHandedness (shoots/catches).
height_in_inchesintegerHeight in inches.
weight_in_poundsintegerWeight in pounds.
last_amateur_clubcharacterProspect's most recent amateur club.
last_amateur_leaguecharacterProspect's most recent amateur league.
birth_datecharacterPlayer birth date.
birth_citycharacterBirth city.
birth_state_provincecharacterBirth state or province of the player.
birth_countrycharacterPlayer birth country.
midterm_rankdoubleProspect's midterm draft ranking.
final_rankdoubleProspect's final draft ranking.

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_draft_rankings_now()

Last validated n/a.

nhl_draft_tracker_picks_now​

Pull the live draft-tracker pick list (during the draft itself).

Endpoint URL: GET https://api-web.nhle.com/v1/draft-tracker/picks/now

Valid URL: https://api-web.nhle.com/v1/draft-tracker/picks/now

API ParameterPythonPatternRequiredNullableDescription

Returns​

return_parsed=True (default) — a tidy polars.DataFrame with the columns below; pass return_as_pandas=True for a pandas.DataFrame.

col_nametypedescription
pick_in_roundintegerPick number within the round.
overall_pickintegerOverall pick number in the draft.
team_idintegerUnique team identifier.
team_abbrevcharacterTeam abbreviation.
team_logo_lightcharacterURL to the team logo (light variant).
team_logo_darkcharacterURL to the team logo (dark variant).
statecharacterPick state (e.g., on the clock, complete).
position_codecharacterPlayer position code.
team_full_name_defaultcharacterTeam full name (default language).
team_full_name_frcharacterTeam full name (French).
team_common_name_defaultcharacterTeam common name (default language).
team_place_name_with_preposition_defaultcharacterTeam place name with preposition (default).
team_place_name_with_preposition_frcharacterTeam place name with preposition (French).
last_name_defaultcharacterPlayer last name (default language).
first_name_defaultcharacterPlayer first name (default language).

return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_draft_tracker_picks_now()

Last validated n/a.