Skip to main content

NHL — NHL Web API — Player

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​

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

col_nametypedescription
player_idintegerUnique player identifier.
is_activelogicalWhether the team is active.
current_team_idintegerPlayer's current team identifier.
current_team_abbrevcharacterThree-letter abbreviation of the NHL team the player is currently rostered on (e.g., 'TOR', 'BOS').
badgescharacterSerialized list of achievement or milestone badges displayed on the player's NHL api-web profile page.
team_logocharacterURL to the team logo image.
sweater_numberintegerJersey number.
positioncharacterPlayer position.
headshotcharacterURL to the player headshot image.
hero_imagecharacterURL to the large hero/banner image of the player displayed at the top of their NHL api-web profile page.
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_timeintegerFlag (1/0) indicating whether the player is recognized among the NHL's Top 100 all-time greatest players.
in_hhofintegerFlag (1/0) indicating whether the player has been inducted into the Hockey Hall of Fame.
shop_linkcharacterURL to the NHL shop page where merchandise for this player (e.g., jerseys) can be purchased.
twitter_linkcharacterURL to the player's official Twitter/X account as listed on their NHL api-web profile.
watch_linkcharacterURL to the NHL.tv or league streaming page where the player's games can be watched.
last5_gamescharacterSerialized array of stat lines for the player's five most recent NHL games, as returned by the player landing endpoint.
season_totalscharacterSerialized array of per-season stat totals for the player across all regular seasons and playoffs in their NHL career.
awardscharacterSerialized list of NHL awards and honors the player has received, as returned by the NHL api-web player landing endpoint.
current_team_rostercharacterSerialized roster-position metadata for the player's current NHL team assignment, as returned by the player landing endpoint.
full_team_name_defaultcharacterFull English name of the player's current NHL team (e.g., 'Toronto Maple Leafs'), as returned by the player landing endpoint.
full_team_name_frcharacterFull French-language name of the player's current NHL team, as returned by the player landing endpoint.
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_yearintegerCalendar year in which the player was selected in the NHL Entry Draft.
draft_details_team_abbrevcharacterThree-letter abbreviation of the NHL team that drafted the player in the Entry Draft.
draft_details_roundintegerRound number in which the player was selected during the NHL Entry Draft.
draft_details_pick_in_roundintegerPick number within the player's draft round in the NHL Entry Draft.
draft_details_overall_pickintegerOverall pick number at which the player was selected in the NHL Entry Draft.
featured_stats_seasonintegerEight-digit NHL season identifier (e.g., 20232024) indicating which season the featured stats on the player's profile correspond to.
featured_stats_regular_season_sub_season_assistsintegerAssists recorded by the player in the featured regular-season sub-season (typically the current or most recent season) on their NHL api-web profile.
featured_stats_regular_season_sub_season_game_winning_goalsintegerGame-winning goals recorded by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_games_playedintegerGames played by the player in the featured regular-season sub-season (typically the current or most recent season) on their NHL api-web profile.
featured_stats_regular_season_sub_season_goalsintegerGoals scored by the player in the featured regular-season sub-season (typically the current or most recent season) on their NHL api-web profile.
featured_stats_regular_season_sub_season_ot_goalsintegerOvertime goals scored by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_pimintegerPenalty minutes accumulated by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_plus_minusintegerPlus/minus rating for the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_pointsintegerPoints (goals + assists) recorded by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_power_play_goalsintegerPower-play goals scored by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_power_play_pointsintegerPower-play points accumulated by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_shooting_pctgdoubleShooting percentage for the player in the featured regular-season sub-season on their NHL api-web profile, expressed as a decimal.
featured_stats_regular_season_sub_season_shorthanded_goalsintegerShorthanded goals scored by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_shorthanded_pointsintegerShorthanded points accumulated by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_sub_season_shotsintegerShots on goal taken by the player in the featured regular-season sub-season on their NHL api-web profile.
featured_stats_regular_season_career_assistsintegerCareer regular-season assists highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_game_winning_goalsintegerCareer regular-season game-winning goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_games_playedintegerCareer regular-season games played highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_goalsintegerCareer regular-season goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_ot_goalsintegerCareer regular-season overtime goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_pimintegerCareer regular-season penalty minutes highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_plus_minusintegerCareer regular-season plus/minus rating highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_pointsintegerCareer regular-season points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_power_play_goalsintegerCareer regular-season power-play goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_power_play_pointsintegerCareer regular-season power-play points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_shooting_pctgdoubleCareer regular-season shooting percentage highlighted on the player's NHL api-web profile, expressed as a decimal.
featured_stats_regular_season_career_shorthanded_goalsintegerCareer regular-season shorthanded goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_shorthanded_pointsintegerCareer regular-season shorthanded points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_regular_season_career_shotsintegerCareer regular-season shots on goal highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_sub_season_assistsintegerAssists recorded by the player in the featured playoff sub-season (typically the most recent postseason) on their NHL api-web profile.
featured_stats_playoffs_sub_season_game_winning_goalsintegerGame-winning goals recorded by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_games_playedintegerGames played by the player in the featured playoff sub-season (typically the most recent postseason) on their NHL api-web profile.
featured_stats_playoffs_sub_season_goalsintegerGoals scored by the player in the featured playoff sub-season (typically the most recent postseason) on their NHL api-web profile.
featured_stats_playoffs_sub_season_ot_goalsintegerOvertime goals scored by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_pimintegerPenalty minutes accumulated by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_plus_minusintegerPlus/minus rating for the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_pointsintegerPoints (goals + assists) recorded by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_power_play_goalsintegerPower-play goals scored by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_power_play_pointsintegerPower-play points accumulated by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_shooting_pctgdoubleShooting percentage for the player in the featured playoff sub-season on their NHL api-web profile, expressed as a decimal.
featured_stats_playoffs_sub_season_shorthanded_goalsintegerShorthanded goals scored by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_shorthanded_pointsintegerShorthanded points accumulated by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_sub_season_shotsintegerShots on goal taken by the player in the featured playoff sub-season on their NHL api-web profile.
featured_stats_playoffs_career_assistsintegerCareer playoff assists highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_game_winning_goalsintegerCareer playoff game-winning goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_games_playedintegerCareer playoff games played highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_goalsintegerCareer playoff goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_ot_goalsintegerCareer playoff overtime goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_pimintegerCareer playoff penalty minutes highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_plus_minusintegerCareer playoff plus/minus rating highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_pointsintegerCareer playoff points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_power_play_goalsintegerCareer playoff power-play goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_power_play_pointsintegerCareer playoff power-play points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_shooting_pctgdoubleCareer playoff shooting percentage highlighted on the player's NHL api-web profile, expressed as a decimal.
featured_stats_playoffs_career_shorthanded_goalsintegerCareer playoff shorthanded goals highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_shorthanded_pointsintegerCareer playoff shorthanded points highlighted on the player's NHL api-web profile for the featured season context.
featured_stats_playoffs_career_shotsintegerCareer playoff shots on goal highlighted on the player's NHL api-web profile for the featured season context.
career_totals_regular_season_assistsintegerCareer cumulative assists recorded by the player across all NHL regular-season games.
career_totals_regular_season_avg_toicharacterCareer average time on ice per game in the NHL regular season, expressed as an MM:SS string.
career_totals_regular_season_faceoff_winning_pctgdoubleCareer faceoff win percentage for the player across all NHL regular-season games.
career_totals_regular_season_game_winning_goalsintegerCareer total of game-winning goals the player has scored in NHL regular-season games.
career_totals_regular_season_games_playedintegerTotal number of NHL regular-season games the player has appeared in across their career.
career_totals_regular_season_goalsintegerCareer total goals scored by the player in NHL regular-season games.
career_totals_regular_season_ot_goalsintegerCareer total overtime goals scored by the player in NHL regular-season games.
career_totals_regular_season_pimintegerCareer total penalty minutes accumulated by the player in NHL regular-season games.
career_totals_regular_season_plus_minusintegerCareer plus/minus rating accumulated by the player across all NHL regular-season games.
career_totals_regular_season_pointsintegerCareer total points (goals + assists) accumulated by the player in NHL regular-season games.
career_totals_regular_season_power_play_goalsintegerCareer total power-play goals scored by the player in NHL regular-season games.
career_totals_regular_season_power_play_pointsintegerCareer total power-play points (goals + assists on the power play) in NHL regular-season games.
career_totals_regular_season_shooting_pctgdoubleCareer shooting percentage for the player in NHL regular-season games, expressed as a decimal.
career_totals_regular_season_shorthanded_goalsintegerCareer total shorthanded goals scored by the player in NHL regular-season games.
career_totals_regular_season_shorthanded_pointsintegerCareer total shorthanded points (goals + assists while shorthanded) in NHL regular-season games.
career_totals_regular_season_shotsintegerCareer total shots on goal taken by the player in NHL regular-season games.
career_totals_playoffs_assistsintegerCareer cumulative assists recorded by the player across all NHL playoff appearances.
career_totals_playoffs_avg_toicharacterCareer average time on ice per game in NHL playoff play, expressed as an MM:SS string.
career_totals_playoffs_faceoff_winning_pctgdoubleCareer faceoff win percentage for the player across all NHL playoff games.
career_totals_playoffs_game_winning_goalsintegerCareer total of game-winning goals the player has scored in NHL playoff games.
career_totals_playoffs_games_playedintegerTotal number of NHL playoff games the player has appeared in across their career.
career_totals_playoffs_goalsintegerCareer total goals scored by the player in NHL playoff games.
career_totals_playoffs_ot_goalsintegerCareer total overtime goals scored by the player in NHL playoff games.
career_totals_playoffs_pimintegerCareer total penalty minutes accumulated by the player in NHL playoff games.
career_totals_playoffs_plus_minusintegerCareer plus/minus rating accumulated by the player across all NHL playoff games.
career_totals_playoffs_pointsintegerCareer total points (goals + assists) accumulated by the player in NHL playoff games.
career_totals_playoffs_power_play_goalsintegerCareer total power-play goals scored by the player in NHL playoff games.
career_totals_playoffs_power_play_pointsintegerCareer total power-play points (goals + assists on the power play) in NHL playoff games.
career_totals_playoffs_shooting_pctgdoubleCareer shooting percentage for the player in NHL playoff games, expressed as a decimal.
career_totals_playoffs_shorthanded_goalsintegerCareer total shorthanded goals scored by the player in NHL playoff games.
career_totals_playoffs_shorthanded_pointsintegerCareer total shorthanded points (goals + assists while shorthanded) in NHL playoff games.
career_totals_playoffs_shotsintegerCareer total shots on goal taken by the player in NHL playoff games.

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

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

API ParameterPythonPatternRequiredNullableDescription
player_idplayer_idYplayer_id path parameter.
seasonseasonYseason path parameter.
game_typegame_typeYgame_type 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
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_frcharacterFrench-language common name of the opposing team in the player's individual game log entry from the NHL api-web feed.

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

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​

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

col_nametypedescription
player_idintegerUnique player identifier.
player_slugcharacterURL slug for the player.
positioncharacterPlayer position.
sweater_numberintegerJersey number.
team_idintegerUnique team identifier.
headshotcharacterURL to the player headshot image.
team_tri_codecharacterTeam tri-code abbreviation.
team_logocharacterURL to the team logo image.
sort_idintegerSort order identifier for the spotlight.
name_defaultcharacterPlayer name (default localization).
name_cscharacterPlayer name (Czech localization).
name_ficharacterPlayer name (Finnish localization).
name_skcharacterPlayer name (Slovak localization).

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

Example​

nhl_player_spotlight()

Last validated n/a.