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.
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
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
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
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.
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
Links
- Highlight link
Link to the NHL's video clip of a goal, when there is one.
Example nhl.com/video/sjs-nyr-zibanejad-scores-goal-against-alex-nedeljkovic-6409239953112
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
game_id | text | Game ID (hidden) | 3 of 3 |
game_date | date | Game date | 3 of 3 |
season | text | Season | 3 of 3 |
game_type | text | Game type | 3 of 3 |
home_team | text | Home team | 3 of 3 |
away_team | text | Away team | 3 of 3 |
event_id | number | Event ID (hidden) | 3 of 3 |
sort_order | number | Sort order | 3 of 3 |
period | number | Period | 3 of 3 |
period_type | text | Period type | 3 of 3 |
time_in_period | text | Time in period | 3 of 3 |
time_remaining | text | Time remaining | 3 of 3 |
game_seconds | number | Game (seconds) | 3 of 3 |
situation_code | text | Situation code | 3 of 3 |
home_skaters | number | Home skaters | 3 of 3 |
away_skaters | number | Away skaters | 3 of 3 |
event_type | text | Event type | 3 of 3 |
team_id | number | Team ID (hidden) | 3 of 3 |
team | text | Team | 3 of 3 |
x_coord | number | X coord | 3 of 3 |
y_coord | number | Y coord | 3 of 3 |
zone | text | Zone | 3 of 3 |
shot_type | text | Shot type | 2 of 3 |
shooter_id | number | Shooter ID (hidden) | 2 of 3 |
shooter_name | text | Shooter name | 2 of 3 |
scorer_id | number | Scorer ID (hidden) | 2 of 3 |
scorer_name | text | Scorer name | 2 of 3 |
assist_ids | list | Assist IDs (hidden) | 2 of 3 |
assist_names | list | Assist names | 2 of 3 |
goalie_id | number | Goalie ID (hidden) | 2 of 3 |
goalie_name | text | Goalie name | 2 of 3 |
is_empty_net | yes or no | Empty net | 2 of 3 |
player_id | number | Player ID (hidden) | 1 of 3 |
player_name | text | Player name | 1 of 3 |
other_player_id | number | Other player ID (hidden) | 1 of 3 |
other_player_name | text | Other player name | 1 of 3 |
penalty_type | text | Penalty type | 1 of 3 |
penalty_minutes | number | Penalty (minutes) | 1 of 3 |
reason | text | Reason | 0 of 3 |
home_score | number | Home score | 3 of 3 |
away_score | number | Away score | 3 of 3 |
home_sog | number | Home sog | 3 of 3 |
away_sog | number | Away sog | 3 of 3 |
highlight_url | link | Highlight link | 2 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Season | Game type | Home team | Away team | Sort order | Period | Period type | Game (seconds) | Situation code | Home skaters | Away skaters | Event type | Team | X coord | Y coord | Zone | Shot type | Shooter name | Scorer name | Assist names | Goalie name | Empty net | Player name | Other player name | Penalty type | Penalty (minutes) | Reason | Home score | Away score | Home sog | Away sog | Game date | Time in period | Time remaining | Highlight link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2026-27 | regular season | NYR | SJS | 15 | 1 | REG | 34 | 1551 | 5 | 5 | goal | NYR | -80 | -5 | O | tip-in | Mika Zibanejad | Mika Zibanejad | Sean Durzi, Eeli Tolvanen | Alex Nedeljkovic | No | — | — | — | — | — | 1 | 0 | 1 | 0 | Dec 3, 2026 | 00:34 | 19:26 | nhl.com/video/sjs-nyr-zibanejad-scores-goal-against-alex-nedeljkovic-6409239953112 |
| 2 | 2026-27 | regular season | NYR | SJS | 68 | 1 | REG | 264 | 1551 | 5 | 5 | goal | NYR | -57 | -2 | O | snap | J.T. Miller | J.T. Miller | Alexis Lafrenière, Tye Kartye | Alex Nedeljkovic | No | — | — | — | — | — | 2 | 0 | 4 | 3 | Dec 3, 2026 | 04:24 | 15:36 | nhl.com/video/sjs-nyr-miller-scores-goal-against-alex-nedeljkovic-6409239982112 |
| 3 | 2026-27 | regular season | NYR | SJS | 77 | 1 | REG | 285 | 1551 | 5 | 5 | penalty | SJS | -85 | -8 | D | — | — | — | — | — | — | Jacob Trouba | Max Sasson | slashing | 2 | — | 2 | 0 | 5 | 3 | Dec 3, 2026 | 04:45 | 15: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.
- 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.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.