Hockey
Statpad serves one hockey league, the NHL (nhl). A hockey game fills the same endpoints as every other sport, with its sport’s details in the hockey blocks.
The examples come from a recorded game, the Panthers at the Capitals on November 7, 2026, which Washington won 4 to 3.
Live state
live_state on GET /v1/nhl/games/{id} carries the situation in its hockey block. The other sports’ blocks are null.
There’s no live power-play state. Each play carries its team’s manpower at the time as strength.
After the final, period and clock_seconds keep the end of the game, such as period 3 at 0, and the hockey block stays.
Periods, overtime and shootouts
The NHL has a period_kind of period and 3 regulation_periods:
Build a scoreboard labels these periods, Shootout included, and the clock section formats clock_seconds.
A shootout changes the score only once. Each attempt is a goal, shot_on_goal or missed_shot play with hockey.is_shootout set. Attempts never score, so they keep the tied score from the end of overtime. The plays that end the shootout carry the final score, which gives the winner one goal more. The game’s home_score and away_score include that goal. A player’s shootout goals are in shootout_goals in the box score, not in goals.
Plays
GET /v1/nhl/games/{id}/plays lists every event. It returns a page of events, 500 by default and up to 1,000 with limit, with a next_cursor for the rest. Lists, pagination and dates shows how to page. A play’s type and its hockey.play_type are the same value, one of these:
The hockey block on each play:
team_id is the team the feed credits: the shooting team for a goal, a shot on goal or a miss, the blocking team for a blocked shot, the faceoff’s winner, and the penalized team. description is the feed’s play text.
Each play’s participants lists the players in it with a role: scorer, assist, shooter, goalie (who faced the shot), blocker, faceoff_winner, faceoff_loser, hitter, hittee, giver, taker, fouler (the penalized player) and fouled (who drew the penalty), or player for any other part. Join each participant’s player_id to players[].id in the game roster response, not to the box score, because a player in a play can have no stat line.
This is the Panthers’ power-play goal in the 1st period, from plays.json, unedited:
Brady Tkachuk scored with 10:00 left in the 1st period to put Florida up 2 to 1, with two assists. The play has no baseball block because Statpad recorded the sample before it added baseball. Treat a missing block as null.
Play groups
Hockey has no drives or possessions in the data. Every play’s group_id is null, and GET /v1/nhl/games/{id}/play-groups returns an empty list.
Box score
GET /v1/nhl/games/{id}/boxscore has one line per player with stats, in one of two categories. Forwards and defensemen are skaters:
Goaltenders are goalies:
Treat every code as optional, and ignore codes you don’t use. Build a scoreboard joins the lines to player names.
Rosters and injuries
GET /v1/nhl/games/{id}/roster lists every player in the box score, with their team, jersey and position (C, LW, RW, D or G). The hockey feed doesn’t mark starters, so starter is false.
The NHL fills injuries. GET /v1/nhl/injuries and league:nhl carry the league’s injury report, refreshed every 30 minutes, with statuses such as day_to_day, out and injured_reserve. Coverage by league describes the injury fields.
What isn’t filled yet
Coverage by league lists the gaps every sport shares, such as team totals and the score by period.