-
-
Notifications
You must be signed in to change notification settings - Fork 8
NHL API Endpoints
The NHL has updated their API. These are the endpoints I have found so far:
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