Skip to main content
Version: 0.1.5

NHL — NHL Records API — Goalie

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.