Docs
Coverage MatrixDocumentationChange LogLog InContact Us
Docs

NHL v7 Overview

Introduction

As NHL’s official data partner, Sportradar offers the most detailed and complete live NHL data available. This includes official and accurate scoring, faceoffs, substitutions, hits, giveaways, and more. Game analytics and seasonal statistics are also available to provide a robust hockey experience.

The NHL API is consistent in structure, format, and behavior with our other League Specific APIs. Our primary feeds return schedules, standings, team/player data, and real-time scores.

Our other NHL feeds provide a host of complimentary statistics and information, including:

  • Rankings
  • League leaders
  • Injuries
  • Depth charts
  • In-game substitution info
  • Live event positional data
  • Seasonal statistics
  • Game analytics
  • Shot zones
  • Faceoff statistics

Real-time customers are also offered three delivery Push Feeds to enhance speed.

🗝️

Authentication is required for all API calls.



API Map

To best utilize the NHL API, you will need several parameters to create your API calls. The map below illustrates how you can obtain the parameters you need.

The primary feeds require only a date or season to call the endpoints. Those feeds provide Game, Team, or Player Ids which can be used to generate the game, team, and player feeds. All of the other feeds require no variables.


Endpoint Descriptions

Daily Change Log – Provides IDs and timestamps for teams, players, game statistics, schedules, and standings that have been modified on a given date. To receive the data updates, use these unique IDs to pull relevant API feeds.

Daily Schedule – Date, time, location, and other event details for every match-up taking place in the league-defined day.

Daily Transfers – Information for all transfers added or edited during the league-defined day. 

Depth Charts – Positional depth chart for a given team, including player position information.

Game Analytics – Provides detailed team and player analytics for a given game, including corsi, fenwick, on ice shots, and shots by type.

Game Boxscore – Top-level team scores by quarter and full statistics for team leaders in assists, goals, and points.

Game Faceoffs – Detailed faceoff information for teams and players, including period, zone, and strength breakdowns, for a given game.

Game Play-by-Play – Detailed, real-time information on every team possession and game event.

Game Shot Zones – Provides goals, shots, saves, shooting percentage, shots faced, total shot attempts, and other game statistics for players in each zone.

Game Summary – Top-level boxscore information with detailed team and player levels game stats.

Game Time on Ice – Time on ice totals for every player for a given game, including detailed shift information.

Injuries – Information concerning all active player injuries for all teams within the league.

League Hierarchy – Provides top-level information for each team, including conference and division distinction, and venue information.

League Leaders – Daily – NHL daily league leader information for various skater and goaltending categories including points, goals, and plus/minus.

League Leaders – Seasonal – NHL seasonal league leader information for various skater and goaltending categories including points, goals, and plus/minus.

League Leaders – Goaltending – NHL league leader information for various goaltending categories including full player seasonal statistics for each player in each category.

League Leaders – Skaters – NHL league leader information for various skater categories including full player seasonal statistics for each player in each category.

Player Profile – Provides player biographical information, draft information, and seasonal statistics. 

Rankings – Conference and division rank for each team, including post season clinching status.

Schedule – Date, time, location, and other event details for every match-up taking place in the full league season.

Seasonal Analytics – Detailed team and player analytics for a given team and season, including corsi, fenwick, on ice shots, and shots by type.

Seasonal Faceoffs – Detailed faceoff information for teams and players, including period, zone, and strength breakdowns, for a given team and season.

Seasonal Shot Zones – Provides goals, shots, saves, shooting percentage, shots faced, total shot attempts, and other seasonal statistics for a player in each zone.

Seasonal Statistics – Detailed team and player statistics for a given team and season.

Seasons – Provides a list of all available seasons.

Series Faceoffs – Detailed faceoff information for teams and players for a given series, including period, zone, and strength breakdowns.

Series Schedule – Playoff participant information and the date, time, location, and other event details for every match-up taking place for the entire playoffs.

Series Statistics – Detailed team and player statistics for the defined series.

Standings – Detailed team records across various views including, overall, conference, and division.

Team Leaders – Daily – NHL daily leader information for various skater and goaltending categories, including full player seasonal statistics for each player in each category.

Team Leaders – Seasonal – NHL seasonal leader information for various skater and goaltending categories, including full player seasonal statistics for each player in each category.

Team Profile – Provides top-level team information and a full roster of active players. 

Teams – Provides a complete list of active teams in the NHL API database.

Push Clock – Game clock feed with high level scoring and strength information, including the most recent game event.

Push Events – Detailed, real-time information on every game event.

Push Statistics – Detailed, real-time game stats at the team and player level.


Data Retrieval Examples

To find a players assists for a given game:

  1. Call the schedule or daily schedule and find the Game Id for the chosen game
  2. Call the Game Boxscore using the Game Id
  3. Find the assists statistics and locate the player full_name

The number of the players's assists is displayed.


To find the coach's name for a given team:

  1. Call the season or series schedule and find id for the coach's team
  2. Call the Team Profile using the Team ID
  3. Find the coach element and locate the full_name attribute

The coach's full name is displayed.



Coverage Levels

We provide two different levels of detail to ensure maximum coverage. We combine coverage levels with the correct feeds to ensure you are getting the most comprehensive data offering in the most efficient manner possible.

Full – We provide live play-by-play coverage for the entire game. We provide updated scores and time remaining as well as team- and player-level data in near real time. Full coverage is available for all regular and postseason games as well as those preseason games available live via a broadcast.

Boxscore – We provide scores and time remaining, in a timely manner, as the game progresses. In-game updates are always subject to availability of sources. Boxscore coverage is available for any preseason game that is not in an NHL venue, as those games are not covered by NHL statisticians.

🏒

Preseason Coverage Note:

Preseason games played outside NHL venues feature boxscore coverage, as they are not covered by NHL statisticians. Use the Game Boxscore endpoint for these games.

API data latency varies compared to regular season games. Preseason games often serve as a testing ground, resulting in changes and adjustments to data collection methods. As a result, data updates may not be as timely or consistent as the regular season.


Failover Details

In some rare instances it will be necessary to failover from on-rink NHL game data to in-house Sportradar data entry. NHL data will be reconciled subsequent to the conclusion of the game.

Reference this document for a list of data points lost during a failover.



Integration Links


Postman Workspace

Our entire Media APIs are available on Postman. Click the link above to be taken directly to our NHL API collection.

Feel free to follow and/or fork any collections to receive updates.


Schema Download

Open the zip file below to access our entire NHL API XSD schema.

NHL v7 Schema


Simulations

Click here for a detailed breakdown on our available simulations.



Data Entry Workflow

See below for a daily breakdown of data updates for the NHL API.

Sunday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Monday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Tuesday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Wednesday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Thursday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Friday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

Saturday

  • Final game times set for the day's games (11am ET)
  • Game stats validated and moved to closed status (60 minutes after game goes final)
  • Update rankings (60 minutes after the last game goes final)
  • Season stats validation (all day)
  • Injuries (all day)*
  • Transactions (all day)*

* We monitor and update injuries and transactions throughout the day, using a combination of official and reliable sources.

Important Dates

  • The NHL schedule typically becomes available in July. This release may differ year-to-year depending on seasonal demands.


All-Star Game FAQ

How do I locate the All-Star game(s)?

The games can be found in the Daily or League Schedule endpoint. For example: nhl/trial/v7/en/games/2022/02/05/schedule

Every game-centric feed (e.g. Game Play-by-Play, Game Summary, Push Events, etc) can be accessed during the games.

Click here for a Game Summary or Game Play-by-Play sample of the 2022 games.

What are the differences from a typical NHL game?

There are three total games played for the NHL All-Star break. Two semifinal games (teams for each of the 4 NHL divisions), with the winner of each game advancing to the final game. All three games appear in the Daily Schedule or League Schedule endpoint.

All three games are three-on-three, with two 10-minute periods.

Are the All-Star games covered in realtime?

Yes, all three games are covered in realtime, including the same level of team and player statistics as a regular season game.

When are the All-Star rosters set?

All-Star game rosters will be available shortly prior to each game beginning.

Please note that we only provide game rosters (not team rosters) for each game. Request the Game Summary endpoint prior to the game to receive rosters.

Do you cover the Skills competition?

No. We do not currently cover the All-Star Skills competition in the NHL API.