NHL Play-by-Play

Every play of NHL games, one row per play: period and clock, play type, team, rink x/y and zone, shot type, shooter, scorer, assists and goalie with names, hits, faceoffs, penalties, and the running score and shots on goal. Give game days or game ids.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usRecords, 44 fieldsv1.0

Data from api-web.nhle.com/v1/gamecenter/2026020448/play-by-play

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Datesoptional
Game days as YYYY-MM-DD, such as 2026-12-03. Empty, with no game ids, means yesterday's games. One per line, or separated by commas.
Example: 2026-12-03
Game IDsoptional
NHL game ids, such as 2026020448, instead of dates. One per line, or separated by commas.
Example: 2026020448
Teamsoptional
Only games of these teams, by abbreviation or team name, such as TOR or Maple Leafs. One per line, or separated by commas.
Example: TOR
Event typesoptional
Only these kinds of play. Empty means every play. One per line, or separated by commas.

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/nhl-play-by-play/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/nhl-play-by-play/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"dates":["2026-12-03"]},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

dateslist
Game days as YYYY-MM-DD, such as 2026-12-03. Empty, with no game ids, means yesterday's games.
example: 2026-12-03
game_idslist
NHL game ids, such as 2026020448, instead of dates.
example: 2026020448
teamslist
Only games of these teams, by abbreviation or team name, such as TOR or Maple Leafs.
example: TOR
event_typeslist
Only these kinds of play. Empty means every play.
example: goal, shot-on-goalone of: goal, shot-on-goal, missed-shot, blocked-shot, failed-shot-attempt, hit, penalty, delayed-penalty, faceoff, giveaway…

What's in each record

44 fields: 35 here, 9 technical ones under Technical details.

Basics

  • Season

    Season, such as 2026-27.

    Example 2026-27

  • Game type

    preseason, regular season or playoffs.

    Example regular season

  • Home team

    Home team abbreviation, such as TOR.

    Example NYR

  • Away team

    Visiting team abbreviation, such as FLA.

    Example SJS

  • Sort order

    Order of the play in the game; rows come in this order.

    Example 15

  • Period

    Period number: 1 to 3, then overtime and shootout.

    Example 1

  • Period type

    REG (regulation), OT (overtime) or SO (shootout).

    Example REG

  • Game (seconds)

    Seconds of play since the opening faceoff; empty in shootouts.

    Example 34

  • Situation code

    The NHL's four-digit strength code: away goalie, away skaters, home skaters, home goalie (1551 is five on five).

    Example 1551

  • Home skaters

    Home skaters on the ice, from the strength code.

    Example 5

  • Away skaters

    Visiting skaters on the ice, from the strength code.

    Example 5

  • Event type

    Kind of play, such as goal, shot-on-goal, missed-shot, blocked-shot, hit, faceoff, penalty or stoppage.

    Example goal

  • Team

    Abbreviation of the team that made the play.

    Example NYR

  • X coord

    Rink x position in feet from centre ice (-100 to 100).

    Example -80

  • Y coord

    Rink y position in feet from centre ice (-42.5 to 42.5).

    Example -5

  • Zone

    O (offensive), D (defensive) or N (neutral) zone.

    Example O

  • Shot type

    Shot type on shots and goals, such as wrist, slap, snap, backhand or tip-in.

    Example tip-in

  • Shooter name

    Example Mika Zibanejad

  • Scorer name

    Name of the goal scorer.

    Example Mika Zibanejad

  • Assist names

    Names of the players credited with assists.

    Example Sean Durzi, Eeli Tolvanen

  • Goalie name

    Name of the goalie in net.

    Example Alex Nedeljkovic

  • Empty net

    On shots and goals: true when the defending team had pulled its goalie.

    Example No

  • Player name

    Name of that player.

    Example Jacob Trouba

  • Other player name

    Name of that player.

    Example Max Sasson

  • Penalty type

    Infraction on penalties, such as hooking or interference.

    Example slashing

  • Penalty (minutes)

    Penalty length in minutes.

    Example 2

  • Reason

    Why a shot missed (wide-left, hit-crossbar), a shot was blocked, or play stopped (icing, offside).

    Example wide-left

  • Home score

    Home goals after this play.

    Example 1

  • Away score

    Visiting goals after this play.

    Example 0

  • Home sog

    Home shots on goal so far, goals included, after this play.

    Example 1

  • Away sog

    Visiting shots on goal so far, goals included, after this play.

    Example 0

Dates

  • Game date

    The NHL's game day (Eastern time).

    Example Dec 3, 2026

  • Time in period

    Clock time elapsed in the period, as mm:ss.

    Example 00:34

  • Time remaining

    Clock time left in the period, as mm:ss.

    Example 19:26

Technical detailsField names and types for developers, and the 9 fields hidden above

Hidden by default

These 9 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Game ID game_idThe NHL's game id, such as 2026020448.
  • Event ID event_idThe NHL's id of the play within the game.
  • Team ID team_idThe NHL's id of the team that made the play (the shooting team on shots).
  • Shooter ID shooter_idNHL id of the shooter on shots, missed and blocked shots and goals.
  • Scorer ID scorer_idNHL id of the goal scorer, on goals.
  • Assist IDs assist_idsNHL ids of the players credited with assists on a goal.
  • Goalie ID goalie_idNHL id of the goalie in net on shots and goals; empty when the net was empty.
  • Player ID player_idNHL id of the player the play is about: hitter, faceoff winner, player who lost or won the puck, penalized player or shot blocker.
  • Other player ID other_player_idNHL id of the player on the other side: player hit, faceoff loser or player who drew the penalty.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
game_idtextGame ID (hidden)3 of 3
game_datedateGame date3 of 3
seasontextSeason3 of 3
game_typetextGame type3 of 3
home_teamtextHome team3 of 3
away_teamtextAway team3 of 3
event_idnumberEvent ID (hidden)3 of 3
sort_ordernumberSort order3 of 3
periodnumberPeriod3 of 3
period_typetextPeriod type3 of 3
time_in_periodtextTime in period3 of 3
time_remainingtextTime remaining3 of 3
game_secondsnumberGame (seconds)3 of 3
situation_codetextSituation code3 of 3
home_skatersnumberHome skaters3 of 3
away_skatersnumberAway skaters3 of 3
event_typetextEvent type3 of 3
team_idnumberTeam ID (hidden)3 of 3
teamtextTeam3 of 3
x_coordnumberX coord3 of 3
y_coordnumberY coord3 of 3
zonetextZone3 of 3
shot_typetextShot type2 of 3
shooter_idnumberShooter ID (hidden)2 of 3
shooter_nametextShooter name2 of 3
scorer_idnumberScorer ID (hidden)2 of 3
scorer_nametextScorer name2 of 3
assist_idslistAssist IDs (hidden)2 of 3
assist_nameslistAssist names2 of 3
goalie_idnumberGoalie ID (hidden)2 of 3
goalie_nametextGoalie name2 of 3
is_empty_netyes or noEmpty net2 of 3
player_idnumberPlayer ID (hidden)1 of 3
player_nametextPlayer name1 of 3
other_player_idnumberOther player ID (hidden)1 of 3
other_player_nametextOther player name1 of 3
penalty_typetextPenalty type1 of 3
penalty_minutesnumberPenalty (minutes)1 of 3
reasontextReason0 of 3
home_scorenumberHome score3 of 3
away_scorenumberAway score3 of 3
home_sognumberHome sog3 of 3
away_sognumberAway sog3 of 3
highlight_urllinkHighlight link2 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordSeasonGame typeHome teamAway teamSort orderPeriodPeriod typeGame (seconds)Situation codeHome skatersAway skatersEvent typeTeamX coordY coordZoneShot typeShooter nameScorer nameAssist namesGoalie nameEmpty netPlayer nameOther player namePenalty typePenalty (minutes)ReasonHome scoreAway scoreHome sogAway sogGame dateTime in periodTime remainingHighlight link
12026-27regular seasonNYRSJS151REG34155155goalNYR-80-5Otip-inMika ZibanejadMika ZibanejadSean Durzi, Eeli TolvanenAlex NedeljkovicNo—————1010Dec 3, 202600:3419:26nhl.com/video/sjs-nyr-zibanejad-scores-goal-against-alex-nedeljkovic-6409239953112
22026-27regular seasonNYRSJS681REG264155155goalNYR-57-2OsnapJ.T. MillerJ.T. MillerAlexis Lafrenière, Tye KartyeAlex NedeljkovicNo—————2043Dec 3, 202604:2415:36nhl.com/video/sjs-nyr-miller-scores-goal-against-alex-nedeljkovic-6409239982112
32026-27regular seasonNYRSJS771REG285155155penaltySJS-85-8D——————Jacob TroubaMax Sassonslashing2—2053Dec 3, 202604:4515:15—

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Data comes from the NHL's own public game feed. The NHL owns it: credit the NHL when you publish it. The NHL's site asks that its data not be used to train AI models.
  • At most 31 game days or 100 game ids per run. A day of NHL games is about 3,000 to 5,000 plays; games not started yet are skipped and a game in progress gives its plays so far.
  • Full plays with rink coordinates are there for games from 2010-11 on; games from the mid-2000s list only shots, goals and penalties, without coordinates.
  • Coordinates are in feet from centre ice, as the NHL records them. zone is seen from the team that made the play, except on blocked shots, where the NHL gives it from the blocking team's side.
  • The running score comes from the NHL's goal entries, so shootout goals do not change it. Shots on goal are counted from the plays, goals included and shootout attempts left out. Dates are the NHL's game days (Eastern time).

Version history

A run uses the live version unless the request names another one with version.