Skip to main content
Version: 0.2.0

NHL — NHL Web API — Playoff

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/20242025/a

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYseason path parameter.
series_letterseries_letterYseries_letter 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
roundInt64Shootout round number.
series_letterStringSingle-letter label identifying this series within its playoff round (e.g., 'A', 'B'), as used by the NHL api-web.
top_seed_team_idInt64Unique NHL api-web identifier for the higher-seeded team in this playoff series.
top_seed_team_abbrevStringThree-letter abbreviation of the higher-seeded team in this NHL playoff series (e.g., 'TOR').
bottom_seed_team_idInt64Unique NHL api-web identifier for the lower-seeded team in this playoff series.
bottom_seed_team_abbrevStringThree-letter abbreviation of the lower-seeded team in this NHL playoff series (e.g., 'BOS').
idInt64Unique player identifier.
seasonInt64Season year (echoed from arg).
game_typeInt64Game type the row belongs to.
game_numberInt64Game number within the schedule.
if_necessaryBoolean
neutral_siteBooleanWhether the game is at a neutral site.
start_time_utcStringScheduled start time in UTC.
eastern_utc_offsetStringEastern time UTC offset.
venue_utc_offsetStringVenue UTC offset.
venue_timezoneStringVenue time zone.
game_stateStringGame state (e.g., FINAL, LIVE).
game_schedule_stateStringSchedule state of the game.
tv_broadcastsStringNested list of TV broadcast details.
game_center_linkStringLink to the NHL game center page.
venue_defaultStringVenue name (default language).
away_team_idInt64Away team identifier.
away_team_common_name_defaultStringAway team common name (default language).
away_team_place_name_defaultStringAway team place name (default language).
away_team_place_name_with_preposition_defaultStringAway team place name with preposition (default).
away_team_place_name_with_preposition_frStringAway team place name with preposition (French).
away_team_abbrevStringAway team abbreviation.
away_team_scoreInt64Away team final score.
home_team_idInt64Home team identifier.
home_team_common_name_defaultStringHome team common name (default language).
home_team_place_name_defaultStringHome team place name (default language).
home_team_place_name_frStringHome team place name (French).
home_team_place_name_with_preposition_defaultStringHome team place name with preposition (default).
home_team_place_name_with_preposition_frStringHome team place name with preposition (French).
home_team_abbrevStringHome team abbreviation.
home_team_scoreInt64Home team final score.
period_descriptor_numberInt64Period number.
period_descriptor_period_typeStringPeriod type (e.g., REG, OT).
period_descriptor_max_regulation_periodsInt64Maximum number of regulation periods.
series_status_top_seed_winsInt64Number of wins accumulated by the higher-seeded team in this NHL playoff series to date.
series_status_bottom_seed_winsInt64Number of wins accumulated by the lower-seeded team in this NHL playoff series to date.
game_outcome_last_period_typeStringPeriod type in which the game ended.
game_outcome_ot_periodsFloat64Number of overtime periods played in the game that concluded this series or scheduled game, where applicable.
away_team_place_name_frStringAway team place name (French).

return_parsed=False — the raw JSON payload: a dict, or a list for the endpoints that answer an array (nhl_postal_lookup, nhl_smartlinks).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

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

nhl_playoff_bracket​

Pull the full Stanley Cup playoff bracket for one year.

Endpoint URL: GET https://api-web.nhle.com/v1/playoff-bracket/{year}

Valid URL: https://api-web.nhle.com/v1/playoff-bracket/2025

API ParameterPythonPatternRequiredNullableDescription
yearyearYFour-digit year the playoffs were played in (2025 for the 2025 playoffs).

Returns​

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

col_nametypedescription
bottom_seed_rankInt64Seed rank of the lower-seeded team.
bottom_seed_rank_abbrevStringSeed abbreviation of the lower-seeded team (e.g., 'D1', 'WC1').
bottom_seed_winsInt64Series wins by the lower-seeded team.
losing_team_idInt64NHL team id of the team that lost the series; null while the series is undecided.
playoff_roundInt64Playoff round the series belongs to.
series_abbrevStringShort series label (e.g. "R1", "SCF").
series_letterStringLetter identifying the series within the bracket (A-H first round, I-L second round, M-N conference finals, O the Stanley Cup Final).
series_titleStringSeries title (e.g. "1st Round", "Stanley Cup Final").
series_urlStringNHL.com path of the series page.
top_seed_rankInt64Seed rank of the higher-seeded team.
top_seed_rank_abbrevStringSeed abbreviation of the higher-seeded team (e.g., 'D1', 'WC1').
top_seed_winsInt64Series wins by the higher-seeded team.
winning_team_idInt64NHL team id of the series winner; null while the series is undecided.
bottom_seed_team_abbrevStringAbbreviation of the lower-seeded team.
bottom_seed_team_common_name_defaultStringCommon name of the lower-seeded team (default locale).
bottom_seed_team_common_name_frStringCommon name of the lower-seeded team (French).
bottom_seed_team_dark_logoStringURL of the lower-seeded team's dark-background logo.
bottom_seed_team_idInt64NHL team id of the lower-seeded team.
bottom_seed_team_logoStringURL of the lower-seeded team's logo.
bottom_seed_team_name_defaultStringFull name of the lower-seeded team (default locale).
bottom_seed_team_name_frStringFull name of the lower-seeded team (French).
bottom_seed_team_place_name_with_preposition_defaultStringPlace name of the lower-seeded team (default locale).
bottom_seed_team_place_name_with_preposition_frStringPlace name of the lower-seeded team with its French preposition (e.g., "d'Ottawa").
top_seed_team_abbrevStringAbbreviation of the higher-seeded team.
top_seed_team_common_name_defaultStringCommon name of the higher-seeded team (default locale).
top_seed_team_dark_logoStringURL of the higher-seeded team's dark-background logo.
top_seed_team_idInt64NHL team id of the higher-seeded team.
top_seed_team_logoStringURL of the higher-seeded team's logo.
top_seed_team_name_defaultStringFull name of the higher-seeded team (default locale).
top_seed_team_name_frStringFull name of the higher-seeded team (French).
top_seed_team_place_name_with_preposition_defaultStringPlace name of the higher-seeded team (default locale).
top_seed_team_place_name_with_preposition_frStringPlace name of the higher-seeded team with its French preposition (e.g., "d'Ottawa").
conference_abbrevStringConference abbreviation.
conference_nameStringConference name.
series_logoStringURL of the series logo; set on the conference final and Stanley Cup Final rows only.
series_logo_frStringURL of the French series logo; set on the conference final and Stanley Cup Final rows only.

return_parsed=False — the raw JSON payload: a dict, or a list for the endpoints that answer an array (nhl_postal_lookup, nhl_smartlinks).

Raises​

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.

Example​

nhl_playoff_bracket(year=2025)

Pull the playoff series carousel (every series, round by round) for one season.

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

Valid URL: https://api-web.nhle.com/v1/playoff-series/carousel/20242025

API ParameterPythonPatternRequiredNullableDescription
seasonseasonYseason path parameter.

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

col_nametypedescription
season_idInt64NHL season id, 8 digits (e.g. 20242025).
current_roundInt64Playoff round in progress (the last round played once the playoffs end).
round_labelStringSlug label of the series' round (e.g., '1st-round', 'stanley-cup-final').
round_abbrevStringAbbreviation of the series' round ('R1', 'R2', 'CF' or 'SCF').
round_numberInt64Playoff round number (1-4).
losing_team_idInt64NHL team id of the team that lost the series; null while the series is undecided.
needed_to_winInt64Wins needed to take the series.
series_labelStringSlug label of the series' round as the series carries it (e.g., '1st-round').
series_letterStringLetter identifying the series within its round (e.g., 'A').
series_linkStringNHL.com path of the series page.
winning_team_idInt64NHL team id of the series winner; null while the series is undecided.
bottom_seed_abbrevStringAbbreviation of the lower-seeded team.
bottom_seed_dark_logoStringURL of the lower-seeded team's dark-background logo.
bottom_seed_idInt64NHL team id of the lower-seeded team.
bottom_seed_logoStringURL of the lower-seeded team's logo.
bottom_seed_winsInt64Series wins by the lower-seeded team.
top_seed_abbrevStringAbbreviation of the higher-seeded team.
top_seed_dark_logoStringURL of the higher-seeded team's dark-background logo.
top_seed_idInt64NHL team id of the higher-seeded team.
top_seed_logoStringURL of the higher-seeded team's logo.
top_seed_winsInt64Series wins by the higher-seeded team.

return_parsed=False — the raw JSON payload: a dict, or a list for the endpoints that answer an array (nhl_postal_lookup, nhl_smartlinks).

ExceptionDescription
NoDataErrorThe host answered 404 -- the requested resource does not exist.
ValueErrorThe host answered 400 / 422 -- the request is wrong; retrying cannot help.
AssetFetchErrorThe fetch failed (a non-2xx answer or a connection failure after retries, e.g. 401/403/429/5xx, or an empty or unreadable 200 body) -- the answer is unknown, not empty.
nhl_playoff_carousel(season=2025)