Skip to main content
Version: 0.0.56

NHL — NHL Web API

sportsdataverse.nhl — 27 endpoints.

nhl_web_pbp

Pull the play-by-play feed for one NHL game.

Endpoint URL: GET https://api-web.nhle.com/v1/gamecenter/{game_id}/play-by-play

Valid URL: https://api-web.nhle.com/v1/gamecenter/2024020001/play-by-play

API ParameterPythonPatternRequiredNullableDescription
game_idgame_idYgame_id path parameter.

Returns

col_nametypedescription
event_idintegerESPN event id (echoed from arg).
time_in_periodcharacterTime elapsed in the period when the shot occurred.
time_remainingcharacterTime remaining.
situation_codecharacterCode identifying the game situation.
home_team_defending_sidecharacter
type_codeinteger
type_desc_keycharacter
sort_orderintegerDisplay sort order for the sport.
period_descriptor_numberintegerPeriod number.
period_descriptor_period_typecharacterPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsintegerMaximum number of regulation periods.
details_event_owner_team_iddouble
details_losing_player_iddouble
details_winning_player_iddouble
details_x_coorddouble
details_y_coorddouble
details_zone_codecharacter
details_shot_typecharacter
details_shooting_player_iddouble
details_goalie_in_net_iddouble
details_away_sogdouble
details_home_sogdouble
details_reasoncharacter
details_blocking_player_iddouble
details_hitting_player_iddouble
details_hittee_player_iddouble
details_player_iddouble
details_type_codecharacter
details_desc_keycharacter
details_durationdouble
details_committed_by_player_iddouble
details_drawn_by_player_iddouble
ppt_replay_urlcharacter
details_scoring_player_iddouble
details_scoring_player_totaldouble
details_assist1_player_iddouble
details_assist1_player_totaldouble
details_assist2_player_iddouble
details_assist2_player_totaldouble
details_away_scoredouble
details_home_scoredouble
details_highlight_clip_sharing_urlcharacter
details_highlight_clipdouble
details_discrete_clipdouble
details_discrete_clip_frdouble
details_highlight_clip_sharing_url_frcharacter
details_highlight_clip_frdouble
details_secondary_reasoncharacter

Example

nhl_web_pbp(game_id=2024020001)

Last validated n/a.

nhl_boxscore

Pull the boxscore for one NHL game.

Endpoint URL: GET https://api-web.nhle.com/v1/gamecenter/{game_id}/boxscore

Valid URL: https://api-web.nhle.com/v1/gamecenter/2024020001/boxscore

API ParameterPythonPatternRequiredNullableDescription
game_idgame_idYgame_id path parameter.

Returns

col_nametypedescription
home_awaycharacterHome or away indicator.
position_groupcharacterPosition group name (e.g. Centers).
player_idintegerUnique player identifier.
sweater_numberintegerJersey number.
positioncharacterPlayer position.
goalsdoubleGoals scored.
assistsdoubleAssists.
pointsdoubleTotal points (goals + assists).
plus_minusdoublePlus/minus rating.
pimintegerPenalty minutes.
hitsdoubleHits.
power_play_goalsdoublePower-play goals.
sogdoubleShots on goal from the area.
faceoff_winning_pctgdoubleFaceoff win percentage.
toicharacterTime on ice.
blocked_shotsdoubleBlocked shots.
shiftsdoubleNumber of shifts.
giveawaysdoubleGiveaways.
takeawaysdoubleTakeaways.
name_defaultcharacterPlayer name (default localization).
even_strength_shots_againstcharacterEven-strength shots against (saves/total).
power_play_shots_againstcharacterPower-play shots against (saves/total).
shorthanded_shots_againstcharacterShorthanded shots against (saves/total).
save_shots_againstcharacterTotal shots against (saves/total).
even_strength_goals_againstdoubleEven-strength goals against.
power_play_goals_againstdoublePower-play goals against.
shorthanded_goals_againstdoubleShorthanded goals against.
goals_againstdoubleGoals against.
starterlogicalWhether the goalie started the game.
shots_againstdoubleShots faced.
savesdoubleSaves made.
save_pctgdoubleSave percentage.
decisioncharacterGoalie decision (W/L/O).
name_cscharacterPlayer name (Czech localization).
name_ficharacterPlayer name (Finnish localization).
name_skcharacterPlayer name (Slovak localization).

Example

nhl_boxscore(game_id=2024020001)

Last validated n/a.

nhl_landing

Pull the gamecenter landing payload for one NHL game.

Endpoint URL: GET https://api-web.nhle.com/v1/gamecenter/{game_id}/landing

Valid URL: https://api-web.nhle.com/v1/gamecenter/2024020001/landing

API ParameterPythonPatternRequiredNullableDescription
game_idgame_idYgame_id path parameter.

Returns

col_nametypedescription
idintegerUnique player identifier.
seasonintegerSeason year (echoed from arg).
game_typeintegerGame type the row belongs to.
limited_scoringlogical
game_datecharacterGame date.
start_time_utccharacterScheduled start time in UTC.
eastern_utc_offsetcharacterEastern time UTC offset.
venue_utc_offsetcharacterVenue UTC offset.
venue_timezonecharacterVenue time zone.
tv_broadcastscharacterNested list of TV broadcast details.
game_statecharacterGame state (e.g., FINAL, LIVE).
game_schedule_statecharacterSchedule state of the game.
shootout_in_uselogical
reg_periodsinteger
ot_in_uselogical
ties_in_uselogicalWhether ties were in use that season.
venue_defaultcharacterVenue name (default language).
venue_location_defaultcharacter
period_descriptor_numberintegerPeriod number.
period_descriptor_period_typecharacterPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsintegerMaximum number of regulation periods.
away_team_idintegerAway team identifier.
away_team_common_name_defaultcharacterAway team common name (default language).
away_team_abbrevcharacterAway team abbreviation.
away_team_place_name_defaultcharacterAway team place name (default language).
away_team_place_name_with_preposition_defaultcharacterAway team place name with preposition (default).
away_team_place_name_with_preposition_frcharacterAway team place name with preposition (French).
away_team_scoreintegerAway team final score.
away_team_sogintegerAway team shots on goal.
away_team_logocharacterURL to the away team logo.
away_team_dark_logocharacterURL to the away team dark logo.
home_team_idintegerHome team identifier.
home_team_common_name_defaultcharacterHome team common name (default language).
home_team_abbrevcharacterHome team abbreviation.
home_team_place_name_defaultcharacterHome team place name (default language).
home_team_place_name_frcharacterHome team place name (French).
home_team_place_name_with_preposition_defaultcharacterHome team place name with preposition (default).
home_team_place_name_with_preposition_frcharacterHome team place name with preposition (French).
home_team_scoreintegerHome team final score.
home_team_sogintegerHome team shots on goal.
home_team_logocharacterURL to the home team logo.
home_team_dark_logocharacterURL to the home team dark logo.
summary_scoringcharacter
summary_three_starscharacter
summary_penaltiescharacter
clock_time_remainingcharacter
clock_seconds_remaininginteger
clock_runninglogical
clock_in_intermissionlogical

Example

nhl_landing(game_id=2024020001)

Last validated n/a.

nhl_right_rail

Pull the gamecenter right-rail payload (in-game widgets).

Endpoint URL: GET https://api-web.nhle.com/v1/gamecenter/{game_id}/right-rail

Valid URL: https://api-web.nhle.com/v1/gamecenter/2024020001/right-rail

API ParameterPythonPatternRequiredNullableDescription
game_idgame_idYgame_id path parameter.

Returns

Pull the gamecenter right-rail payload (in-game widgets).

Example

nhl_right_rail(game_id=2024020001)

Last validated n/a.

nhl_web_schedule

Pull the week-of NHL schedule rooted at date.

Endpoint URL: GET https://api-web.nhle.com/v1/schedule/{date}

Valid URL: https://api-web.nhle.com/v1/schedule

API ParameterPythonPatternRequiredNullableDescription
datedateYdate path parameter.

Returns

col_nametypedescription
schedule_datecharacter
idintegerUnique player identifier.
seasonintegerSeason year (echoed from arg).
game_typeintegerGame type the row belongs to.
neutral_sitelogicalWhether the game is at a neutral site.
start_time_utccharacterScheduled start time in UTC.
eastern_utc_offsetcharacterEastern time UTC offset.
venue_utc_offsetcharacterVenue UTC offset.
venue_timezonecharacterVenue time zone.
game_statecharacterGame state (e.g., FINAL, LIVE).
game_schedule_statecharacterSchedule state of the game.
tv_broadcastscharacterNested list of TV broadcast details.
series_urlcharacter
three_min_recapcharacterLink to the three-minute recap.
game_center_linkcharacterLink to the NHL game center page.
venue_defaultcharacterVenue name (default language).
away_team_idintegerAway team identifier.
away_team_common_name_defaultcharacterAway team common name (default language).
away_team_place_name_defaultcharacterAway team place name (default language).
away_team_place_name_with_preposition_defaultcharacterAway team place name with preposition (default).
away_team_place_name_with_preposition_frcharacterAway team place name with preposition (French).
away_team_abbrevcharacterAway team abbreviation.
away_team_logocharacterURL to the away team logo.
away_team_dark_logocharacterURL to the away team dark logo.
away_team_away_split_squadlogicalWhether the away team is a split squad.
away_team_scoreintegerAway team final score.
home_team_idintegerHome team identifier.
home_team_common_name_defaultcharacterHome team common name (default language).
home_team_place_name_defaultcharacterHome team place name (default language).
home_team_place_name_frcharacterHome team place name (French).
home_team_place_name_with_preposition_defaultcharacterHome team place name with preposition (default).
home_team_place_name_with_preposition_frcharacterHome team place name with preposition (French).
home_team_abbrevcharacterHome team abbreviation.
home_team_logocharacterURL to the home team logo.
home_team_dark_logocharacterURL to the home team dark logo.
home_team_home_split_squadlogicalWhether the home team is a split squad.
home_team_scoreintegerHome team final score.
period_descriptor_numberintegerPeriod number.
period_descriptor_period_typecharacterPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsintegerMaximum number of regulation periods.
game_outcome_last_period_typecharacterPeriod type in which the game ended.
winning_goalie_player_idintegerWinning goalie player identifier.
winning_goalie_first_initial_defaultcharacterWinning goalie first initial (default language).
winning_goalie_last_name_defaultcharacterWinning goalie last name (default language).
winning_goalie_last_name_cscharacterWinning goalie last name (Czech).
winning_goalie_last_name_ficharacterWinning goalie last name (Finnish).
winning_goalie_last_name_skcharacterWinning goalie last name (Slovak).
winning_goal_scorer_player_idintegerWinning goal scorer player identifier.
winning_goal_scorer_first_initial_defaultcharacterWinning goal scorer first initial (default).
winning_goal_scorer_last_name_defaultcharacterWinning goal scorer last name (default language).
series_status_roundinteger
series_status_series_abbrevcharacter
series_status_series_titlecharacter
series_status_series_lettercharacter
series_status_needed_to_wininteger
series_status_top_seed_team_abbrevcharacter
series_status_top_seed_winsinteger
series_status_bottom_seed_team_abbrevcharacter
series_status_bottom_seed_winsinteger
series_status_game_number_of_seriesinteger

Example

nhl_web_schedule()

Last validated n/a.

nhl_score

Pull the single-day scoreboard for date.

Endpoint URL: GET https://api-web.nhle.com/v1/score/{date}

Valid URL: https://api-web.nhle.com/v1/score

API ParameterPythonPatternRequiredNullableDescription
datedateYdate path parameter.

Returns

col_nametypedescription
idintegerUnique player identifier.
seasonintegerSeason year (echoed from arg).
game_typeintegerGame type the row belongs to.
game_datecharacterGame date.
start_time_utccharacterScheduled start time in UTC.
eastern_utc_offsetcharacterEastern time UTC offset.
venue_utc_offsetcharacterVenue UTC offset.
tv_broadcastscharacterNested list of TV broadcast details.
game_statecharacterGame state (e.g., FINAL, LIVE).
game_schedule_statecharacterSchedule state of the game.
game_center_linkcharacterLink to the NHL game center page.
series_urlcharacter
three_min_recapcharacterLink to the three-minute recap.
neutral_sitelogicalWhether the game is at a neutral site.
venue_timezonecharacterVenue time zone.
periodintegerPeriod number.
goalscharacterGoals scored.
venue_defaultcharacterVenue name (default language).
away_team_idintegerAway team identifier.
away_team_name_defaultcharacter
away_team_abbrevcharacterAway team abbreviation.
away_team_scoreintegerAway team final score.
away_team_sogintegerAway team shots on goal.
away_team_logocharacterURL to the away team logo.
home_team_idintegerHome team identifier.
home_team_name_defaultcharacter
home_team_abbrevcharacterHome team abbreviation.
home_team_scoreintegerHome team final score.
home_team_sogintegerHome team shots on goal.
home_team_logocharacterURL to the home team logo.
series_status_roundinteger
series_status_series_abbrevcharacter
series_status_series_titlecharacter
series_status_series_lettercharacter
series_status_needed_to_wininteger
series_status_top_seed_team_abbrevcharacter
series_status_top_seed_winsinteger
series_status_bottom_seed_team_abbrevcharacter
series_status_bottom_seed_winsinteger
series_status_game_number_of_seriesinteger
clock_time_remainingcharacter
clock_seconds_remaininginteger
clock_runninglogical
clock_in_intermissionlogical
period_descriptor_numberintegerPeriod number.
period_descriptor_period_typecharacterPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsintegerMaximum number of regulation periods.
game_outcome_last_period_typecharacterPeriod type in which the game ended.

Example

nhl_score()

Last validated n/a.

nhl_schedule_calendar

Pull the calendar of game-days for the season.

Endpoint URL: GET https://api-web.nhle.com/v1/schedule-calendar/{date}

Valid URL: https://api-web.nhle.com/v1/schedule-calendar

API ParameterPythonPatternRequiredNullableDescription
datedateYdate path parameter.

Returns

Pull the calendar of game-days for the season.

Example

nhl_schedule_calendar()

Last validated n/a.

nhl_playoff_series

Pull a single playoff series payload.

Endpoint URL: GET https://api-web.nhle.com/v1/schedule/playoff-series/{season}/{series_letter}

Valid URL: https://api-web.nhle.com/v1/schedule/playoff-series/2025/a

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYseason path parameter.
series_letterseries_letterYseries_letter path parameter.

Returns

Pull a single playoff series payload.

Example

nhl_playoff_series(season=2025, series_letter='a')

Last validated n/a.

nhl_standings

Pull the NHL standings.

Endpoint URL: GET https://api-web.nhle.com/v1/standings/{date}

Valid URL: https://api-web.nhle.com/v1/standings

API ParameterPythonPatternRequiredNullableDescription
datedateYdate path parameter.

Returns

col_nametypedescription
clinch_indicatorcharacterPlayoff clinch indicator (e.g. 'x' clinched playoff, 'e' eliminated).
conference_abbrevcharacterConference abbreviation.
conference_home_sequenceinteger
conference_l10_sequenceinteger
conference_namecharacterConference name.
conference_road_sequenceinteger
conference_sequenceintegerTeam's seeding position within the conference.
datecharacterGame date (ISO 8601 datetime string).
division_abbrevcharacterDivision abbreviation.
division_home_sequenceinteger
division_l10_sequenceinteger
division_namecharacterDivision name.
division_road_sequenceinteger
division_sequenceintegerTeam's seeding position within the division.
game_type_idintegerGame type identifier (regular/playoffs).
games_playedintegerGames played.
goal_differentialintegerGoal differential.
goal_differential_pctgdouble
goal_againstinteger
goal_forinteger
goals_for_pctgdouble
home_games_playedinteger
home_goal_differentialinteger
home_goals_againstinteger
home_goals_forinteger
home_lossesintegerLosses at home.
home_ot_lossesintegerHome overtime losses.
home_pointsintegerHome team total points scored in the game so far.
home_regulation_plus_ot_winsinteger
home_regulation_winsinteger
home_tiesintegerTies at home.
home_winsintegerWins at home.
l10_games_playedinteger
l10_goal_differentialinteger
l10_goals_againstinteger
l10_goals_forinteger
l10_lossesintegerLosses in the last ten games.
l10_ot_lossesintegerOvertime losses in the last ten games.
l10_pointsinteger
l10_regulation_plus_ot_winsinteger
l10_regulation_winsinteger
l10_tiesinteger
l10_winsintegerWins in the last ten games.
league_home_sequenceinteger
league_l10_sequenceinteger
league_road_sequenceinteger
league_sequenceintegerTeam's seeding position within the league.
lossesintegerLosses.
ot_lossesintegerOvertime losses.
point_pctgdoublePoints percentage.
pointsintegerTotal points (goals + assists).
regulation_plus_ot_win_pctgdouble
regulation_plus_ot_winsintegerWins in regulation plus overtime.
regulation_win_pctgdouble
regulation_winsintegerWins in regulation.
road_games_playedinteger
road_goal_differentialinteger
road_goals_againstinteger
road_goals_forinteger
road_lossesintegerLosses on the road.
road_ot_lossesintegerRoad overtime losses.
road_pointsinteger
road_regulation_plus_ot_winsinteger
road_regulation_winsinteger
road_tiesintegerTies on the road.
road_winsintegerWins on the road.
season_idintegerSeason identifier.
shootout_lossesintegerShootout losses.
shootout_winsintegerShootout wins.
streak_codecharacterCurrent streak code (W/L/OT).
streak_countintegerLength of the current streak.
team_logocharacterURL to the team logo image.
tiesintegerTotal ties.
waivers_sequenceinteger
wildcard_sequenceintegerTeam's wild card seeding position.
win_pctgdouble
winsintegerWins.
place_name_defaultcharacter
team_name_defaultcharacterTeam name (default locale).
team_name_frcharacterTeam name (French locale).
team_common_name_defaultcharacterTeam common name (default language).
team_abbrev_defaultcharacter
place_name_frcharacter
team_common_name_frcharacterTeam common name (French localization).

Example

nhl_standings()

Last validated n/a.

nhl_standings_season

Pull the per-season standings cutover dates.

Endpoint URL: GET https://api-web.nhle.com/v1/standings-season

Valid URL: https://api-web.nhle.com/v1/standings-season

API ParameterPythonPatternRequiredNullableDescription

Returns

col_nametypedescription
idintegerUnique player identifier.
conferences_in_uselogicalWhether conferences were in use that season.
divisions_in_uselogicalWhether divisions were in use that season.
point_for_o_tloss_in_uselogicalWhether a point for overtime losses was in use.
regulation_wins_in_uselogicalWhether regulation wins were tracked.
row_in_uselogicalWhether the regulation/overtime/shootout format was in use.
standings_endcharacterEnd date of the standings period.
standings_startcharacterStart date of the standings period.
ties_in_uselogicalWhether ties were in use that season.
wildcard_in_uselogicalWhether the wild-card playoff format was in use this season.

Example

nhl_standings_season()

Last validated n/a.

nhl_club_schedule_season

Pull a team's full-season schedule.

Endpoint URL: GET https://api-web.nhle.com/v1/club-schedule-season/{team}/{season}

Valid URL: https://api-web.nhle.com/v1/club-schedule-season/TOR

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
seasonseasonYseason path parameter.

Returns

col_nametypedescription
club_previous_seasoninteger
club_current_seasoninteger
club_next_seasoninteger
club_timezonecharacter
idintegerUnique player identifier.
seasonintegerSeason year (echoed from arg).
game_typeintegerGame type the row belongs to.
game_datecharacterGame date.
neutral_sitelogicalWhether the game is at a neutral site.
start_time_utccharacterScheduled start time in UTC.
eastern_utc_offsetcharacterEastern time UTC offset.
venue_utc_offsetcharacterVenue UTC offset.
venue_timezonecharacterVenue time zone.
game_statecharacterGame state (e.g., FINAL, LIVE).
game_schedule_statecharacterSchedule state of the game.
tv_broadcastscharacterNested list of TV broadcast details.
game_center_linkcharacterLink to the NHL game center page.
venue_defaultcharacterVenue name (default language).
away_team_idintegerAway team identifier.
away_team_common_name_defaultcharacterAway team common name (default language).
away_team_place_name_defaultcharacterAway team place name (default language).
away_team_place_name_with_preposition_defaultcharacterAway team place name with preposition (default).
away_team_place_name_with_preposition_frcharacterAway team place name with preposition (French).
away_team_abbrevcharacterAway team abbreviation.
away_team_logocharacterURL to the away team logo.
away_team_dark_logocharacterURL to the away team dark logo.
away_team_away_split_squadlogicalWhether the away team is a split squad.
away_team_scoreintegerAway team final score.
home_team_idintegerHome team identifier.
home_team_common_name_defaultcharacterHome team common name (default language).
home_team_place_name_defaultcharacterHome team place name (default language).
home_team_place_name_with_preposition_defaultcharacterHome team place name with preposition (default).
home_team_place_name_with_preposition_frcharacterHome team place name with preposition (French).
home_team_abbrevcharacterHome team abbreviation.
home_team_logocharacterURL to the home team logo.
home_team_dark_logocharacterURL to the home team dark logo.
home_team_home_split_squadlogicalWhether the home team is a split squad.
home_team_airline_linkcharacterLink to home team airline info.
home_team_airline_desccharacterHome team airline description.
home_team_hotel_linkcharacterLink to home team hotel info.
home_team_hotel_desccharacterHome team hotel description.
home_team_scoreintegerHome team final score.
period_descriptor_period_typecharacterPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsintegerMaximum number of regulation periods.
game_outcome_last_period_typecharacterPeriod type in which the game ended.
winning_goalie_player_idintegerWinning goalie player identifier.
winning_goalie_first_initial_defaultcharacterWinning goalie first initial (default language).
winning_goalie_last_name_defaultcharacterWinning goalie last name (default language).
away_team_airline_linkcharacterLink to away team airline info.
away_team_airline_desccharacterAway team airline description.
winning_goal_scorer_player_iddoubleWinning goal scorer player identifier.
winning_goal_scorer_first_initial_defaultcharacterWinning goal scorer first initial (default).
winning_goal_scorer_last_name_defaultcharacterWinning goal scorer last name (default language).
three_min_recapcharacterLink to the three-minute recap.
home_team_place_name_frcharacterHome team place name (French).
condensed_gamecharacterLink to the condensed game video.
venue_escharacterVenue name (Spanish).
venue_frcharacterVenue name (French).
special_event_parent_iddouble
special_event_name_defaultcharacter
special_event_name_frcharacter
away_team_hotel_linkcharacterLink to away team hotel info.
away_team_hotel_desccharacterAway team hotel description.
three_min_recap_frcharacterLink to the French three-minute recap.
winning_goalie_last_name_cscharacterWinning goalie last name (Czech).
winning_goalie_last_name_ficharacterWinning goalie last name (Finnish).
winning_goalie_last_name_skcharacterWinning goalie last name (Slovak).
away_team_place_name_frcharacterAway team place name (French).
away_team_common_name_frcharacterAway team common name (French).
home_team_common_name_frcharacterHome team common name (French).
series_urlcharacter
series_status_rounddouble
series_status_series_abbrevcharacter
series_status_series_titlecharacter
series_status_series_lettercharacter
series_status_needed_to_windouble
series_status_top_seed_winsdouble
series_status_bottom_seed_winsdouble
series_status_game_number_of_seriesdouble

Example

nhl_club_schedule_season(team='TOR')

Last validated n/a.

nhl_club_schedule_month

Pull a team's schedule for one month.

Endpoint URL: GET https://api-web.nhle.com/v1/club-schedule/{team}/month/{month}

Valid URL: https://api-web.nhle.com/v1/club-schedule/TOR/month

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
monthmonthYmonth path parameter.

Returns

Pull a team's schedule for one month.

Example

nhl_club_schedule_month(team='TOR')

Last validated n/a.

nhl_club_schedule_week

Pull a team's schedule for one week.

Endpoint URL: GET https://api-web.nhle.com/v1/club-schedule/{team}/week/{date}

Valid URL: https://api-web.nhle.com/v1/club-schedule/TOR/week

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
datedateYdate path parameter.

Returns

Pull a team's schedule for one week.

Example

nhl_club_schedule_week(team='TOR')

Last validated n/a.

nhl_club_stats

Pull a team's season stat block.

Endpoint URL: GET https://api-web.nhle.com/v1/club-stats/{team}/{season}/{game_type}

Valid URL: https://api-web.nhle.com/v1/club-stats/TOR

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
seasonseasonYseason path parameter.
game_typegame_typeYgame_type path parameter.

Returns

Pull a team's season stat block.

Example

nhl_club_stats(team='TOR')

Last validated n/a.

nhl_club_stats_season

Pull the seasons a team has stats for.

Endpoint URL: GET https://api-web.nhle.com/v1/club-stats-season/{team}

Valid URL: https://api-web.nhle.com/v1/club-stats-season/TOR

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.

Returns

Pull the seasons a team has stats for.

Example

nhl_club_stats_season(team='TOR')

Last validated n/a.

nhl_roster

Pull a team's roster.

Endpoint URL: GET https://api-web.nhle.com/v1/roster/{team}/{season}

Valid URL: https://api-web.nhle.com/v1/roster/TOR

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
seasonseasonYseason path parameter.

Returns

col_nametypedescription
position_groupcharacterPosition group name (e.g. Centers).
idintegerUnique player identifier.
headshotcharacterURL to the player headshot image.
sweater_numberintegerJersey number.
position_codecharacterPlayer position code.
shoots_catchescharacterHandedness (shoots/catches).
height_in_inchesintegerHeight in inches.
weight_in_poundsintegerWeight in pounds.
height_in_centimetersintegerHeight in centimeters.
weight_in_kilogramsintegerWeight in kilograms.
birth_datecharacterPlayer birth date.
birth_countrycharacterPlayer birth country.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).
birth_city_defaultcharacterBirth city (default localization).
birth_state_province_defaultcharacterBirth state/province (default localization).
birth_city_cscharacterBirth city (Czech localization).
birth_city_decharacterBirth city (German localization).
birth_city_ficharacterBirth city (Finnish localization).
birth_city_skcharacterBirth city (Slovak localization).
birth_city_svcharacterBirth city (Swedish localization).

Example

nhl_roster(team='TOR')

Last validated n/a.

nhl_roster_season

Pull every season a team has had on file.

Endpoint URL: GET https://api-web.nhle.com/v1/roster-season/{team}

Valid URL: https://api-web.nhle.com/v1/roster-season/TOR

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.

Returns

Pull every season a team has had on file.

Example

nhl_roster_season(team='TOR')

Last validated n/a.

nhl_player_landing

Pull the player profile / overview.

Endpoint URL: GET https://api-web.nhle.com/v1/player/{player_id}/landing

Valid URL: https://api-web.nhle.com/v1/player/8480801/landing

API ParameterPythonPatternRequiredNullableDescription
player_idplayer_idYplayer_id path parameter.

Returns

col_nametypedescription
player_idintegerUnique player identifier.
is_activelogicalWhether the team is active.
current_team_idintegerPlayer's current team identifier.
current_team_abbrevcharacter
badgescharacter
team_logocharacterURL to the team logo image.
sweater_numberintegerJersey number.
positioncharacterPlayer position.
headshotcharacterURL to the player headshot image.
hero_imagecharacter
height_in_inchesintegerHeight in inches.
height_in_centimetersintegerHeight in centimeters.
weight_in_poundsintegerWeight in pounds.
weight_in_kilogramsintegerWeight in kilograms.
birth_datecharacterPlayer birth date.
birth_countrycharacterPlayer birth country.
shoots_catchescharacterHandedness (shoots/catches).
player_slugcharacterURL slug for the player.
in_top100_all_timeinteger
in_hhofinteger
shop_linkcharacter
twitter_linkcharacter
watch_linkcharacter
last5_gamescharacter
season_totalscharacter
awardscharacter
current_team_rostercharacter
full_team_name_defaultcharacter
full_team_name_frcharacter
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).
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).
birth_city_defaultcharacterBirth city (default localization).
birth_state_province_defaultcharacterBirth state/province (default localization).
draft_details_yearinteger
draft_details_team_abbrevcharacter
draft_details_roundinteger
draft_details_pick_in_roundinteger
draft_details_overall_pickinteger
featured_stats_seasoninteger
featured_stats_regular_season_sub_season_assistsinteger
featured_stats_regular_season_sub_season_game_winning_goalsinteger
featured_stats_regular_season_sub_season_games_playedinteger
featured_stats_regular_season_sub_season_goalsinteger
featured_stats_regular_season_sub_season_ot_goalsinteger
featured_stats_regular_season_sub_season_piminteger
featured_stats_regular_season_sub_season_plus_minusinteger
featured_stats_regular_season_sub_season_pointsinteger
featured_stats_regular_season_sub_season_power_play_goalsinteger
featured_stats_regular_season_sub_season_power_play_pointsinteger
featured_stats_regular_season_sub_season_shooting_pctgdouble
featured_stats_regular_season_sub_season_shorthanded_goalsinteger
featured_stats_regular_season_sub_season_shorthanded_pointsinteger
featured_stats_regular_season_sub_season_shotsinteger
featured_stats_regular_season_career_assistsinteger
featured_stats_regular_season_career_game_winning_goalsinteger
featured_stats_regular_season_career_games_playedinteger
featured_stats_regular_season_career_goalsinteger
featured_stats_regular_season_career_ot_goalsinteger
featured_stats_regular_season_career_piminteger
featured_stats_regular_season_career_plus_minusinteger
featured_stats_regular_season_career_pointsinteger
featured_stats_regular_season_career_power_play_goalsinteger
featured_stats_regular_season_career_power_play_pointsinteger
featured_stats_regular_season_career_shooting_pctgdouble
featured_stats_regular_season_career_shorthanded_goalsinteger
featured_stats_regular_season_career_shorthanded_pointsinteger
featured_stats_regular_season_career_shotsinteger
featured_stats_playoffs_sub_season_assistsinteger
featured_stats_playoffs_sub_season_game_winning_goalsinteger
featured_stats_playoffs_sub_season_games_playedinteger
featured_stats_playoffs_sub_season_goalsinteger
featured_stats_playoffs_sub_season_ot_goalsinteger
featured_stats_playoffs_sub_season_piminteger
featured_stats_playoffs_sub_season_plus_minusinteger
featured_stats_playoffs_sub_season_pointsinteger
featured_stats_playoffs_sub_season_power_play_goalsinteger
featured_stats_playoffs_sub_season_power_play_pointsinteger
featured_stats_playoffs_sub_season_shooting_pctgdouble
featured_stats_playoffs_sub_season_shorthanded_goalsinteger
featured_stats_playoffs_sub_season_shorthanded_pointsinteger
featured_stats_playoffs_sub_season_shotsinteger
featured_stats_playoffs_career_assistsinteger
featured_stats_playoffs_career_game_winning_goalsinteger
featured_stats_playoffs_career_games_playedinteger
featured_stats_playoffs_career_goalsinteger
featured_stats_playoffs_career_ot_goalsinteger
featured_stats_playoffs_career_piminteger
featured_stats_playoffs_career_plus_minusinteger
featured_stats_playoffs_career_pointsinteger
featured_stats_playoffs_career_power_play_goalsinteger
featured_stats_playoffs_career_power_play_pointsinteger
featured_stats_playoffs_career_shooting_pctgdouble
featured_stats_playoffs_career_shorthanded_goalsinteger
featured_stats_playoffs_career_shorthanded_pointsinteger
featured_stats_playoffs_career_shotsinteger
career_totals_regular_season_assistsinteger
career_totals_regular_season_avg_toicharacter
career_totals_regular_season_faceoff_winning_pctgdouble
career_totals_regular_season_game_winning_goalsinteger
career_totals_regular_season_games_playedinteger
career_totals_regular_season_goalsinteger
career_totals_regular_season_ot_goalsinteger
career_totals_regular_season_piminteger
career_totals_regular_season_plus_minusinteger
career_totals_regular_season_pointsinteger
career_totals_regular_season_power_play_goalsinteger
career_totals_regular_season_power_play_pointsinteger
career_totals_regular_season_shooting_pctgdouble
career_totals_regular_season_shorthanded_goalsinteger
career_totals_regular_season_shorthanded_pointsinteger
career_totals_regular_season_shotsinteger
career_totals_playoffs_assistsinteger
career_totals_playoffs_avg_toicharacter
career_totals_playoffs_faceoff_winning_pctgdouble
career_totals_playoffs_game_winning_goalsinteger
career_totals_playoffs_games_playedinteger
career_totals_playoffs_goalsinteger
career_totals_playoffs_ot_goalsinteger
career_totals_playoffs_piminteger
career_totals_playoffs_plus_minusinteger
career_totals_playoffs_pointsinteger
career_totals_playoffs_power_play_goalsinteger
career_totals_playoffs_power_play_pointsinteger
career_totals_playoffs_shooting_pctgdouble
career_totals_playoffs_shorthanded_goalsinteger
career_totals_playoffs_shorthanded_pointsinteger
career_totals_playoffs_shotsinteger

Example

nhl_player_landing(player_id=8480801)

Last validated n/a.

nhl_player_game_log

Pull a player's game-by-game log.

Endpoint URL: GET https://api-web.nhle.com/v1/player/{player_id}/game-log/{season}/{game_type}

Valid URL: https://api-web.nhle.com/v1/player/8480801/game-log

API ParameterPythonPatternRequiredNullableDescription
player_idplayer_idYplayer_id path parameter.
seasonseasonYseason path parameter.
game_typegame_typeYgame_type path parameter.

Returns

col_nametypedescription
game_idintegerUnique game identifier.
team_abbrevcharacterTeam abbreviation.
home_road_flagcharacterHome or road indicator.
game_datecharacterGame date.
goalsintegerGoals scored.
assistsintegerAssists.
pointsintegerTotal points (goals + assists).
plus_minusintegerPlus/minus rating.
power_play_goalsintegerPower-play goals.
power_play_pointsintegerPower play points.
game_winning_goalsintegerGame-winning goals.
ot_goalsintegerOvertime goals.
shotsintegerShots on goal.
shiftsintegerNumber of shifts.
shorthanded_goalsintegerShorthanded goals.
shorthanded_pointsintegerShorthanded points.
opponent_abbrevcharacterOpponent team abbreviation.
pimintegerPenalty minutes.
toicharacterTime on ice.
common_name_defaultcharacterPlayer's team common name.
opponent_common_name_defaultcharacterOpponent team common name.
opponent_common_name_frcharacter

Example

nhl_player_game_log(player_id=8480801)

Last validated n/a.

nhl_player_spotlight

Pull the league's currently featured players.

Endpoint URL: GET https://api-web.nhle.com/v1/player-spotlight

Valid URL: https://api-web.nhle.com/v1/player-spotlight

API ParameterPythonPatternRequiredNullableDescription

Returns

Pull the league's currently featured players.

Example

nhl_player_spotlight()

Last validated n/a.

nhl_skater_leaders

Pull skater stat leaders.

Endpoint URL: GET https://api-web.nhle.com/v1/skater-stats-leaders/{season}/{game_type}

Valid URL: https://api-web.nhle.com/v1/skater-stats-leaders

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYseason path parameter.
game_typegame_typeYgame_type path parameter.

Returns

col_nametypedescription
categorycharacterStat leader category.
idintegerUnique player identifier.
sweater_numberintegerJersey number.
headshotcharacterURL to the player headshot image.
team_abbrevcharacterTeam abbreviation.
team_logocharacterURL to the team logo image.
positioncharacterPlayer position.
valueintegerLeader stat numeric value.
first_name_defaultcharacterPlayer first name (default language).
first_name_cscharacterPlayer first name (Czech localization).
first_name_decharacterPlayer first name (German).
first_name_escharacterPlayer first name (Spanish).
first_name_ficharacterPlayer first name (Finnish).
first_name_skcharacterPlayer first name (Slovak localization).
first_name_svcharacterPlayer first name (Swedish).
last_name_defaultcharacterPlayer last name (default language).
team_name_defaultcharacterTeam name (default locale).
last_name_cscharacterPlayer last name (Czech localization).
last_name_ficharacterPlayer last name (Finnish localization).
last_name_skcharacterPlayer last name (Slovak localization).

Example

nhl_skater_leaders()

Last validated n/a.

nhl_goalie_leaders

Pull goalie stat leaders.

Endpoint URL: GET https://api-web.nhle.com/v1/goalie-stats-leaders/{season}/{game_type}

Valid URL: https://api-web.nhle.com/v1/goalie-stats-leaders

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYseason path parameter.
game_typegame_typeYgame_type path parameter.

Returns

col_nametypedescription
categorycharacterStat leader category.
idintegerUnique player identifier.
sweater_numberintegerJersey number.
headshotcharacterURL to the player headshot image.
team_abbrevcharacterTeam abbreviation.
team_logocharacterURL to the team logo image.
positioncharacterPlayer position.
valueintegerLeader stat numeric value.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).
team_name_defaultcharacterTeam name (default locale).
first_name_cscharacterPlayer first name (Czech localization).
first_name_skcharacterPlayer first name (Slovak localization).
last_name_cscharacterPlayer last name (Czech localization).
last_name_skcharacterPlayer last name (Slovak localization).
last_name_ficharacterPlayer last name (Finnish localization).

Example

nhl_goalie_leaders()

Last validated n/a.

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

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
round_round_Yround_ path parameter.

Returns

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_defaultcharacter
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).
team_common_name_frcharacterTeam common name (French localization).

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

API ParameterPythonPatternRequiredNullableDescription
yearyearYyear path parameter.
categorycategoryYcategory path parameter.

Returns

Pull NHL Central Scouting rankings for a draft year.

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

Pull the current / most recent draft pick set.

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

Pull the current Central Scouting rankings.

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

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

Example

nhl_draft_tracker_picks_now()

Last validated n/a.