Skip to main content
Version: 0.0.70

NHL — NHL Records API

sportsdataverse.nhl — 44 endpoints.

nhl_records_awards

List all NHL award / trophy records.

Endpoint URL: GET https://records.nhl.com/site/api/award-details

Valid URL: https://records.nhl.com/site/api/award-details

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
idintegerUnique player identifier.
awarded_posthumouslylogicalWhether the award was given posthumously.
coach_iddoubleESPN coach id parsed from the $ref URL.
created_oncharacterDate the trophy record was created.
detail_summarycharacterDetail summary flag.
full_namecharacterPlayer full name.
general_manager_iddoubleGeneral manager identifier, if applicable.
image_urlcharacterPlayer headshot URL.
is_rookielogicalWhether the player is a rookie.
player_iddoubleUnique player identifier.
player_image_captioncharacterPlayer image caption flag.
player_image_urlcharacterURL to the player image.
season_idintegerSeason identifier.
statuscharacterStatus string (e.g. captain markers).
summarycharacterRecord summary string (e.g. "25-15-10").
team_idintegerUnique team identifier.
trophy_category_idintegerTrophy category identifier.
trophy_idintegerTrophy identifier.
valuecharacterLeader stat numeric value.
vote_countdoubleNumber of votes received.

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

Example

nhl_records_awards()

Last validated n/a.

nhl_records_awards_by_franchise

List award records for a single franchise.

Endpoint URL: GET https://records.nhl.com/site/api/award-details/{franchise_id}

Valid URL: https://records.nhl.com/site/api/award-details/1

API ParameterPythonPatternRequiredNullableDescription
franchise_idfranchise_idYfranchise_id path parameter.

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_nhl_records); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

nhl_records_awards_by_franchise(franchise_id=1)

Last validated n/a.

nhl_records_awards_trophy_season

Retrieve the trophy winner for a specific season.

Endpoint URL: GET https://records.nhl.com/site/api/award-details/trophy/{trophy_id}/season/{season_id}

Valid URL: https://records.nhl.com/site/api/award-details/trophy/1/season/X

API ParameterPythonPatternRequiredNullableDescription
trophy_idtrophy_idYtrophy_id path parameter.
season_idseason_idYseason_id 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
idintegerUnique player identifier.
awarded_posthumouslylogicalWhether the award was given posthumously.
coach_idintegerESPN coach id parsed from the $ref URL.
created_oncharacterDate the trophy record was created.
detail_summarycharacterDetail summary flag.
full_namecharacterPlayer full name.
general_manager_idintegerGeneral manager identifier, if applicable.
image_urlcharacterPlayer headshot URL.
is_rookielogicalWhether the player is a rookie.
player_idcharacterUnique player identifier.
player_image_captioncharacterPlayer image caption flag.
player_image_urlcharacterURL to the player image.
season_idintegerSeason identifier.
statuscharacterStatus string (e.g. captain markers).
summarycharacterRecord summary string (e.g. "25-15-10").
team_idintegerUnique team identifier.
trophy_category_idintegerTrophy category identifier.
trophy_idintegerTrophy identifier.
valuecharacterLeader stat numeric value.
vote_countintegerNumber of votes received.

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

Example

nhl_records_awards_trophy_season(trophy_id=1, season_id='X')

Last validated n/a.

nhl_records_coaches

List NHL head coaches.

Endpoint URL: GET https://records.nhl.com/site/api/coach

Valid URL: https://records.nhl.com/site/api/coach

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
idintegerUnique player identifier.
biocharacterLong-form biographical narrative for the coach, as provided by the NHL api-web endpoint.
birth_citycharacterBirth city.
birth_country3codecharacterProspect birth country three-letter code.
birth_datecharacterPlayer birth date.
birth_state_province_codecharacterTwo-letter state or province code of the coach's birth location (e.g., 'ON' for Ontario, 'MI' for Michigan).
brief_descriptioncharacterBrief description of the trophy.
date_of_deathcharacterDate of death, if applicable.
deceasedlogicalWhether the player is deceased.
descriptioncharacterFull text description of the event.
featured_imagecharacterURL of the coach's featured promotional or profile image on the NHL platform.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
historycharacterESPN's long-form history text for the award.
hockey_hof_linkcharacterURL to the coach's Hockey Hall of Fame profile page, if they are an inductee.
in_hockey_hoflogicalWhether the player is in the Hockey Hall of Fame.
in_iihf_hockey_hoflogicalBoolean flag indicating whether the coach is inducted into the IIHF Hockey Hall of Fame.
in_us_hockey_hoflogicalWhether the player is in the US Hockey Hall of Fame.
instagramcharacterInstagram handle or profile URL for the coach's official social media presence.
is_activelogicalWhether the team is active.
last_namecharacterPlayer last name.
nationality_codecharacterNationality code of the official.
player_iddoubleUnique player identifier.
stanley_cupdoubleNumber of Stanley Cup championships won by the coach as a head coach or assistant coach.
team_idcharacterUnique team identifier.
top100_player_linkcharacterURL to the coach's NHL Top 100 players recognition page, if applicable.
twittercharacterTwitter/X handle or profile URL for the coach's official social media presence.

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

Example

nhl_records_coaches()

Last validated n/a.

nhl_records_coach

Retrieve one coach by their numeric ID.

Endpoint URL: GET https://records.nhl.com/site/api/coach/{coach_id}

Valid URL: https://records.nhl.com/site/api/coach/X

API ParameterPythonPatternRequiredNullableDescription
coach_idcoach_idYcoach_id 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
idintegerUnique player identifier.
biocharacterFree-text biographical summary of the coach's career and background.
birth_citycharacterBirth city.
birth_country3codecharacterProspect birth country three-letter code.
birth_datecharacterPlayer birth date.
birth_state_province_codecharacterTwo-letter state or province code indicating the coach's place of birth.
brief_descriptioncharacterBrief description of the trophy.
date_of_deathcharacterDate of death, if applicable.
deceasedlogicalWhether the player is deceased.
descriptioncharacterFull text description of the event.
featured_imagecharacterURL of the featured promotional image associated with the coach's NHL profile.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
historycharacterESPN's long-form history text for the award.
hockey_hof_linkcharacterURL to the coach's page on the Hockey Hall of Fame website, if inducted.
in_hockey_hoflogicalWhether the player is in the Hockey Hall of Fame.
in_iihf_hockey_hoflogicalBoolean flag indicating whether the coach is inducted into the IIHF Hockey Hall of Fame.
in_us_hockey_hoflogicalWhether the player is in the US Hockey Hall of Fame.
instagramcharacterInstagram profile handle or URL associated with the coach.
is_activelogicalWhether the team is active.
last_namecharacterPlayer last name.
nationality_codecharacterNationality code of the official.
player_idintegerUnique player identifier.
stanley_cupintegerNumber of Stanley Cup championships won by the coach as a head coach.
team_idcharacterUnique team identifier.
top100_player_linkcharacterURL to the coach's entry on the NHL's Top 100 Players list, if applicable.
twittercharacterTwitter (X) handle or URL associated with the coach.

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

Example

nhl_records_coach(coach_id='X')

Last validated n/a.

nhl_records_coach_career

Coach career-records (regular season).

Endpoint URL: GET https://records.nhl.com/site/api/coach-career-records/{coach_id}

Valid URL: https://records.nhl.com/site/api/coach-career-records

API ParameterPythonPatternRequiredNullableDescription
coach_idcoach_idYcoach_id 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
idintegerUnique player identifier.
active_coachlogicalIndicates whether the coach is currently active as an NHL head coach.
coach_namecharacterFull display name of the NHL head coach.
end_seasonintegerThe most recent season the coach held a head-coaching position, encoded as an eight-digit season ID.
first_namecharacterPlayer first name.
game_type_idintegerGame type identifier (regular/playoffs).
gamesintegerGames played.
home_gamesintegerTotal home games.
home_lossesintegerLosses at home.
home_ot_lossesdoubleHome overtime losses.
home_tiesdoubleTies at home.
home_win_pctgdoubleWin percentage for all regular-season home games coached.
home_winsintegerWins at home.
jack_adamsintegerNumber of Jack Adams Award trophies won by the coach as NHL coach of the year.
last_coached_datecharacterDate of the coach's most recent game on the bench, in ISO 8601 format.
last_namecharacterPlayer last name.
lossesintegerLosses.
losses_in_otintegerTotal regular-season games the coach's team lost in overtime.
losses_in_ot_plus_shootoutintegerTotal regular-season games the coach's team lost in overtime or a shootout combined.
losses_in_shootoutdoubleTotal regular-season games the coach's team lost via shootout.
ot_lossesdoubleOvertime losses.
road_gamesintegerTotal regular-season road games coached.
road_lossesintegerLosses on the road.
road_ot_lossesdoubleRoad overtime losses.
road_tiesdoubleTies on the road.
road_win_pctgdoubleWin percentage for all regular-season road games coached.
road_winsintegerWins on the road.
seasonsintegerNumber of NHL seasons the coach has served as a head coach.
stanley_cup_final_appearancesintegerNumber of times the coach has led a team to the Stanley Cup Final.
stanley_cupsintegerNumber of Stanley Cup championships won as head coach.
start_seasonintegerThe first season the coach served as an NHL head coach, encoded as an eight-digit season ID.
team_abbrevscharacterTeam abbreviation(s).
tiesdoubleTotal ties.
ties_in_otintegerTotal regular-season overtime-period ties recorded under pre-shootout rules.
win_pctgdoubleOverall regular-season win percentage across the coach's entire career.
winsintegerWins.
wins_in_otintegerTotal regular-season games the coach's team won in overtime.
wins_in_ot_plus_shootoutintegerTotal regular-season games the coach's team won in overtime or a shootout combined.
wins_in_shootoutdoubleWins in shootout.

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

Example

nhl_records_coach_career()

Last validated n/a.

nhl_records_coach_career_with_playoffs

Coach career records inclusive of regular season + playoffs.

Endpoint URL: GET https://records.nhl.com/site/api/coach-career-records-regular-plus-playoffs

Valid URL: https://records.nhl.com/site/api/coach-career-records-regular-plus-playoffs

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
idintegerUnique player identifier.
active_coachlogicalIndicates whether the coach is currently active as an NHL head coach.
coach_idintegerESPN coach id parsed from the $ref URL.
coach_namecharacterFull display name of the NHL head coach.
end_seasonintegerThe most recent season the coach held a head-coaching position, encoded as an eight-digit season ID.
gamesintegerGames played.
lossesintegerLosses.
ot_lossesdoubleOvertime losses.
seasonsintegerNumber of NHL seasons the coach has served as a head coach, including playoff appearances.
start_seasonintegerThe first season the coach served as an NHL head coach, encoded as an eight-digit season ID.
team_abbrevscharacterTeam abbreviation(s).
tiesdoubleTotal ties.
winsintegerWins.

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

Example

nhl_records_coach_career_with_playoffs()

Last validated n/a.

nhl_records_coach_franchise

Coach records scoped to individual franchise stints.

Endpoint URL: GET https://records.nhl.com/site/api/coach-franchise-records/{coach_id}

Valid URL: https://records.nhl.com/site/api/coach-franchise-records

API ParameterPythonPatternRequiredNullableDescription
coach_idcoach_idYcoach_id 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
idintegerUnique player identifier.
active_coachlogicalIndicates whether the coach is currently active with the franchise.
coach_namecharacterFull display name of the coach as recorded in NHL records.
end_seasonintegerLast season (in YYYYYYYY format) the coach was behind the bench for this franchise.
first_coached_datecharacterCalendar date on which the coach first handled a game for this franchise.
first_namecharacterPlayer first name.
franchise_idintegerUnique franchise identifier.
franchise_namecharacterFranchise name.
game_type_idintegerGame type identifier (regular/playoffs).
gamesintegerGames played.
home_gamesintegerTotal home games.
home_lossesintegerLosses at home.
home_ot_lossesdoubleHome overtime losses.
home_tiesdoubleTies at home.
home_win_pctgdoubleFraction of home games the coach's franchise won during their tenure.
home_winsintegerWins at home.
jack_adamsintegerNumber of Jack Adams Awards (NHL coach of the year) won by the coach during this franchise tenure.
last_coached_datecharacterCalendar date of the coach's most recent game on the bench for this franchise.
last_namecharacterPlayer last name.
lossesintegerLosses.
losses_in_otintegerNumber of games the coach's franchise lost in overtime during the tenure.
losses_in_ot_plus_shootoutintegerCombined losses in overtime and shootout during the coach's franchise tenure.
losses_in_shootoutdoubleNumber of games the coach's franchise lost in a shootout during the tenure.
ot_lossesdoubleOvertime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
road_gamesintegerTotal regular-season road games coached with this franchise.
road_lossesintegerLosses on the road.
road_ot_lossesdoubleRoad overtime losses.
road_tiesdoubleTies on the road.
road_win_pctgdoubleFraction of away games the coach's franchise won during their tenure.
road_winsintegerWins on the road.
seasonsintegerNumber of NHL seasons the coach spent with this franchise.
stanley_cup_final_appearancesintegerNumber of Stanley Cup Final appearances made while coaching this franchise.
stanley_cupsintegerNumber of Stanley Cup championships won while coaching this franchise.
start_seasonintegerFirst season (in YYYYYYYY format) the coach served with this franchise.
team_abbrevcharacterTeam abbreviation.
team_namecharacterTeam name.
tiesdoubleTotal ties.
ties_in_otintegerNumber of overtime ties recorded under this coach for this franchise (pre-shootout era).
win_pctgdoubleOverall win percentage across all regular-season games coached with this franchise.
winsintegerWins.
wins_in_otintegerNumber of games the coach's franchise won in overtime during the tenure.
wins_in_ot_plus_shootoutintegerCombined wins in overtime and shootout during the coach's franchise tenure.
wins_in_shootoutdoubleWins in shootout.

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

Example

nhl_records_coach_franchise()

Last validated n/a.

nhl_records_coach_stanley_cup

Coach Stanley Cup Final win streak and consecutive-cup records.

Endpoint URL: GET https://records.nhl.com/site/api/coach-stanley-cup-streak

Valid URL: https://records.nhl.com/site/api/coach-stanley-cup-streak

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
idintegerUnique player identifier.
active_coachlogicalBoolean flag indicating whether the coach is currently active as an NHL head coach.
coach_idintegerESPN coach id parsed from the $ref URL.
coach_namecharacterFull name of the head coach in this Stanley Cup championship record.
franchise_iddoubleUnique franchise identifier.
franchise_namecharacterFranchise name.
longest_streakintegerMaximum number of consecutive seasons in which the coach won the Stanley Cup.
longest_streak_descriptioncharacterHuman-readable description of the coach's longest consecutive Stanley Cup winning streak.
seasons_woncharacterComma-separated list of NHL seasons in which the coach won the Stanley Cup as head coach.
stanley_cupsintegerTotal number of Stanley Cup championships won by this coach as head coach.
team_abbrevscharacterTeam abbreviation(s).

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

Example

nhl_records_coach_stanley_cup()

Last validated n/a.

nhl_records_franchises

List all NHL franchises (historical and active).

Endpoint URL: GET https://records.nhl.com/site/api/franchise

Valid URL: https://records.nhl.com/site/api/franchise

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
idintegerUnique player identifier.
first_season_idintegerSeason identifier of the first season.
full_namecharacterPlayer full name.
last_season_iddoubleSeason ID of the franchise's last season.
most_recent_team_idintegerMost recent team identifier.
team_abbrevcharacterTeam abbreviation.
team_common_namecharacterTeam common (nickname) name.
team_place_namecharacterTeam place (city/location) name.

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

Example

nhl_records_franchises()

Last validated n/a.

nhl_records_franchise_detail

Franchise detail records (extended metadata per franchise).

Endpoint URL: GET https://records.nhl.com/site/api/franchise-detail

Valid URL: https://records.nhl.com/site/api/franchise-detail

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
idintegerUnique player identifier.
activelogicalWhether athlete is currently active.
captain_historycharacterFranchise captain history text.
coaching_historycharacterFranchise coaching history text.
date_awardedcharacterDate the franchise was awarded.
directory_urlcharacterFranchise directory URL.
first_season_idintegerSeason identifier of the first season.
general_manager_historycharacterFranchise general manager history text.
hero_image_urlcharacterFranchise hero image URL.
most_recent_team_idintegerMost recent team identifier.
retired_numbers_summarycharacterSummary of retired jersey numbers.
team_abbrevcharacterTeam abbreviation.
team_full_namecharacterFull team name.

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

Example

nhl_records_franchise_detail()

Last validated n/a.

nhl_records_franchise_team_totals

All-time team totals per franchise (regular season).

Endpoint URL: GET https://records.nhl.com/site/api/franchise-team-totals

Valid URL: https://records.nhl.com/site/api/franchise-team-totals

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
idintegerUnique player identifier.
active_franchiseintegerIndicator of whether the franchise is active.
active_teamlogicalIndicator of whether the team is active.
cupsintegerNumber of Stanley Cup championships.
first_season_idintegerSeason identifier of the first season.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
game_win_pctgdoubleGame-winning percentage.
games_playeddoubleGames played.
goals_againstdoubleGoals against.
goals_fordoubleGoals for.
home_lossesdoubleLosses at home.
home_overtime_lossesdoubleOvertime losses at home.
home_tiesdoubleTies at home.
home_winsdoubleWins at home.
last_season_iddoubleSeason ID of the franchise's last season.
lossesdoubleLosses.
overtime_lossesdoubleTotal overtime losses.
penalty_minutesdoublePenalty minutes.
playoff_seasonsdoubleNumber of playoff seasons.
point_pctgdoublePoints percentage.
pointsdoubleTotal points (goals + assists).
road_lossesdoubleLosses on the road.
road_overtime_lossesdoubleOvertime losses on the road.
road_tiesdoubleTies on the road.
road_winsdoubleWins on the road.
series_lossesintegerPlayoff series losses.
series_playeddoublePlayoff series played.
series_win_pctgdoublePlayoff series win percentage.
series_winsintegerPlayoff series wins.
shootout_lossesdoubleShootout losses.
shootout_winsdoubleShootout wins.
shutoutsdoubleShutouts recorded.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesdoubleTotal ties.
tri_codecharacterTeam three-letter code.
winsdoubleWins.

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

Example

nhl_records_franchise_team_totals()

Last validated n/a.

nhl_records_franchise_season_results

Season-by-season results for each franchise.

Endpoint URL: GET https://records.nhl.com/site/api/franchise-season-results

Valid URL: https://records.nhl.com/site/api/franchise-season-results

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
idintegerUnique player identifier.
conference_abbrevcharacterConference abbreviation.
conference_namecharacterConference name.
conference_sequenceintegerTeam's seeding position within the conference.
decisioncharacterGoalie decision (W/L/O).
division_abbrevcharacterDivision abbreviation.
division_namecharacterDivision name.
division_sequenceintegerTeam's seeding position within the division.
final_playoff_roundintegerFinal playoff round reached.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
games_playedintegerGames played.
goalsintegerGoals scored.
goals_againstintegerGoals against.
home_lossesintegerLosses at home.
home_overtime_lossescharacterOvertime losses at home.
home_tiesintegerTies at home.
home_winsintegerWins at home.
in_playoffslogicalWhether the season reached the playoffs.
league_sequenceintegerTeam's seeding position within the league.
lossesintegerLosses.
overtime_lossescharacterTotal overtime losses.
penalty_minutesintegerPenalty minutes.
playoff_rounddoublePlayoff round identifier.
pointsintegerTotal points (goals + assists).
road_lossesintegerLosses on the road.
road_overtime_lossescharacterOvertime losses on the road.
road_tiesintegerTies on the road.
road_winsintegerWins on the road.
season_idintegerSeason identifier.
series_abbrevcharacterPlayoff series abbreviation.
series_titlecharacterPlayoff series title.
shutoutsintegerShutouts recorded.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesintegerTotal ties.
tri_codecharacterTeam three-letter code.
winsintegerWins.

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

Example

nhl_records_franchise_season_results()

Last validated n/a.

nhl_records_franchise_playoff_appearances

Franchise playoff appearance counts and streak information.

Endpoint URL: GET https://records.nhl.com/site/api/franchise-playoff-appearances

Valid URL: https://records.nhl.com/site/api/franchise-playoff-appearances

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
idintegerUnique player identifier.
first_season_idintegerSeason identifier of the first season.
franchise_idintegerUnique franchise identifier.
franchise_namecharacterFranchise name.
playoff_seasonsintegerNumber of playoff seasons.
stanley_cup_appearancesintegerNumber of Stanley Cup Final appearances.
stanley_cup_winsintegerNumber of Stanley Cup championships.
yearsintegerNumber of years the franchise existed.

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

Example

nhl_records_franchise_playoff_appearances()

Last validated n/a.

nhl_records_franchise_totals

League-wide franchise totals (all-time aggregate per franchise).

Endpoint URL: GET https://records.nhl.com/site/api/franchise-totals

Valid URL: https://records.nhl.com/site/api/franchise-totals

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
idintegerUnique player identifier.
active_franchiseintegerIndicator of whether the franchise is active.
cupsintegerNumber of Stanley Cup championships.
first_season_idintegerSeason identifier of the first season.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
game_win_pctgdoubleGame-winning percentage.
games_playedintegerGames played.
goals_againstintegerGoals against.
goals_forintegerGoals for.
home_lossesintegerLosses at home.
home_overtime_lossesdoubleOvertime losses at home.
home_tiesdoubleTies at home.
home_winsintegerWins at home.
last_season_iddoubleSeason ID of the franchise's last season.
lossesintegerLosses.
overtime_lossesdoubleTotal overtime losses.
penalty_minutesintegerPenalty minutes.
playoff_seasonsdoubleNumber of playoff seasons.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
road_lossesintegerLosses on the road.
road_overtime_lossesdoubleOvertime losses on the road.
road_tiesdoubleTies on the road.
road_winsintegerWins on the road.
series_lossesdoublePlayoff series losses.
series_playeddoublePlayoff series played.
series_win_pctgdoublePlayoff series win percentage.
series_winsdoublePlayoff series wins.
shootout_lossesintegerShootout losses.
shootout_winsintegerShootout wins.
shutoutsintegerShutouts recorded.
team_abbrevcharacterTeam abbreviation.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesdoubleTotal ties.
winsintegerWins.

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

Example

nhl_records_franchise_totals()

Last validated n/a.

nhl_records_all_time_record_vs_franchise

All-time head-to-head records between every franchise pairing.

Endpoint URL: GET https://records.nhl.com/site/api/all-time-record-vs-franchise

Valid URL: https://records.nhl.com/site/api/all-time-record-vs-franchise

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
idintegerUnique player identifier.
active_franchiseintegerIndicator of whether the franchise is active.
active_opponent_franchiseintegerFlag indicating whether the opponent franchise is currently active in the NHL (1 = active, 0 = relocated or dissolved).
franchise_namecharacterFranchise name.
game_type_idintegerGame type identifier (regular/playoffs).
home_games_playedintegerTotal number of home games the franchise has played all-time against this opponent franchise.
home_goals_againstdoubleTotal goals allowed by the franchise in all-time home games against this opponent.
home_goals_fordoubleTotal goals scored by the franchise in all-time home games against this opponent.
home_last_meeting_season_idintegerNHL season identifier for the most recent home game played against this opponent franchise.
home_lossesintegerLosses at home.
home_ot_lossesintegerHome overtime losses.
home_pointsintegerHome team total points scored in the game so far.
home_tiesintegerTies at home.
home_winsintegerWins at home.
opponent_franchise_idintegerNHL records identifier for the opposing franchise in this all-time head-to-head record.
opponent_franchise_namecharacterFull name of the opposing franchise in this all-time head-to-head record.
opponent_team_idintegerOpponent team identifier.
road_games_playedintegerTotal number of road games the franchise has played all-time against this opponent franchise.
road_goals_againstintegerTotal goals allowed by the franchise in all-time road games against this opponent.
road_goals_forintegerTotal goals scored by the franchise in all-time road games against this opponent.
road_last_meeting_season_idintegerNHL season identifier for the most recent road game played against this opponent franchise.
road_lossesintegerLosses on the road.
road_ot_lossesintegerRoad overtime losses.
road_pointsintegerTotal standings points earned by the franchise in all-time road games against this opponent.
road_tiesintegerTies on the road.
road_winsintegerWins on the road.
team_franchise_idintegerTeam franchise identifier.
team_idintegerUnique team identifier.
total_games_playedintegerTotal number of games played all-time between this franchise and the opponent franchise across home and road venues.
total_goals_againstintegerTotal goals allowed by the franchise in all-time games against this opponent across home and road.
total_goals_forintegerTotal goals scored by the franchise in all-time games against this opponent across home and road.
total_last_meeting_season_idintegerNHL season identifier for the most recent game played between the two franchises in any venue.
total_lossesintegerTotal losses to date (goalie).
total_ot_lossesintegerTotal number of overtime losses accumulated by the franchise all-time against this opponent.
total_pointsintegerTotal standings points earned by the franchise across all all-time games against this opponent.
total_tiesintegerTotal ties.
total_winsintegerTotal wins.

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

Example

nhl_records_all_time_record_vs_franchise()

Last validated n/a.

nhl_records_skater_career_stats

Skater career statistics (all-time, regular season).

Endpoint URL: GET https://records.nhl.com/site/api/skater-career-statistics

Valid URL: https://records.nhl.com/site/api/skater-career-statistics

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_nhl_records); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

nhl_records_skater_career_stats()

Last validated n/a.

nhl_records_skater_career_leaders

All-time skater career leaderboards.

Endpoint URL: GET https://records.nhl.com/site/api/skater-career-leaders

Valid URL: https://records.nhl.com/site/api/skater-career-leaders

API ParameterPythonPatternRequiredNullableDescription

Returns

return_parsed=True (default) — a tidy polars.DataFrame (parser: parse_nhl_records); pass return_as_pandas=True for a pandas.DataFrame. return_parsed=False — the raw JSON Dict payload, unparsed.

Example

nhl_records_skater_career_leaders()

Last validated n/a.

nhl_records_consecutive_100pt_seasons

Skaters with the most consecutive 100-point seasons.

Endpoint URL: GET https://records.nhl.com/site/api/consecutive-100-point-seasons

Valid URL: https://records.nhl.com/site/api/consecutive-100-point-seasons

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
active_streaklogicalIndicator of whether the streak is active.
consecutive100_point_seasonsintegerNumber of consecutive NHL regular seasons in which the player reached 100 or more points.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
position_codecharacterPlayer position code.
seasons_playedintegerNumber of seasons played.
streak_end_seasonintegerThe last season of the consecutive 100-point streak, encoded as an eight-digit season ID.
streak_start_seasonintegerThe first season of the consecutive 100-point streak, encoded as an eight-digit season ID.
team_abbrevscharacterTeam abbreviation(s).
team_namescharacterTeam names.

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

Example

nhl_records_consecutive_100pt_seasons()

Last validated n/a.

nhl_records_goalie_career_stats

Goaltender career statistics (regular season).

Endpoint URL: GET https://records.nhl.com/site/api/goalie-career-stats

Valid URL: https://records.nhl.com/site/api/goalie-career-stats

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
first_namecharacterPlayer first name.
first_season_for_game_typeintegerFirst season ID for the game type.
franchise_iddoubleUnique franchise identifier.
game_seven_games_playedcharacterGame seven games played.
game_seven_lossescharacterGame seven losses.
game_seven_winscharacterGame seven wins.
game_type_idintegerGame type identifier (regular/playoffs).
games_playedintegerGames played.
goals_againstintegerGoals against.
goals_against_averagedoubleGoals against average.
last_namecharacterPlayer last name.
last_season_for_game_typeintegerLast season ID for the game type.
lossesintegerLosses.
overtime_games_playedintegerOvertime games played.
overtime_goals_againstintegerOvertime goals against.
overtime_goals_against_averagecharacterOvertime goals against average.
overtime_lossescharacterTotal overtime losses.
overtime_save_pctgdoubleOvertime save percentage.
overtime_shots_againstintegerOvertime shots against.
overtime_tiesintegerOvertime ties.
overtime_time_on_icedoubleOvertime time on ice (seconds).
overtime_winsintegerOvertime wins.
player_idintegerUnique player identifier.
position_codecharacterPlayer position code.
save_pctgdoubleSave percentage.
savesintegerSaves made.
seasons_playedintegerNumber of seasons played.
shots_againstintegerShots faced.
shutoutsintegerShutouts recorded.
team_abbrevscharacterTeam abbreviation(s).
team_namescharacterTeam names.
tiesintegerTotal ties.
time_on_iceintegerTime on ice in seconds.
time_on_ice_min_seccharacterTotal time on ice (MM:SS).
winsintegerWins.

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

Example

nhl_records_goalie_career_stats()

Last validated n/a.

nhl_records_goalie_career_stats_with_playoffs

Goaltender career stats inclusive of regular season and playoffs.

Endpoint URL: GET https://records.nhl.com/site/api/goalie_career_stats_incl_playoffs

Valid URL: https://records.nhl.com/site/api/goalie_career_stats_incl_playoffs

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
idintegerUnique player identifier.
active_playerintegerIndicator of whether the player is active.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
games_playedintegerGames played.
goals_againstintegerGoals against.
goals_against_averagedoubleGoals against average.
last_namecharacterPlayer last name.
lossesintegerLosses.
overtime_lossescharacterTotal overtime losses.
player_idintegerUnique player identifier.
position_codecharacterPlayer position code.
save_pctgdoubleSave percentage.
savesintegerSaves made.
shots_againstintegerShots faced.
shutoutsintegerShutouts recorded.
team_abbrevscharacterTeam abbreviation(s).
team_namescharacterTeam names.
tiesintegerTotal ties.
time_on_iceintegerTime on ice in seconds.
time_on_ice_min_seccharacterTotal time on ice (MM:SS).
winsintegerWins.

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

Example

nhl_records_goalie_career_stats_with_playoffs()

Last validated n/a.

nhl_records_goalie_season_stats

Goaltender single-season statistics.

Endpoint URL: GET https://records.nhl.com/site/api/goalie-season-stats

Valid URL: https://records.nhl.com/site/api/goalie-season-stats

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
game_seven_games_playedcharacterGame seven games played.
game_seven_lossescharacterGame seven losses.
game_seven_winscharacterGame seven wins.
game_typeintegerGame type the row belongs to.
games_playedintegerGames played.
games_startedintegerGames started (goalies).
goals_againstintegerGoals against.
goals_against_averagedoubleGoals against average.
last_namecharacterPlayer last name.
lossesintegerLosses.
number_of_games_in_seasonintegerNumber of games in the season.
overtime_games_playedintegerOvertime games played.
overtime_goals_againstintegerOvertime goals against.
overtime_lossescharacterTotal overtime losses.
overtime_tiesintegerOvertime ties.
overtime_winsintegerOvertime wins.
player_idintegerUnique player identifier.
position_codecharacterPlayer position code.
rookie_flaglogicalIndicator of whether the player was a rookie.
save_pctgdoubleSave percentage.
savesintegerSaves made.
season_idintegerSeason identifier.
shots_againstintegerShots faced.
shutoutsintegerShutouts recorded.
team_abbrevscharacterTeam abbreviation(s).
team_namescharacterTeam names.
tiesintegerTotal ties.
time_on_iceintegerTime on ice in seconds.
time_on_ice_min_seccharacterTotal time on ice (MM:SS).
winsintegerWins.

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

Example

nhl_records_goalie_season_stats()

Last validated n/a.

nhl_records_goalie_win_streak

Goaltenders with the longest consecutive-win streaks.

Endpoint URL: GET https://records.nhl.com/site/api/goalie-win-streak

Valid URL: https://records.nhl.com/site/api/goalie-win-streak

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
active_streaklogicalIndicator of whether the streak is active.
end_datecharacterSeason end date.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
rookielogicalWhether the player is a rookie.
season_idintegerSeason identifier.
start_datecharacterSeason start date.
team_abbrevcharacterTeam abbreviation.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
win_streakintegerNumber of consecutive wins recorded by the goalie in this streak.

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

Example

nhl_records_goalie_win_streak()

Last validated n/a.

nhl_records_goalie_shutout_streak

Goaltenders with the longest consecutive-shutout streaks.

Endpoint URL: GET https://records.nhl.com/site/api/goalie-shutout-streak

Valid URL: https://records.nhl.com/site/api/goalie-shutout-streak

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
active_streaklogicalIndicator of whether the streak is active.
duration_min_seccharacterStreak duration (MM:SS).
duration_secondsintegerStreak duration in seconds.
end_datecharacterSeason end date.
first_namecharacterPlayer first name.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
savescharacterSaves made.
season_idintegerSeason identifier.
start_datecharacterSeason start date.
team_abbrevcharacterTeam abbreviation.
team_idintegerUnique team identifier.
team_namecharacterTeam name.

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

Example

nhl_records_goalie_shutout_streak()

Last validated n/a.

nhl_records_goalie_win_plateaus

Goaltenders who reached each win plateau (100, 200, 300 …).

Endpoint URL: GET https://records.nhl.com/site/api/goalie-win-plateaus

Valid URL: https://records.nhl.com/site/api/goalie-win-plateaus

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
first_namecharacterPlayer first name.
forty_win_seasonsintegerNumber of seasons in which the goalie recorded 40 or more wins, a rare single-season achievement.
franchise_iddoubleUnique franchise identifier.
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
seasons_playedintegerNumber of seasons played.
team_abbrevscharacterTeam abbreviation(s).
team_namescharacterTeam names.
thirty_win_seasonsintegerNumber of seasons in which the goalie recorded 30 or more wins.
twenty_win_seasonsintegerNumber of seasons in which the goalie recorded 20 or more wins.

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

Example

nhl_records_goalie_win_plateaus()

Last validated n/a.

nhl_records_goalie_playoff_streak

Goaltender consecutive playoff-win streaks.

Endpoint URL: GET https://records.nhl.com/site/api/goalie-playoff-streak

Valid URL: https://records.nhl.com/site/api/goalie-playoff-streak

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
active_streaklogicalIndicator of whether the streak is active.
consecutive_playoff_seasonsintegerNumber of consecutive playoff seasons in which the goalie appeared for the franchise during this streak.
end_seasonintegerLast season (in YYYYYYYY format) of the goalie's consecutive playoff appearance streak.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
playoff_seasonsintegerNumber of playoff seasons.
stanley_cup_winsintegerNumber of Stanley Cup championships.
start_seasonintegerFirst season (in YYYYYYYY format) of the goalie's consecutive playoff appearance streak.
team_abbrevscharacterTeam abbreviation(s).

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

Example

nhl_records_goalie_playoff_streak()

Last validated n/a.

nhl_records_goalie_undefeated_streak

Goaltender longest undefeated streaks (wins + ties).

Endpoint URL: GET https://records.nhl.com/site/api/goalie-undefeated-streak

Valid URL: https://records.nhl.com/site/api/goalie-undefeated-streak

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
idintegerUnique player identifier.
active_playerlogicalIndicator of whether the player is active.
active_streaklogicalIndicator of whether the streak is active.
end_datecharacterSeason end date.
first_namecharacterPlayer first name.
franchise_iddoubleUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
last_namecharacterPlayer last name.
player_idintegerUnique player identifier.
season_idintegerSeason identifier.
start_datecharacterSeason start date.
team_abbrevcharacterTeam abbreviation.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
undefeated_streakintegerNumber of consecutive games without a regulation loss (wins plus overtime or shootout losses) in the goalie's record streak.

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

Example

nhl_records_goalie_undefeated_streak()

Last validated n/a.

nhl_records_draft

Retrieve NHL Entry Draft picks.

Endpoint URL: GET https://records.nhl.com/site/api/draft/{draft_id}

Valid URL: https://records.nhl.com/site/api/draft

API ParameterPythonPatternRequiredNullableDescription
draft_iddraft_idYdraft_id 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
idintegerUnique player identifier.
age_in_dayscharacterPlayer age in days.
age_in_days_for_yearcharacterPlayer age in days for the draft year.
age_in_yearscharacterPlayer age in years.
amateur_club_namecharacterAmateur club the player played for.
amateur_leaguecharacterAmateur league the player played in.
birth_datecharacterPlayer birth date.
birth_placecharacterPlayer birth place.
country_codecharacterPlayer country code.
cs_player_idcharacterCentral Scouting player identifier.
draft_datecharacterDate the player was drafted.
draft_master_idintegerDraft master record identifier.
draft_yearintegerDraft year the lottery applies to.
drafted_by_team_idcharacterIdentifier of the drafting team.
first_namecharacterPlayer first name.
heightcharacterPlayer height in inches.
last_namecharacterPlayer last name.
notescharacterNotes flag for the pick.
overall_pick_numberintegerOverall pick number in the draft.
pick_in_roundintegerPick number within the round.
player_idcharacterUnique player identifier.
player_namecharacterPlayer name.
positioncharacterPlayer position.
removed_outrightcharacterRemoved-outright indicator.
removed_outright_whycharacterReason the pick was removed outright.
round_numberintegerDraft round number.
shoots_catchescharacterHandedness (shoots/catches).
supplemental_draftcharacterSupplemental draft indicator.
team_pick_historycharacterHistory of the team's picks at this slot.
tri_codecharacterTeam three-letter code.
weightcharacterPlayer weight in pounds.

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

Example

nhl_records_draft()

Last validated n/a.

nhl_records_draft_by_team

All draft picks made by a single team.

Endpoint URL: GET https://records.nhl.com/site/api/draft/byTeam/{team_id}

Valid URL: https://records.nhl.com/site/api/draft/byTeam/10

API ParameterPythonPatternRequiredNullableDescription
team_idteam_idYteam_id 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
idintegerUnique player identifier.
age_in_daysintegerPlayer age in days.
age_in_days_for_yearintegerPlayer age in days for the draft year.
age_in_yearsintegerPlayer age in years.
amateur_club_namecharacterAmateur club the player played for.
amateur_leaguecharacterAmateur league the player played in.
birth_datecharacterPlayer birth date.
birth_placecharacterPlayer birth place.
country_codecharacterPlayer country code.
cs_player_idcharacterCentral Scouting player identifier.
draft_datecharacterDate the player was drafted.
draft_master_idintegerDraft master record identifier.
draft_yearintegerDraft year the lottery applies to.
drafted_by_team_idintegerIdentifier of the drafting team.
first_namecharacterPlayer first name.
heightdoublePlayer height in inches.
last_namecharacterPlayer last name.
notescharacterNotes flag for the pick.
overall_pick_numberintegerOverall pick number in the draft.
pick_in_roundintegerPick number within the round.
player_idcharacterUnique player identifier.
player_namecharacterPlayer name.
positioncharacterPlayer position.
removed_outrightcharacterRemoved-outright indicator.
removed_outright_whycharacterReason the pick was removed outright.
round_numberintegerDraft round number.
shoots_catchescharacterHandedness (shoots/catches).
supplemental_draftcharacterSupplemental draft indicator.
team_pick_historycharacterHistory of the team's picks at this slot.
tri_codecharacterTeam three-letter code.
weightdoublePlayer weight in pounds.

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

Example

nhl_records_draft_by_team(team_id=10)

Last validated n/a.

nhl_records_draft_prospect

Draft prospect records.

Endpoint URL: GET https://records.nhl.com/site/api/draft-prospect/{prospect_id}

Valid URL: https://records.nhl.com/site/api/draft-prospect

API ParameterPythonPatternRequiredNullableDescription
prospect_idprospect_idYprospect_id 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
idintegerUnique player identifier.
birth_citycharacterBirth city.
birth_country3codecharacterProspect birth country three-letter code.
birth_datecharacterPlayer birth date.
birth_state_prov_codecharacterProspect birth state/province code.
category_idintegerProspect category identifier.
created_oncharacterDate the trophy record was created.
cs_player_idintegerCentral Scouting player identifier.
draft_status_codecharacterDraft eligibility status code.
ep_player_idintegerEliteProspects player identifier.
first_namecharacterPlayer first name.
headshot_idintegerHeadshot image identifier.
heightintegerPlayer height in inches.
hometowncharacterProspect hometown.
last_club_namecharacterMost recent club name.
last_league_abbrcharacterMost recent league abbreviation.
last_namecharacterPlayer last name.
nationality_codecharacterNationality code of the official.
news_articlescharacterAssociated news articles.
playeridintegerUnique player identifier.
position_desccharacterPlayer position description.
profilecharacterProspect profile text.
quotescharacterQuotes about the prospect.
scouting_reportcharacterScouting report text.
shoots_catchescharacterHandedness (shoots/catches).
stats_textcharacterStatistical summary text.
videocharacterAssociated video content.
weightintegerPlayer weight in pounds.

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

Example

nhl_records_draft_prospect()

Last validated n/a.

nhl_records_draft_lottery_odds

Draft lottery odds (current year or filtered by season).

Endpoint URL: GET https://records.nhl.com/site/api/draft-lottery-odds

Valid URL: https://records.nhl.com/site/api/draft-lottery-odds

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
idintegerUnique player identifier.
draft_yearintegerDraft year the lottery applies to.
format_contentcharacterDescription of the lottery format.
odds_contentcharacterDescription of the lottery odds.
result_notescharacterNotes on the lottery results.

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

Example

nhl_records_draft_lottery_odds()

Last validated n/a.

nhl_records_expansion_draft_picks

Expansion draft picks (e.g. Vegas 2017, Seattle 2021).

Endpoint URL: GET https://records.nhl.com/site/api/expansion-draft-picks

Valid URL: https://records.nhl.com/site/api/expansion-draft-picks

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
idintegerUnique player identifier.
activelogicalWhether athlete is currently active.
draft_pickscharacterJSON-serialized list of players selected by this franchise in the NHL expansion draft.
season_idintegerSeason identifier.
team_idintegerUnique team identifier.

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

Example

nhl_records_expansion_draft_picks()

Last validated n/a.

nhl_records_allstar_skater_career

All-Star Game career statistics for skaters.

Endpoint URL: GET https://records.nhl.com/site/api/all-star-skater-career-stats

Valid URL: https://records.nhl.com/site/api/all-star-skater-career-stats

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
idintegerUnique player identifier.
all_star_team_idintegerIdentifier for the All-Star team roster to which the skater was assigned during the All-Star event.
assistsintegerAssists.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
games_playedintegerGames played.
goalsintegerGoals scored.
is_activelogicalWhether the team is active.
is_rookielogicalWhether the player is a rookie.
last_namecharacterPlayer last name.
lossesintegerLosses.
nhl_team_idintegerNHL identifier for the skater's regular-season team at the time of All-Star selection.
penaltiesdoublePenalty count.
penalty_minutesdoublePenalty minutes.
player_idintegerUnique player identifier.
pointsintegerTotal points (goals + assists).
positioncharacterPlayer position.
power_play_goalsintegerPower-play goals.
season_idintegerSeason identifier.
short_handed_goalsintegerShort-handed goals.
winsintegerWins.

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

Example

nhl_records_allstar_skater_career()

Last validated n/a.

nhl_records_allstar_goalie_career

All-Star Game career statistics for goaltenders.

Endpoint URL: GET https://records.nhl.com/site/api/all-star-goaltender-career-stats

Valid URL: https://records.nhl.com/site/api/all-star-goaltender-career-stats

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
idintegerUnique player identifier.
all_star_team_idintegerIdentifier for the NHL All-Star team the goalie represented in their career All-Star appearances.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
games_playedintegerGames played.
goals_againstintegerGoals against.
goals_against_averagedoubleGoals against average.
is_activelogicalWhether the team is active.
is_rookielogicalWhether the player is a rookie.
last_namecharacterPlayer last name.
lossesintegerLosses.
nhl_team_idintegerNHL identifier for the regular-season franchise the goalie was affiliated with during their All-Star career.
ot_lossesintegerOvertime losses.
player_idintegerUnique player identifier.
save_percentagedoubleSave percentage (goalies).
season_idintegerSeason identifier.
shots_againstintegerShots faced.
team_lossesintegerTeam losses.
team_winsintegerTeam wins.
tiesintegerTotal ties.
time_on_iceintegerTime on ice in seconds.
winsintegerWins.

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

Example

nhl_records_allstar_goalie_career()

Last validated n/a.

nhl_records_allstar_coach_career

All-Star Game career records for coaches.

Endpoint URL: GET https://records.nhl.com/site/api/all-star-coach-career-stats

Valid URL: https://records.nhl.com/site/api/all-star-coach-career-stats

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
idintegerUnique player identifier.
all_star_team_idintegerNHL identifier for the All-Star team the coach was assigned to in a given All-Star game.
coach_idintegerESPN coach id parsed from the $ref URL.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
games_coachedintegerTotal number of All-Star games the coach has coached across their career.
is_activelogicalWhether the team is active.
last_namecharacterPlayer last name.
lossesintegerLosses.
ot_lossesintegerOvertime losses.
season_idintegerSeason identifier.
tiesintegerTotal ties.
winsintegerWins.

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

Example

nhl_records_allstar_coach_career()

Last validated n/a.

nhl_records_allstar_skater_game

All-Star Game single-game scoring records for skaters.

Endpoint URL: GET https://records.nhl.com/site/api/all-star-skater-game-stats

Valid URL: https://records.nhl.com/site/api/all-star-skater-game-stats

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
idintegerUnique player identifier.
all_star_team_idintegerIdentifier for the All-Star team roster to which the skater was assigned for this game.
all_star_team_scoreintegerGoals scored by the skater's All-Star team in this specific All-Star game.
arena_namecharacterArena name.
assistsintegerAssists.
citycharacterCity where the venue is located.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
game_datecharacterGame date.
game_idintegerUnique game identifier.
game_namecharacterFull event name.
goalsintegerGoals scored.
home_roadcharacterDesignation indicating whether the skater's All-Star team was the home or road side for this game.
is_activelogicalWhether the team is active.
is_rookielogicalWhether the player is a rookie.
last_namecharacterPlayer last name.
mvpcharacterMvp.
nhl_team_idintegerNHL identifier for the skater's regular-season team at the time this All-Star game was played.
opponent_scoreintegerOpponent score.
opponent_team_idintegerOpponent team identifier.
penaltiesdoublePenalty count.
penalty_minutesdoublePenalty minutes.
player_idintegerUnique player identifier.
pointsintegerTotal points (goals + assists).
positioncharacterPlayer position.
power_play_goalsintegerPower-play goals.
season_idintegerSeason identifier.
short_handed_goalsintegerShort-handed goals.
state_province_codecharacterState or province code of the official.

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

Example

nhl_records_allstar_skater_game()

Last validated n/a.

nhl_records_allstar_goalie_game

All-Star Game single-game stats for goaltenders.

Endpoint URL: GET https://records.nhl.com/site/api/all-star-goaltender-game-stats

Valid URL: https://records.nhl.com/site/api/all-star-goaltender-game-stats

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
idintegerUnique player identifier.
all_star_team_idintegerNHL identifier for the All-Star team the goalie was assigned to in the game.
all_star_team_scoreintegerGoals scored by the goalie's All-Star team in that game.
arena_namecharacterArena name.
citycharacterCity where the venue is located.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
game_datecharacterGame date.
game_idintegerUnique game identifier.
game_namecharacterFull event name.
goals_againstintegerGoals against.
home_roadcharacterIndicates whether the goalie's All-Star team was the designated home or road squad for the game.
is_activelogicalWhether the team is active.
is_rookielogicalWhether the player is a rookie.
last_namecharacterPlayer last name.
mvpcharacterMvp.
nhl_team_idintegerNHL identifier for the goalie's regular-season franchise at the time of the All-Star game.
opponent_scoreintegerOpponent score.
opponent_team_idintegerOpponent team identifier.
player_idintegerUnique player identifier.
save_percentagedoubleSave percentage (goalies).
savesintegerSaves made.
season_idintegerSeason identifier.
shots_againstintegerShots faced.
state_province_codecharacterState or province code of the official.
time_on_iceintegerTime on ice in seconds.

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

Example

nhl_records_allstar_goalie_game()

Last validated n/a.

nhl_records_attendance

NHL arena attendance records.

Endpoint URL: GET https://records.nhl.com/site/api/attendance

Valid URL: https://records.nhl.com/site/api/attendance

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
idintegerUnique player identifier.
playoff_attendancedoubleTotal playoff attendance.
regular_attendancedoubleTotal regular-season attendance.
season_idintegerSeason identifier.
total_attendancedoubleTotal attendance for the season.

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

Example

nhl_records_attendance()

Last validated n/a.

nhl_records_hof_players

Hockey Hall of Fame player inductees.

Endpoint URL: GET https://records.nhl.com/site/api/hof/players

Valid URL: https://records.nhl.com/site/api/hof/players

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
idintegerUnique player identifier.
date_inductedcharacterDate the inductee entered the Hall of Fame.
induction_cat_idintegerInduction category identifier.
misc_full_namecharacterFull name of the inductee.
office_idintegerOffice/category identifier.
official_idcharacterESPN official id (echoed from arg).
player_idintegerUnique player identifier.

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

Example

nhl_records_hof_players()

Last validated n/a.

nhl_records_hof_players_by_office

Hall of Fame players for a specific induction office/category.

Endpoint URL: GET https://records.nhl.com/site/api/hof/players/{office_id}

Valid URL: https://records.nhl.com/site/api/hof/players/X

API ParameterPythonPatternRequiredNullableDescription
office_idoffice_idYoffice_id 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
idintegerUnique player identifier.
date_inductedcharacterDate the inductee entered the Hall of Fame.
induction_cat_idintegerInduction category identifier.
misc_full_namecharacterFull name of the inductee.
office_idintegerOffice/category identifier.
official_idcharacterESPN official id (echoed from arg).
player_idcharacterUnique player identifier.

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

Example

nhl_records_hof_players_by_office(office_id='X')

Last validated n/a.

nhl_records_gm_career

General Manager career records.

Endpoint URL: GET https://records.nhl.com/site/api/general-manager/{gm_id}

Valid URL: https://records.nhl.com/site/api/general-manager

API ParameterPythonPatternRequiredNullableDescription
gm_idgm_idYgm_id 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
idintegerUnique player identifier.
active_gmlogicalIndicates whether the general manager is currently active in an NHL front-office role.
end_datecharacterSeason end date.
end_season_idintegerSeason identifier (e.g., 20232024) for the last season the GM held the position.
first_namecharacterPlayer first name.
full_namecharacterPlayer full name.
game_type_idintegerGame type identifier (regular/playoffs).
gamesintegerGames played.
gm_of_the_yearintegerNumber of times the general manager won the NHL GM of the Year Award during their career.
home_gamesintegerTotal home games.
home_lossesintegerLosses at home.
home_ot_lossesdoubleHome overtime losses.
home_tiesdoubleTies at home.
home_winsintegerWins at home.
last_namecharacterPlayer last name.
lossesintegerLosses.
losses_in_otintegerNumber of games the GM's team lost in overtime during their tenure.
losses_in_ot_plus_shootoutintegerCombined total of overtime and shootout losses recorded during the GM's tenure.
losses_in_shootoutdoubleNumber of games the GM's team lost in the shootout portion of a tied game.
overtime_lossesintegerTotal overtime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
road_gamesintegerTotal number of away games played by the GM's team across their tenure.
road_lossesintegerLosses on the road.
road_ot_lossesdoubleRoad overtime losses.
road_tiesdoubleTies on the road.
road_winsintegerWins on the road.
seasonsintegerTotal number of NHL seasons the general manager has served in the role.
stanley_cup_final_appearancesintegerNumber of times the GM's team reached the Stanley Cup Final during their tenure.
stanley_cupsintegerNumber of Stanley Cup championships won by the GM's franchise during their tenure.
start_datecharacterSeason start date.
start_season_idintegerSeason identifier (e.g., 20052006) for the first season the GM held the position.
team_abbrevscharacterTeam abbreviation(s).
tiesintegerTotal ties.
ties_in_otintegerNumber of overtime ties recorded under legacy rules during the GM's tenure.
win_pctgdoubleCareer winning percentage for the GM, calculated as wins divided by total games decided.
winsintegerWins.
wins_in_otintegerNumber of games the GM's team won in overtime during their tenure.
wins_in_ot_plus_shootoutintegerCombined total of overtime and shootout wins recorded during the GM's tenure.
wins_in_shootoutdoubleWins in shootout.

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

Example

nhl_records_gm_career()

Last validated n/a.

nhl_records_gm_franchise

General Manager records scoped to franchise stints.

Endpoint URL: GET https://records.nhl.com/site/api/general-manager-franchise-records

Valid URL: https://records.nhl.com/site/api/general-manager-franchise-records

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
idintegerUnique player identifier.
active_gmlogicalIndicates whether the general manager is currently active with the franchise.
end_datecharacterSeason end date.
end_season_idintegerNHL season identifier for the last season the GM held the role with this franchise.
first_namecharacterPlayer first name.
franchise_idintegerUnique franchise identifier.
franchise_namecharacterFranchise name.
full_namecharacterPlayer full name.
game_type_idintegerGame type identifier (regular/playoffs).
gamesintegerGames played.
gm_of_the_yearintegerNumber of NHL General Manager of the Year awards won during this franchise tenure.
home_gamesintegerTotal home games.
home_lossesintegerLosses at home.
home_ot_lossesdoubleHome overtime losses.
home_tiesdoubleTies at home.
home_winsintegerWins at home.
last_namecharacterPlayer last name.
lossesintegerLosses.
losses_in_otintegerNumber of regular-season overtime losses recorded by the franchise under this GM.
losses_in_ot_plus_shootoutintegerCombined overtime and shootout losses for the franchise during this GM's tenure.
losses_in_shootoutdoubleNumber of regular-season shootout losses recorded by the franchise under this GM.
overtime_lossesintegerTotal overtime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
road_gamesintegerTotal regular-season away games played by the franchise during this GM's tenure.
road_lossesintegerLosses on the road.
road_ot_lossesdoubleRoad overtime losses.
road_tiesdoubleTies on the road.
road_winsintegerWins on the road.
seasonsintegerNumber of NHL seasons the GM held the role with this franchise.
stanley_cup_final_appearancesintegerNumber of Stanley Cup Final appearances by the franchise during this GM's tenure.
stanley_cupsintegerNumber of Stanley Cup championships won by the franchise under this GM.
start_datecharacterSeason start date.
start_season_idintegerNHL season identifier for the first season the GM held the role with this franchise.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesintegerTotal ties.
ties_in_otintegerNumber of overtime ties recorded by the franchise under this GM (pre-shootout era).
win_pctgdoubleOverall win percentage for the franchise across all regular-season games during this GM's tenure.
winsintegerWins.
wins_in_otintegerNumber of regular-season overtime wins recorded by the franchise under this GM.
wins_in_ot_plus_shootoutintegerCombined overtime and shootout wins for the franchise during this GM's tenure.
wins_in_shootoutdoubleWins in shootout.

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

Example

nhl_records_gm_franchise()

Last validated n/a.

nhl_records_home_team_record

League-wide home-team win/loss record by season.

Endpoint URL: GET https://records.nhl.com/site/api/home-team-record

Valid URL: https://records.nhl.com/site/api/home-team-record

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
idintegerUnique player identifier.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
games_playedintegerGames played.
goalsintegerGoals scored.
goals_againstintegerGoals against.
goals_against_per_gamedoubleGoals against per game.
goals_per_gamedoubleAverage number of goals the team scored per home game over the recorded period.
lossesintegerLosses.
overtime_lossesdoubleTotal overtime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
season_idintegerSeason identifier.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesdoubleTotal ties.
winsintegerWins.

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

Example

nhl_records_home_team_record()

Last validated n/a.

nhl_records_away_team_record

League-wide away-team win/loss record by season.

Endpoint URL: GET https://records.nhl.com/site/api/away-team-record

Valid URL: https://records.nhl.com/site/api/away-team-record

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
idintegerUnique player identifier.
franchise_idintegerUnique franchise identifier.
game_type_idintegerGame type identifier (regular/playoffs).
games_playedintegerGames played.
goalsintegerGoals scored.
goals_againstintegerGoals against.
goals_against_per_gamedoubleGoals against per game.
goals_per_gamedoubleAverage number of goals the team scored per road game over the recorded period.
lossesintegerLosses.
overtime_lossesdoubleTotal overtime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
season_idintegerSeason identifier.
team_idintegerUnique team identifier.
team_namecharacterTeam name.
tiesdoubleTotal ties.
winsintegerWins.

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

Example

nhl_records_away_team_record()

Last validated n/a.