Skip to content

NHL API Endpoints

Corey Schaf edited this page Nov 11, 2023 · 1 revision

The NHL has updated their API. These are the endpoints I have found so far:

API Documentation

Base URL: https://api-web.nhle.com/v1

Schedule

GET https://api-web.nhle.com/v1/schedule/{date}

This returns the games for the given date. The date should be format 2023-11-10.

Example:

https://api-web.nhle.com/v1/schedule/2023-11-10


GET https://api-web.nhle.com/v1/schedule/now

Return game schedule, for the league, for today. Note "today" could be yesterday if this is early in the day.


GET https://api-web.nhle.com/v1/club-schedule/{TEAM_ABB}/month/{MONTH}

Returns the schedule, for the given team (abbreviation), by month. Month should be formatted as 2023-11. TEAM_ABB is the team abbreviation.

Example:

https://api-web.nhle.com/v1/club-schedule/BUF/month/2023-11


GET https://api-web.nhle.com/v1/club-schedule-season/{TEAM_ABB}/{SEASON}

Returns the team schedule for the given year. TEAM_ABB is the team abbreviation. Season should be in format YYYYYYYY, such as 20232024 for the 2023-2024 season.

Example:

https://api-web.nhle.com/v1/club-schedule-season/BUF/20232024


GET https://api-web.nhle.com/v1/club-schedule/BUF/week/now

Teams

Clone this wiki locally