Skip to contents

Wrappers around the NHL Stats REST backend at api.nhle.com/stats/rest/{lang}/.... These cover the documented Cayenne-filterable endpoints for skater / goalie / team stats, draft stats, franchise + player listings, glossary, country, config, leaders, and milestones. Most pages use the consistent {data: [...], total: N} shape and accept cayenneExp, sort, limit, start query parameters.

Details

Skater / goalie / team stats

FunctionEndpointPurpose
nhl_stats_skaters()skater/summarySkater season stats
nhl_stats_goalies()goalie/summaryGoalie season stats
nhl_stats_teams()team/summaryTeam season stats
nhl_stats_misc()miscellaneousSkaterStatsMisc skater stats + draft + season list
nhl_stats_skater_leaders()leaders/skaters/{attribute}Skater leaderboards by attribute
nhl_stats_goalie_leaders()leaders/goalies/{attribute}Goalie leaderboards by attribute
nhl_stats_skater_milestones()skater/milestonesSkater milestone achievements
nhl_stats_goalie_milestones()goalie/milestonesGoalie milestone achievements

Franchise / player listings

FunctionEndpointPurpose
nhl_stats_franchise()franchiseFranchise listing
nhl_stats_players()playersPlayers listing (requires cayenne_exp)
nhl_stats_team_listing()teamTop-level team listing
nhl_stats_game_listing()gameTop-level game listing

Metadata helpers

FunctionEndpointPurpose
nhl_stats_glossary()glossaryStat-definition glossary
nhl_stats_country()countryCountry lookup
nhl_stats_config()configConfiguration payload
nhl_stats_ping()pingHealth check
nhl_stats_content_module()(NHL CMS)NHL.com content modules

Notes

  • The leaders/{skaters,goalies}/{attribute} endpoint does not accept start / limit query parameters (returns 500 if you pass them).

  • Valid goalie leader attributes are restricted to savePctg, gaa, and shutouts.