Skip to main content
Version: 0.1.5

NHL — NHL Web API — Club

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/now

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
seasonseasonYseason 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
club_previous_seasonintegerIndicator for whether the game belongs to the club's prior completed season (1 = previous season, 0 otherwise).
club_current_seasonintegerIndicator for whether the game falls within the current season for the requesting club (1 = current season, 0 otherwise).
club_next_seasonintegerIndicator for whether the game belongs to the club's next upcoming season (1 = next season, 0 otherwise).
club_timezonecharacterIANA timezone identifier for the home club's arena, used to localise game start times in the schedule.
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_iddoubleNHL api-web identifier for the parent special-event record grouping multiple games under the same marquee event umbrella.
special_event_name_defaultcharacterEnglish display name for a special promotional or marquee event designation attached to the game (e.g., 'Winter Classic', 'Heritage Classic').
special_event_name_frcharacterFrench display name for a special promotional or marquee event designation attached to the game, used in bilingual NHL communications.
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_urlcharacterNHL api-web URL path to the dedicated page for the current playoff series associated with this scheduled game.
series_status_rounddoublePlayoff round number to which the current series belongs (1 = first round, 4 = Stanley Cup Final).
series_status_series_abbrevcharacterShort abbreviation identifying the specific playoff series slot (e.g., 'A', 'B') within the bracket for this game.
series_status_series_titlecharacterHuman-readable display title for the playoff series (e.g., 'Eastern Conference First Round').
series_status_series_lettercharacterSingle-letter label assigned to the playoff series in the bracket structure, used to pair teams across rounds.
series_status_needed_to_windoubleWins still required by the leading team to clinch and advance in the current playoff series.
series_status_top_seed_winsdoubleNumber of wins accumulated by the higher-seeded team in the current playoff series as of this scheduled game.
series_status_bottom_seed_winsdoubleNumber of wins accumulated by the lower-seeded team in the current playoff series as of this scheduled game.
series_status_game_number_of_seriesdoubleSequential game number within the playoff series (e.g., 1 through 7 for a best-of-seven).

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

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/now

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
monthmonthYmonth path parameter.

Returns​

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

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/now

API ParameterPythonPatternRequiredNullableDescription
teamteamYteam path parameter.
datedateYdate path parameter.

Returns​

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

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/now

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

Returns​

return_parsed=True (default) — a dict of polars.DataFrames (one table per documented key below); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys).

skaters

col_nametypedescription
player_idintegerUnique player identifier.
headshotcharacterURL to the player headshot image.
position_codecharacterPlayer position code.
games_playedintegerGames played.
goalsintegerGoals scored.
assistsintegerAssists.
pointsintegerTotal points (goals + assists).
plus_minusintegerPlus/minus rating.
penalty_minutesintegerPenalty minutes.
power_play_goalsintegerPower-play goals.
shorthanded_goalsintegerShorthanded goals.
game_winning_goalsintegerGame-winning goals.
overtime_goalsintegerOvertime goals.
shotsintegerShots on goal.
shooting_pctgdoubleShooting percentage from the area.
avg_time_on_ice_per_gamedoubleAverage time on ice per game.
avg_shifts_per_gamedoubleAverage shifts per game.
faceoff_win_pctgdoubleFaceoff win percentage.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).

goalies

col_nametypedescription
player_idintegerUnique player identifier.
headshotcharacterURL to the player headshot image.
games_playedintegerGames played.
games_startedintegerGames started (goalies).
winsintegerWins.
lossesintegerLosses.
overtime_lossesintegerTotal overtime losses.
goals_against_averagedoubleGoals against average.
save_percentagedoubleSave percentage (goalies).
shots_againstintegerShots faced.
savesintegerSaves made.
goals_againstintegerGoals against.
shutoutsintegerShutouts recorded.
goalsintegerGoals scored.
assistsintegerAssists.
pointsintegerTotal points (goals + assists).
penalty_minutesintegerPenalty minutes.
time_on_iceintegerTime on ice in seconds.
first_name_defaultcharacterPlayer first name (default language).
last_name_defaultcharacterPlayer last name (default language).

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

Example​

nhl_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​

return_parsed=True (default) — a dict of polars.DataFrames (parser: parse_nhl_web_club_stats); pass return_as_pandas=True for a dict of pandas.DataFrames (same keys). return_parsed=False — the raw JSON Dict payload, unparsed.

Example​

nhl_club_stats_season(team='TOR')

Last validated n/a.