Results / New Jersey Devils at New York Islanders
4–1Final
New Jersey Devils at New York Islanders
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 1 | 3 | 0 | 4 | 26 | |
| 0 | 0 | 1 | 1 | 15 |
Goals and penalties
1st period
- 4:472 min NYI Scott Mayfield Holding, drawn by Anthony Mantha
- 6:13Goal NJD Luke Evangelista (Jack Hughes, Luke Hughes) Power play 1–0
- 8:062 min NJD Dawson Mercer Holding, drawn by Matias Maccelli
- 12:112 min NJD Declan Chisholm Tripping, drawn by Bo Horvat
- 17:462 min NYI Kashawn Aitcheson Interference, drawn by Evan Rodrigues
2nd period
- 0:42Goal NJD Arseny Gritsyuk (Evan Rodrigues) 2–0
- 1:01Goal NJD Luke Evangelista (Nico Hischier, Jonas Siegenthaler) 3–0
- 14:48Goal NJD Dougie Hamilton (Jonas Siegenthaler, Evan Rodrigues) 4–0
- 15:092 min NJD Luke Evangelista Tripping, drawn by Emil Heineman
3rd period
- 6:182 min NJD Evan Rodrigues Holding, drawn by Calum Ritchie
- 15:21Goal NYI Simon Holmstrom (Kyle Palmieri, Bo Horvat) 4–1
Box score
New Jersey Devils skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 77 Luke Evangelista RW | 2 | 0 | 2 | +2 | 3 | 14:57 |
| 71 Jonas Siegenthaler D | 0 | 2 | 2 | +2 | 2 | 21:40 |
| 17 Evan Rodrigues C | 0 | 2 | 2 | +2 | 1 | 14:15 |
| 7 Dougie Hamilton D | 1 | 0 | 1 | +2 | 2 | 19:52 |
| 81 Arseny Gritsyuk RW | 1 | 0 | 1 | +2 | 2 | 14:57 |
| 43 Luke Hughes D | 0 | 1 | 1 | +1 | 1 | 23:31 |
| 86 Jack Hughes C | 0 | 1 | 1 | -1 | 2 | 17:34 |
| 13 Nico Hischier C | 0 | 1 | 1 | +1 | 3 | 16:11 |
| 22 Brett Pesce D | 0 | 0 | 0 | +1 | 0 | 19:33 |
| 5 Brenden Dillon D | 0 | 0 | 0 | -1 | 2 | 17:38 |
| 47 Declan Chisholm D | 0 | 0 | 0 | -1 | 0 | 16:48 |
| 63 Jesper Bratt LW | 0 | 0 | 0 | -1 | 2 | 16:12 |
| 91 Dawson Mercer C | 0 | 0 | 0 | +1 | 1 | 14:37 |
| 16 Connor Brown RW | 0 | 0 | 0 | 0 | 3 | 14:05 |
| 28 Timo Meier RW | 0 | 0 | 0 | +1 | 1 | 13:32 |
| 12 Cody Glass C | 0 | 0 | 0 | 0 | 1 | 12:51 |
| 39 Anthony Mantha RW | 0 | 0 | 0 | -1 | 0 | 12:33 |
| 93 Amadeus Lombardi C | 0 | 0 | 0 | 0 | 0 | 11:14 |
New Jersey Devils goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 34 Jake Allen | W | 15 | 14 | 1 | .933 | 60:00 |
New York Islanders skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 92 Simon Holmstrom RW | 1 | 0 | 1 | +1 | 2 | 22:32 |
| 21 Kyle Palmieri C | 0 | 1 | 1 | 0 | 1 | 18:16 |
| 14 Bo Horvat C | 0 | 1 | 1 | +1 | 0 | 17:36 |
| 11 Anthony Duclair LW | 0 | 0 | 0 | -2 | 2 | 18:25 |
| 28 Alexander Romanov D | 0 | 0 | 0 | 0 | 2 | 18:18 |
| 63 Matias Maccelli LW | 0 | 0 | 0 | 0 | 0 | 18:02 |
| 6 Ryan Pulock D | 0 | 0 | 0 | -1 | 0 | 17:41 |
| 51 Emil Heineman LW | 0 | 0 | 0 | -1 | 4 | 17:29 |
| 64 Calum Ritchie C | 0 | 0 | 0 | -2 | 0 | 17:08 |
| 3 Adam Pelech D | 0 | 0 | 0 | 0 | 0 | 16:27 |
| 37 Kashawn Aitcheson D | 0 | 0 | 0 | 0 | 2 | 16:10 |
| 4 Matthew Kessel D | 0 | 0 | 0 | +1 | 1 | 15:28 |
| 44 Jean-Gabriel Pageau C | 0 | 0 | 0 | -1 | 0 | 15:17 |
| 73 Victor Eklund RW | 0 | 0 | 0 | -2 | 1 | 15:07 |
| 81 Ondrej Palat LW | 0 | 0 | 0 | 0 | 0 | 14:58 |
| 53 Casey Cizikas C | 0 | 0 | 0 | 0 | 0 | 14:04 |
| 24 Scott Mayfield D | 0 | 0 | 0 | -2 | 0 | 12:58 |
| 36 Isaiah George D | 0 | 0 | 0 | -2 | 0 | 10:43 |
New York Islanders goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 30 Ilya Sorokin | L | 26 | 22 | 4 | .846 | 59:55 |
Play-by-play
Every faceoff, shot, hit, giveaway, takeaway, stoppage and goal, newest first. Each play also has rink coordinates in feet in the API.
1st period 93 plays
- 20:00Period end
- 19:54NJDMissed shot slap Connor Brown, Ilya Sorokin
- 19:48NJDShot on goal wrist Connor Brown, Ilya Sorokin
- 19:46NYIHit Alexander Romanov, Cody Glass
- 19:40NJDMissed shot wrist Amadeus Lombardi, Ilya Sorokin
- 19:36NJDFaceoff Cody Glass, Bo Horvat
- 19:36Stoppage puck in netting
- 19:34NJDBlocked shot blocked Evan Rodrigues, Ondrej Palat
- 19:18NJDGiveaway Evan Rodrigues
- 19:04NJDFaceoff Evan Rodrigues, Casey Cizikas
- 19:04Stoppage puck in netting
- 19:02NYIShot on goal wrist Emil Heineman, Jake Allen
- 18:56NYIShot on goal wrist Emil Heineman, Jake Allen
- 18:53NYITakeaway Emil Heineman
- 18:41NJDShot on goal wrist Jesper Bratt, Ilya Sorokin
- 18:09NJDShot on goal wrist Nico Hischier, Ilya Sorokin
- 17:46NYIFaceoff Jean-Gabriel Pageau, Nico Hischier
- 17:46Stoppage tv timeout
- 17:46NYIPenalty interference Kashawn Aitcheson, Evan Rodrigues
- 17:38NJDHit Evan Rodrigues, Anthony Duclair
- 17:21NYIGiveaway Casey Cizikas
- 17:16NYIShot on goal snap Anthony Duclair, Jake Allen
- 17:14NJDGiveaway Evan Rodrigues
- 17:10NYIHit Casey Cizikas, Declan Chisholm
- 16:56NJDShot on goal slap Brenden Dillon, Ilya Sorokin
- 16:33NYIGiveaway Ryan Pulock
- 16:18NYITakeaway Emil Heineman
- 16:16NYIHit Emil Heineman, Connor Brown
- 16:09NYIBlocked shot teammate blocked Adam Pelech, Kyle Palmieri
- 15:17NJDGiveaway Nico Hischier
- 15:11NJDBlocked shot blocked Timo Meier, Alexander Romanov
- 15:00NJDGiveaway Declan Chisholm
- 14:11NYIHit Casey Cizikas, Evan Rodrigues
- 13:51NYIBlocked shot blocked Kashawn Aitcheson, Arseny Gritsyuk
- 13:44NYIHit Victor Eklund, Jonas Siegenthaler
- 13:28NYIMissed shot slap Emil Heineman, Jake Allen
- 12:46NYIBlocked shot teammate blocked Bo Horvat, Kyle Palmieri
- 12:37NYIMissed shot tip in Kyle Palmieri, Jake Allen
- 12:29NYIShot on goal wrist Simon Holmstrom, Jake Allen
- 12:11NYIFaceoff Bo Horvat, Cody Glass
- 12:11NJDPenalty tripping Declan Chisholm, Bo Horvat
- 12:08NYIShot on goal slap Alexander Romanov, Jake Allen
- 12:02NJDDelayed penalty
- 11:05NJDFaceoff Jack Hughes, Jean-Gabriel Pageau
- 11:05Stoppage offside
- 10:55NJDTakeaway Amadeus Lombardi
- 10:38NJDGiveaway Jake Allen
- 10:15NYIFaceoff Casey Cizikas, Cody Glass
- 10:15Stoppage goalie stopped after sog
- 10:13NYIShot on goal slap Kashawn Aitcheson, Jake Allen
- 10:08NYIShot on goal snap Kashawn Aitcheson, Jake Allen
- 9:36NYIGiveaway Victor Eklund
- 9:08NJDShot on goal wrist Nico Hischier, Ilya Sorokin
- 8:06NJDFaceoff Cody Glass, Bo Horvat
- 8:06Stoppage tv timeout
- 8:06NJDPenalty holding Dawson Mercer, Matias Maccelli
- 8:03NJDDelayed penalty
- 7:43NJDShot on goal wrist Luke Hughes, Ilya Sorokin
- 7:39NJDMissed shot wrist Evan Rodrigues, Ilya Sorokin
- 7:36NJDMissed shot wrist Dawson Mercer, Ilya Sorokin
- 7:15NJDShot on goal wrist Arseny Gritsyuk, Ilya Sorokin
- 7:14NJDShot on goal snap Evan Rodrigues, Ilya Sorokin
- 6:57NYIMissed shot wrist Ondrej Palat, Jake Allen
- 6:45NYITakeaway Matthew Kessel
- 6:39NYIHit Casey Cizikas, Dougie Hamilton
- 6:13NJDFaceoff Cody Glass, Casey Cizikas
- 6:13NJDGoal wrist Luke Evangelista, Jack Hughes, Luke Hughes, Ilya Sorokin 1–0
- 5:59NYIGiveaway Adam Pelech
- 5:52NJDMissed shot wrist Luke Evangelista, Ilya Sorokin
- 5:32NJDBlocked shot blocked Jack Hughes, Ryan Pulock
- 5:22NJDMissed shot tip in Nico Hischier, Ilya Sorokin
- 5:16NJDBlocked shot blocked Luke Hughes, Simon Holmstrom
- 4:47NYIFaceoff Jean-Gabriel Pageau, Nico Hischier
- 4:47Stoppage goalie stopped after sog
- 4:47NYIPenalty holding Scott Mayfield, Anthony Mantha
- 4:45NJDShot on goal wrist Brenden Dillon, Ilya Sorokin
- 4:40NJDHit Jesper Bratt, Calum Ritchie
- 3:47NYIFaceoff Bo Horvat, Nico Hischier
- 3:47Stoppage icing
- 3:28NJDBlocked shot teammate blocked Jonas Siegenthaler, Arseny Gritsyuk
- 3:21NJDTakeaway Dawson Mercer
- 3:14NJDMissed shot wrist Dawson Mercer, Ilya Sorokin
- 3:03NJDBlocked shot blocked Dougie Hamilton, Jean-Gabriel Pageau
- 3:00NYIHit Alexander Romanov, Arseny Gritsyuk
- 1:49NJDHit Jesper Bratt, Anthony Duclair
- 1:40NJDBlocked shot blocked Brenden Dillon, Victor Eklund
- 1:40NYIGiveaway Matthew Kessel
- 0:42NJDGiveaway Jonas Siegenthaler
- 0:31NJDFaceoff Nico Hischier, Bo Horvat
- 0:31Stoppage puck in netting
- 0:19NJDHit Evan Rodrigues, Emil Heineman
- 0:00NJDFaceoff Evan Rodrigues, Jean-Gabriel Pageau
- 0:00Period start
2nd period 81 plays
- 20:00Period end
- 19:53NYIFaceoff Bo Horvat, Nico Hischier
- 19:53Stoppage goalie stopped after sog
- 19:51NJDShot on goal wrist Jack Hughes, Ilya Sorokin
- 19:28NYIGiveaway Adam Pelech
- 19:24NJDBlocked shot blocked Jack Hughes, Matthew Kessel
- 19:02NJDBlocked shot blocked Luke Evangelista, Calum Ritchie
- 18:39NYIShot on goal slap Matthew Kessel, Jake Allen
- 18:20NJDGiveaway Luke Hughes
- 18:15NJDFaceoff Nico Hischier, Calum Ritchie
- 18:15Stoppage offside
- 18:04NJDMissed shot tip in Jack Hughes, Ilya Sorokin
- 17:57NYIMissed shot slap Alexander Romanov, Jake Allen
- 17:50NYIBlocked shot blocked Alexander Romanov, Anthony Mantha
- 17:23NYIBlocked shot blocked Jean-Gabriel Pageau, Declan Chisholm
- 16:07NYIMissed shot snap Simon Holmstrom, Jake Allen
- 15:19NYIShot on goal tip in Kyle Palmieri, Jake Allen
- 15:09NJDFaceoff Cody Glass, Bo Horvat
- 15:09Stoppage tv timeout
- 15:09NJDPenalty tripping Luke Evangelista, Emil Heineman
- 15:04NJDGiveaway Declan Chisholm
- 14:48NYIFaceoff Jean-Gabriel Pageau, Nico Hischier
- 14:48NJDGoal snap Dougie Hamilton, Jonas Siegenthaler, Evan Rodrigues, Ilya Sorokin 4–0
- 14:21NJDShot on goal wrist Dawson Mercer, Ilya Sorokin
- 14:19NJDShot on goal wrist Jonas Siegenthaler, Ilya Sorokin
- 14:04NJDHit Evan Rodrigues, Victor Eklund
- 13:15NYIMissed shot snap Alexander Romanov, Jake Allen
- 12:53NJDBlocked shot blocked Luke Hughes, Adam Pelech
- 12:43NJDShot on goal slap Connor Brown, Ilya Sorokin
- 12:04NJDMissed shot wrist Brenden Dillon, Ilya Sorokin
- 11:47NYIGiveaway Jean-Gabriel Pageau
- 11:14NYIMissed shot slap Casey Cizikas, Jake Allen
- 10:19NJDMissed shot slap Dawson Mercer, Ilya Sorokin
- 10:18NYIGiveaway Alexander Romanov
- 10:15NJDHit Arseny Gritsyuk, Isaiah George
- 10:06NYIGiveaway Calum Ritchie
- 9:44NYIHit Victor Eklund, Dawson Mercer
- 9:10NJDShot on goal wrist Connor Brown, Ilya Sorokin
- 8:56NYITakeaway Simon Holmstrom
- 8:29NYIFaceoff Bo Horvat, Cody Glass
- 8:29Stoppage goalie stopped after sog
- 8:27NYIShot on goal wrist Emil Heineman, Jake Allen
- 7:48NYIFaceoff Jean-Gabriel Pageau, Jack Hughes
- 7:48Stoppage puck in benches
- 7:42NJDGiveaway Luke Evangelista
- 7:41NYIGiveaway Adam Pelech
- 7:38NJDHit Timo Meier, Kashawn Aitcheson
- 7:26NJDBlocked shot blocked Luke Hughes, Ondrej Palat
- 5:40NJDBlocked shot blocked Jonas Siegenthaler, Alexander Romanov
- 5:32NJDHit Dougie Hamilton, Anthony Duclair
- 5:23NJDBlocked shot blocked Dougie Hamilton, Alexander Romanov
- 5:10NJDBlocked shot blocked Amadeus Lombardi, Alexander Romanov
- 5:06NJDFaceoff Cody Glass, Calum Ritchie
- 5:06Stoppage icing
- 4:53NJDHit Jesper Bratt, Ryan Pulock
- 4:35NJDGiveaway Jack Hughes
- 3:58NJDGiveaway Timo Meier
- 3:41NJDMissed shot slap Declan Chisholm, Ilya Sorokin
- 3:33NYIGiveaway Scott Mayfield
- 3:10NJDMissed shot tip in Arseny Gritsyuk, Ilya Sorokin
- 3:04NYIHit Kashawn Aitcheson, Evan Rodrigues
- 2:51NJDHit Arseny Gritsyuk, Kashawn Aitcheson
- 2:40NYIHit Victor Eklund, Cody Glass
- 2:13NYIHit Victor Eklund, Amadeus Lombardi
- 1:56NYIFaceoff Casey Cizikas, Cody Glass
- 1:56Stoppage goalie stopped after sog
- 1:54NJDShot on goal wrist Jesper Bratt, Ilya Sorokin
- 1:44NJDTakeaway Jack Hughes
- 1:28NYIGiveaway Matias Maccelli
- 1:26NYIHit Bo Horvat, Jesper Bratt
- 1:14NJDHit Brenden Dillon, Matias Maccelli
- 1:06NJDFaceoff Jack Hughes, Bo Horvat
- 1:06Stoppage puck in crowd
- 1:01NYIFaceoff Bo Horvat, Jack Hughes
- 1:01NJDGoal wrist Luke Evangelista, Nico Hischier, Jonas Siegenthaler, Ilya Sorokin 3–0
- 0:57NJDShot on goal wrist Jonas Siegenthaler, Ilya Sorokin
- 0:42NJDFaceoff Nico Hischier, Calum Ritchie
- 0:42NJDGoal wrist Arseny Gritsyuk, Evan Rodrigues, Ilya Sorokin 2–0
- 0:22NJDGiveaway Arseny Gritsyuk
- 0:00NYIFaceoff Jean-Gabriel Pageau, Evan Rodrigues
- 0:00Period start
3rd period 76 plays
- 20:00Game end
- 20:00Period end
- 19:54NJDFaceoff Cody Glass, Calum Ritchie
- 19:54Stoppage puck in netting
- 19:52NJDBlocked shot blocked Dougie Hamilton, Ryan Pulock
- 19:10NYIBlocked shot blocked Alexander Romanov, Brett Pesce
- 19:03NYIHit Matias Maccelli, Luke Hughes
- 18:49NYIMissed shot snap Anthony Duclair, Jake Allen
- 18:27NYIGiveaway Victor Eklund
- 17:42NYIHit Casey Cizikas, Evan Rodrigues
- 17:33NYIGiveaway Isaiah George
- 17:15NYIGiveaway Casey Cizikas
- 17:02NYIFaceoff Casey Cizikas, Evan Rodrigues
- 17:02Stoppage puck in netting
- 17:00NJDMissed shot backhand Amadeus Lombardi, Ilya Sorokin
- 16:42NJDShot on goal wrist Dougie Hamilton, Ilya Sorokin
- 15:54NYIShot on goal snap Alexander Romanov, Jake Allen
- 15:39NYIFaceoff Jean-Gabriel Pageau, Nico Hischier
- 15:39Stoppage icing
- 15:21NJDFaceoff Nico Hischier, Jean-Gabriel Pageau
- 15:21NYIGoal wrist Simon Holmstrom, Kyle Palmieri, Bo Horvat, Jake Allen 4–1
- 15:12NYIMissed shot wrist Simon Holmstrom, Jake Allen
- 15:01NYIGiveaway Kyle Palmieri
- 14:54NYIMissed shot snap Bo Horvat, Jake Allen
- 14:39NJDMissed shot wrist Arseny Gritsyuk, Ilya Sorokin
- 13:29NJDGiveaway Luke Hughes
- 13:19NJDGiveaway Amadeus Lombardi
- 13:02NJDBlocked shot teammate blocked Timo Meier, Connor Brown
- 13:01NJDShot on goal slap Timo Meier, Ilya Sorokin
- 12:06NYIShot on goal snap Emil Heineman, Jake Allen
- 12:05NJDGiveaway Declan Chisholm
- 11:55NYIMissed shot tip in Jean-Gabriel Pageau, Jake Allen
- 11:41NJDShot on goal wrist Jack Hughes, Ilya Sorokin
- 11:31NYIMissed shot wrist Emil Heineman, Jake Allen
- 11:30NYIMissed shot wrist Emil Heineman, Jake Allen
- 10:38NJDGiveaway Jesper Bratt
- 10:35NJDFaceoff Evan Rodrigues, Casey Cizikas
- 10:35Stoppage goalie stopped after sog
- 10:33NJDShot on goal wrist Cody Glass, Ilya Sorokin
- 10:07NYIGiveaway Bo Horvat
- 9:39NJDBlocked shot blocked Luke Evangelista, Casey Cizikas
- 9:37NJDShot on goal wrist Luke Evangelista, Ilya Sorokin
- 9:23NYIGiveaway Matthew Kessel
- 7:27NYIBlocked shot blocked Calum Ritchie, Dougie Hamilton
- 7:06NJDFaceoff Jack Hughes, Bo Horvat
- 7:06Stoppage offside
- 6:18NYIFaceoff Bo Horvat, Cody Glass
- 6:18Stoppage tv timeout
- 6:18NJDPenalty holding Evan Rodrigues, Calum Ritchie
- 5:52NYIMissed shot wrist Matias Maccelli, Jake Allen
- 5:44NJDHit Brenden Dillon, Isaiah George
- 5:25NYIMissed shot wrist Isaiah George, Jake Allen
- 4:33NYIHit Scott Mayfield, Evan Rodrigues
- 4:31NJDMissed shot snap Evan Rodrigues, Ilya Sorokin
- 4:30NJDBlocked shot blocked Timo Meier, Ondrej Palat
- 4:00NJDHit Nico Hischier, Victor Eklund
- 3:10NJDGiveaway Jack Hughes
- 3:07NYIGiveaway Bo Horvat
- 3:06NJDGiveaway Anthony Mantha
- 2:52NJDGiveaway Jack Hughes
- 2:28NJDShot on goal wrist Nico Hischier, Ilya Sorokin
- 2:23NJDBlocked shot blocked Declan Chisholm, Matias Maccelli
- 2:12NYIHit Matthew Kessel, Nico Hischier
- 1:47NYIShot on goal wrist Anthony Duclair, Jake Allen
- 1:34NJDTakeaway Jonas Siegenthaler
- 1:31NJDGiveaway Jake Allen
- 0:49NYIBlocked shot blocked Alexander Romanov, Dougie Hamilton
- 0:47NYIFaceoff Casey Cizikas, Cody Glass
- 0:47Stoppage goalie stopped after sog
- 0:43NYIShot on goal wrist Victor Eklund, Jake Allen
- 0:20NJDBlocked shot blocked Luke Hughes, Emil Heineman
- 0:16NJDFaceoff Evan Rodrigues, Jean-Gabriel Pageau
- 0:16Stoppage puck in netting
- 0:05NYIGiveaway Isaiah George
- 0:00NYIFaceoff Bo Horvat, Evan Rodrigues
- 0:00Period start
Team stats
NJDNYI
26Shots on goal15
50.0Faceoffs won %50.0
1/2Power play0/4
8Penalty minutes4
13Hits16
6Blocked shots18
20Giveaways20
4Takeaways4
Get this game with the SportAPI hockey API
Four requests build this page: /games/3121 for the score and team stats, /games/3121/players for the box score, /games/3121/events for goals and penalties, and /games/3121/plays for the play-by-play (add ?period=2 for one period). During a game, read them about once a minute.
curl -H "X-API-Key: YOUR_API_KEY" \
"https://sportapi.ai/api/hockey/games/3121"{ "data": {"id":3121,"start":"2026-09-26T23:30:00Z","status":"FT","decision":"REG","period":3,"clock":null,"home":{"abbreviation":"NYI","score":1,"periods":[0,0,1],"sog":15},"away":{"abbreviation":"NJD","score":4,"periods":[1,3,0],"sog":26}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
{
"player": {
"id": 893,
"slug": "simon-holmstrom",
"name": "Simon Holmstrom",
"position": "RW",
"jersey": "92"
},
"goals": 1,
"assists": 0,
"points": 1,
"plus_minus": 1,
"pim": 0,
"sog": 2,
"hits": 0,
"blocks": 1,
"ppg": 0,
"shg": 0,
"gwg": 0,
"fo_won": 0,
"fo_taken": 0,
"giveaways": 0,
"takeaways": 1,
"shifts": 27,
"toi_sec": 1352,
"pp_toi_sec": null,
"sh_toi_sec": null
}
],
"goalies": [
"…"
]
}
}
}
/plays
{
"data": [
{
"seq": 10,
"period": 1,
"time_sec": 0,
"type": "faceoff",
"detail": null,
"team_id": 3,
"player_ids": [
1452,
1176
],
"home_score": null,
"away_score": null,
"x": 0,
"y": 0
},
"…"
]
}<?php
$key = getenv('SPORTAPI_KEY');
$ctx = stream_context_create(['http' => ['header' => "X-API-Key: $key\r\n"]]);
$res = json_decode(file_get_contents('https://sportapi.ai/api/hockey/games/3121/events', false, $ctx), true);
foreach ($res['data'] as $e) {
if ($e['type'] !== 'goal') continue;
printf("P%d %s %s %d-%d\n", $e['period'], gmdate('i:s', $e['time_sec']), $e['player']['name'], $e['away_score'], $e['home_score']);
}Keep your API key on the server and never call the API from JavaScript in the browser. Save each answer for a few minutes too, so that page views don't use up your daily limit.
Endpoints, fields and status codes are in the API docs. A free key is on the hockey API page.