Results / Pittsburgh Penguins at Vegas Golden Knights
2–6Final
Pittsburgh Penguins at Vegas Golden Knights
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 0 | 1 | 1 | 2 | 24 | |
| 3 | 2 | 1 | 6 | 19 |
Goals and penalties
1st period
- 1:06Goal VGK Rasmus Andersson (Jack Eichel, Mark Stone) 0–1
- 4:02Goal VGK Noah Hanifin (Jack Eichel, Mark Stone) 0–2
- 5:395 min VGK Jeremy Lauzon Fighting, drawn by Declan Carlile
- 5:395 min PIT Declan Carlile Fighting, drawn by Jeremy Lauzon
- 15:572 min PIT Sidney Crosby Tripping, drawn by Mitch Marner
- 17:46Goal VGK Mark Stone (Trevor Connelly, Mitch Marner) Power play 0–3
2nd period
- 5:332 min VGK Noah Hanifin Interference, drawn by Ben Kindel
- 5:54Goal PIT Sidney Crosby (Tommy Novak, Erik Karlsson) Power play 1–3
- 7:05Goal VGK Trevor Connelly (unassisted) 1–4
- 9:142 min VGK Brett Howden Tripping, drawn by Samuel Girard
- 9:142 min PIT Kaedan Korczak Holding, drawn by Brett Howden
- 11:17Goal VGK Shea Theodore (Brayden McNabb, Mitch Marner) 1–5
3rd period
- 4:43Goal PIT Evgeni Malkin (Tommy Novak, Kris Letang) 2–5
- 17:47Goal VGK Brett Howden (William Karlsson) empty net 2–6
Box score
Pittsburgh Penguins skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 18 Tommy Novak C | 0 | 2 | 2 | -1 | 1 | 12:41 |
| 87 Sidney Crosby C | 1 | 0 | 1 | -2 | 1 | 18:17 |
| 71 Evgeni Malkin C | 1 | 0 | 1 | -2 | 2 | 12:51 |
| 65 Erik Karlsson D | 0 | 1 | 1 | -3 | 1 | 21:56 |
| 58 Kris Letang D | 0 | 1 | 1 | -1 | 2 | 20:07 |
| 6 Kaedan Korczak D | 0 | 0 | 0 | -2 | 1 | 23:53 |
| 24 Spencer Stastney D | 0 | 0 | 0 | 0 | 1 | 21:34 |
| 72 Declan Carlile D | 0 | 0 | 0 | -1 | 1 | 21:10 |
| 67 Rickard Rakell RW | 0 | 0 | 0 | -3 | 2 | 19:38 |
| 17 Bryan Rust RW | 0 | 0 | 0 | -2 | 1 | 19:02 |
| 81 Ben Kindel C | 0 | 0 | 0 | -1 | 4 | 15:37 |
| 62 Andrei Kuzmenko LW | 0 | 0 | 0 | 0 | 0 | 13:38 |
| 14 Nick Robertson LW | 0 | 0 | 0 | 0 | 1 | 13:33 |
| 46 Blake Lizotte C | 0 | 0 | 0 | 0 | 0 | 13:03 |
| 41 Ville Koivunen RW | 0 | 0 | 0 | -1 | 2 | 13:00 |
| 19 Connor Dewar C | 0 | 0 | 0 | 0 | 3 | 12:58 |
| 25 Elmer Soderblom LW | 0 | 0 | 0 | 0 | 1 | 12:09 |
| 49 Samuel Girard D | 0 | 0 | 0 | -2 | 0 | 11:22 |
Pittsburgh Penguins goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 1 Sergei Murashov | L | 19 | 14 | 5 | .737 | 59:42 |
Vegas Golden Knights skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 61 Mark Stone RW | 1 | 2 | 3 | +2 | 1 | 14:49 |
| 24 Trevor Connelly LW | 1 | 1 | 2 | +1 | 2 | 14:28 |
| 93 Mitch Marner RW | 0 | 2 | 2 | +2 | 1 | 17:08 |
| 9 Jack Eichel C | 0 | 2 | 2 | +2 | 0 | 16:48 |
| 27 Shea Theodore D | 1 | 0 | 1 | +3 | 1 | 21:20 |
| 15 Noah Hanifin D | 1 | 0 | 1 | 0 | 3 | 20:47 |
| 4 Rasmus Andersson D | 1 | 0 | 1 | +1 | 2 | 20:35 |
| 21 Brett Howden C | 1 | 0 | 1 | +2 | 0 | 15:00 |
| 3 Brayden McNabb D | 0 | 1 | 1 | +4 | 1 | 20:01 |
| 71 William Karlsson C | 0 | 1 | 1 | +2 | 1 | 13:54 |
| 5 Jeremy Lauzon D | 0 | 0 | 0 | +1 | 0 | 18:07 |
| 26 Nic Dowd C | 0 | 0 | 0 | -1 | 0 | 16:07 |
| 52 Dylan Coghlan D | 0 | 0 | 0 | -1 | 0 | 15:46 |
| 48 Tomas Hertl C | 0 | 0 | 0 | +1 | 1 | 15:22 |
| 17 Marc Gatcomb C | 0 | 0 | 0 | -1 | 3 | 15:20 |
| 42 Braeden Bowman RW | 0 | 0 | 0 | -1 | 0 | 14:30 |
| 49 Ivan Barbashev LW | 0 | 0 | 0 | +2 | 0 | 14:12 |
| 36 Raphael Lavoie C | 0 | 0 | 0 | +1 | 3 | 13:30 |
Vegas Golden Knights goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 33 Adin Hill | W | 24 | 22 | 2 | .917 | 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:52VGKTakeaway Mark Stone
- 19:39VGKHit Nic Dowd, Ben Kindel
- 19:21VGKGiveaway Adin Hill
- 18:44VGKGiveaway Jeremy Lauzon
- 18:17PITGiveaway Ville Koivunen
- 18:01PITGiveaway Evgeni Malkin
- 17:46PITFaceoff Tommy Novak, William Karlsson
- 17:46Stoppage video review
- 17:46VGKGoal snap Mark Stone, Trevor Connelly, Mitch Marner, Sergei Murashov 0–3
- 17:38VGKBlocked shot teammate blocked Tomas Hertl, Mark Stone
- 17:14VGKBlocked shot teammate blocked Mitch Marner, Tomas Hertl
- 17:08PITGiveaway Erik Karlsson
- 16:54VGKShot on goal wrist Tomas Hertl, Sergei Murashov
- 16:54VGKMissed shot tip in Mark Stone, Sergei Murashov
- 16:33VGKBlocked shot blocked Mitch Marner, Blake Lizotte
- 15:57PITFaceoff Blake Lizotte, Tomas Hertl
- 15:57PITPenalty tripping Sidney Crosby, Mitch Marner
- 15:46PITDelayed penalty
- 15:36VGKGiveaway Mitch Marner
- 15:32VGKFaceoff William Karlsson, Sidney Crosby
- 15:32Stoppage goalie stopped after sog
- 15:30PITShot on goal wrist Connor Dewar, Adin Hill
- 15:19VGKHit Jeremy Lauzon, Blake Lizotte
- 14:58VGKHit Nic Dowd, Ben Kindel
- 14:55PITShot on goal wrist Ben Kindel, Adin Hill
- 14:30VGKTakeaway Nic Dowd
- 14:05PITMissed shot slap Kris Letang, Adin Hill
- 13:58PITShot on goal wrist Evgeni Malkin, Adin Hill
- 13:30VGKGiveaway Ivan Barbashev
- 13:21PITFaceoff Tommy Novak, Jack Eichel
- 13:21Stoppage goalie stopped after sog
- 13:19PITMissed shot wrist Sidney Crosby, Adin Hill
- 13:16PITMissed shot snap Rickard Rakell, Adin Hill
- 13:09PITMissed shot wrist Rickard Rakell, Adin Hill
- 12:43VGKShot on goal snap Mitch Marner, Sergei Murashov
- 12:23VGKFaceoff William Karlsson, Sidney Crosby
- 12:23Stoppage goalie stopped after sog
- 12:20PITShot on goal deflected Elmer Soderblom, Adin Hill
- 12:18PITShot on goal tip in Connor Dewar, Adin Hill
- 12:08PITMissed shot snap Elmer Soderblom, Adin Hill
- 11:40VGKShot on goal wrist Raphael Lavoie, Sergei Murashov
- 11:25PITTakeaway Ben Kindel
- 11:15PITGiveaway Erik Karlsson
- 10:58VGKShot on goal wrist Trevor Connelly, Sergei Murashov
- 10:23PITGiveaway Evgeni Malkin
- 9:48VGKBlocked shot blocked Ivan Barbashev, Samuel Girard
- 9:46PITGiveaway Sidney Crosby
- 9:44VGKGiveaway Ivan Barbashev
- 9:16PITFaceoff Sidney Crosby, Jack Eichel
- 9:16Stoppage goalie stopped after sog
- 9:14PITShot on goal snap Spencer Stastney, Adin Hill
- 9:07PITTakeaway Spencer Stastney
- 8:49VGKGiveaway Dylan Coghlan
- 8:46VGKMissed shot snap William Karlsson, Sergei Murashov
- 8:43VGKFaceoff William Karlsson, Connor Dewar
- 8:43Stoppage goalie stopped after sog
- 8:41VGKBlocked shot blocked Shea Theodore, Samuel Girard
- 7:51VGKShot on goal snap Marc Gatcomb, Sergei Murashov
- 7:11PITShot on goal snap Kaedan Korczak, Adin Hill
- 6:57VGKShot on goal wrist Noah Hanifin, Sergei Murashov
- 6:55VGKFaceoff Jack Eichel, Ben Kindel
- 6:55Stoppage icing
- 6:50PITHit Connor Dewar, Noah Hanifin
- 6:37PITGiveaway Kris Letang
- 5:52PITGiveaway Bryan Rust
- 5:39PITFaceoff Sidney Crosby, William Karlsson
- 5:39PITPenalty fighting Declan Carlile, Jeremy Lauzon
- 5:39VGKPenalty fighting Jeremy Lauzon, Declan Carlile
- 5:30VGKGiveaway Rasmus Andersson
- 5:23VGKHit Jeremy Lauzon, Ben Kindel
- 5:18VGKGiveaway Raphael Lavoie
- 4:57VGKGiveaway Tomas Hertl
- 4:54VGKTakeaway Tomas Hertl
- 4:16PITGiveaway Kaedan Korczak
- 4:13PITGiveaway Elmer Soderblom
- 4:02VGKFaceoff Nic Dowd, Blake Lizotte
- 4:02VGKGoal snap Noah Hanifin, Jack Eichel, Mark Stone, Sergei Murashov 0–2
- 3:22VGKFaceoff Jack Eichel, Evgeni Malkin
- 3:22Stoppage puck in netting
- 3:20PITBlocked shot blocked Erik Karlsson, Rasmus Andersson
- 3:16VGKHit Jeremy Lauzon, Bryan Rust
- 2:48PITBlocked shot blocked Declan Carlile, William Karlsson
- 2:46VGKHit Jeremy Lauzon, Rickard Rakell
- 2:37VGKShot on goal wrist William Karlsson, Sergei Murashov
- 1:25VGKHit Dylan Coghlan, Elmer Soderblom
- 1:22VGKHit Nic Dowd, Connor Dewar
- 1:13VGKTakeaway Noah Hanifin
- 1:06VGKFaceoff Nic Dowd, Blake Lizotte
- 1:06VGKGoal snap Rasmus Andersson, Jack Eichel, Mark Stone, Sergei Murashov 0–1
- 0:46PITShot on goal wrist Erik Karlsson, Adin Hill
- 0:00PITFaceoff Sidney Crosby, William Karlsson
- 0:00Period start
2nd period 101 plays
- 20:00Period end
- 19:56VGKMissed shot slap Brayden McNabb, Sergei Murashov
- 19:50VGKBlocked shot blocked Mitch Marner, Rickard Rakell
- 19:34PITMissed shot backhand Rickard Rakell, Adin Hill
- 19:33VGKHit Jeremy Lauzon, Bryan Rust
- 18:09VGKHit Tomas Hertl, Blake Lizotte
- 18:06VGKHit Tomas Hertl, Erik Karlsson
- 18:05VGKGiveaway Raphael Lavoie
- 17:57VGKFaceoff Tomas Hertl, Blake Lizotte
- 17:57Stoppage icing
- 17:48VGKFaceoff Tomas Hertl, Blake Lizotte
- 17:48Stoppage goalie stopped after sog
- 17:46VGKShot on goal wrist Raphael Lavoie, Sergei Murashov
- 17:43PITGiveaway Erik Karlsson
- 17:41VGKGiveaway Trevor Connelly
- 17:21PITGiveaway Nick Robertson
- 17:19VGKGiveaway Shea Theodore
- 17:15PITMissed shot snap Spencer Stastney, Adin Hill
- 17:13PITTakeaway Spencer Stastney
- 16:58PITMissed shot slap Andrei Kuzmenko, Adin Hill
- 16:54PITFaceoff Ben Kindel, Nic Dowd
- 16:54Stoppage icing
- 16:46PITShot on goal wrist Rickard Rakell, Adin Hill
- 16:38PITHit Bryan Rust, Nic Dowd
- 16:36VGKMissed shot tip in Braeden Bowman, Sergei Murashov
- 15:33VGKGiveaway Mitch Marner
- 15:23PITGiveaway Declan Carlile
- 15:03VGKFaceoff William Karlsson, Tommy Novak
- 15:03Stoppage goalie stopped after sog
- 15:01PITShot on goal tip in Ben Kindel, Adin Hill
- 14:25PITHit Andrei Kuzmenko, Mitch Marner
- 14:01VGKGiveaway Jack Eichel
- 13:41PITShot on goal tip in Rickard Rakell, Adin Hill
- 13:39VGKGiveaway Ivan Barbashev
- 13:23VGKHit Jeremy Lauzon, Bryan Rust
- 13:09PITHit Kaedan Korczak, Trevor Connelly
- 12:46VGKMissed shot snap Raphael Lavoie, Sergei Murashov
- 11:43PITGiveaway Kris Letang
- 11:38VGKHit Jeremy Lauzon, Ville Koivunen
- 11:17VGKFaceoff Nic Dowd, Tommy Novak
- 11:17VGKGoal slap Shea Theodore, Brayden McNabb, Mitch Marner, Sergei Murashov 1–5
- 10:09PITHit Kris Letang, Brayden McNabb
- 10:06PITBlocked shot blocked Kris Letang, Jack Eichel
- 9:58VGKMissed shot wrist Shea Theodore, Sergei Murashov
- 9:14VGKFaceoff Jack Eichel, Sidney Crosby
- 9:14PITPenalty holding Kaedan Korczak, Brett Howden
- 9:14VGKPenalty tripping Brett Howden, Samuel Girard
- 9:07PITGiveaway Ville Koivunen
- 9:00VGKFaceoff William Karlsson, Tommy Novak
- 9:00Stoppage goalie stopped after sog
- 8:58PITMissed shot wrist Andrei Kuzmenko, Adin Hill
- 8:48PITMissed shot tip in Nick Robertson, Adin Hill
- 8:40PITHit Andrei Kuzmenko, Noah Hanifin
- 8:11VGKBlocked shot teammate blocked Raphael Lavoie, Tomas Hertl
- 8:02VGKFaceoff Tomas Hertl, Ben Kindel
- 8:02Stoppage goalie stopped after sog
- 7:59VGKShot on goal wrist Brayden McNabb, Sergei Murashov
- 7:49VGKBlocked shot blocked Shea Theodore, Ben Kindel
- 7:36PITMissed shot wrist Erik Karlsson, Adin Hill
- 7:32PITTakeaway Elmer Soderblom
- 7:24PITBlocked shot blocked Erik Karlsson, Nic Dowd
- 7:05VGKFaceoff Nic Dowd, Blake Lizotte
- 7:05VGKGoal snap Trevor Connelly, Sergei Murashov 1–4
- 7:00PITGiveaway Sidney Crosby
- 6:22VGKGiveaway Rasmus Andersson
- 6:01VGKBlocked shot blocked Ivan Barbashev, Kris Letang
- 5:54VGKFaceoff Jack Eichel, Tommy Novak
- 5:54PITGoal tip in Sidney Crosby, Tommy Novak, Erik Karlsson, Adin Hill 1–3
- 5:33PITFaceoff Sidney Crosby, Nic Dowd
- 5:33VGKPenalty interference Noah Hanifin, Ben Kindel
- 5:29PITBlocked shot blocked Erik Karlsson, Mitch Marner
- 5:28PITFaceoff Ben Kindel, Jack Eichel
- 5:28Stoppage icing
- 5:15PITShot on goal slap Kris Letang, Adin Hill
- 4:58PITHit Kaedan Korczak, William Karlsson
- 4:27VGKFaceoff William Karlsson, Sidney Crosby
- 4:27Stoppage hand pass
- 4:04PITFaceoff Sidney Crosby, Brett Howden
- 4:04Stoppage goalie stopped after sog
- 4:02VGKMissed shot snap Brayden McNabb, Sergei Murashov
- 3:36VGKShot on goal snap Marc Gatcomb, Sergei Murashov
- 3:31VGKTakeaway Nic Dowd
- 3:28VGKHit Marc Gatcomb, Kaedan Korczak
- 3:01VGKHit Dylan Coghlan, Evgeni Malkin
- 2:42VGKHit Tomas Hertl, Evgeni Malkin
- 2:42VGKTakeaway Dylan Coghlan
- 2:33PITBlocked shot blocked Erik Karlsson, Trevor Connelly
- 2:31PITFaceoff Tommy Novak, Tomas Hertl
- 2:31Stoppage icing
- 2:24PITShot on goal wrist Ben Kindel, Adin Hill
- 2:13VGKBlocked shot blocked Raphael Lavoie, Spencer Stastney
- 2:09VGKFaceoff Tomas Hertl, Ben Kindel
- 2:09Stoppage icing
- 1:50PITFaceoff Ben Kindel, Tomas Hertl
- 1:50Stoppage goalie stopped after sog
- 1:47VGKShot on goal wrist Rasmus Andersson, Sergei Murashov
- 0:57VGKMissed shot slap Dylan Coghlan, Sergei Murashov
- 0:55VGKFaceoff Jack Eichel, Blake Lizotte
- 0:55Stoppage icing
- 0:00PITFaceoff Sidney Crosby, William Karlsson
- 0:00Period start
3rd period 75 plays
- 20:00Game end
- 20:00Period end
- 19:56PITHit Elmer Soderblom, Noah Hanifin
- 19:42PITGiveaway Blake Lizotte
- 19:34VGKHit Marc Gatcomb, Elmer Soderblom
- 19:08PITMissed shot snap Blake Lizotte, Adin Hill
- 18:56VGKMissed shot wrist Dylan Coghlan, Sergei Murashov
- 18:42PITShot on goal wrist Kris Letang, Adin Hill
- 18:15PITShot on goal backhand Nick Robertson, Adin Hill
- 18:09VGKGiveaway Trevor Connelly
- 17:47VGKFaceoff Tomas Hertl, Ben Kindel
- 17:47VGKGoal Brett Howden, William Karlsson 2–6
- 17:45PITDelayed penalty
- 17:31VGKHit Mitch Marner, Rickard Rakell
- 17:20VGKMissed shot tip in Brett Howden, Sergei Murashov
- 17:16VGKFaceoff William Karlsson, Sidney Crosby
- 17:16Stoppage goalie stopped after sog
- 17:13VGKMissed shot backhand Raphael Lavoie, Sergei Murashov
- 16:50VGKShot on goal wrist Marc Gatcomb, Sergei Murashov
- 16:23PITMissed shot wrist Tommy Novak, Adin Hill
- 16:08PITHit Evgeni Malkin, Nic Dowd
- 15:38PITHit Elmer Soderblom, Jeremy Lauzon
- 15:03VGKGiveaway Jack Eichel
- 14:44PITTakeaway Elmer Soderblom
- 14:10VGKGiveaway Mitch Marner
- 14:09PITGiveaway Sidney Crosby
- 13:58VGKGiveaway Noah Hanifin
- 13:44PITTakeaway Rickard Rakell
- 13:14PITMissed shot backhand Nick Robertson, Adin Hill
- 12:56VGKHit Trevor Connelly, Kris Letang
- 12:53VGKHit Tomas Hertl, Andrei Kuzmenko
- 11:59VGKHit Braeden Bowman, Spencer Stastney
- 11:37VGKGiveaway Noah Hanifin
- 11:09PITShot on goal snap Connor Dewar, Adin Hill
- 10:18PITBlocked shot blocked Rickard Rakell, Brayden McNabb
- 9:53VGKFaceoff William Karlsson, Sidney Crosby
- 9:53Stoppage icing
- 9:47PITFaceoff Sidney Crosby, William Karlsson
- 9:47Stoppage goalie stopped after sog
- 9:45VGKShot on goal wrist Raphael Lavoie, Sergei Murashov
- 9:36PITShot on goal snap Ben Kindel, Adin Hill
- 9:21VGKHit Tomas Hertl, Nick Robertson
- 8:49VGKHit Marc Gatcomb, Ville Koivunen
- 8:44VGKBlocked shot blocked Marc Gatcomb, Spencer Stastney
- 8:06PITFaceoff Tommy Novak, Nic Dowd
- 8:06Stoppage puck in crowd
- 8:01VGKHit Ivan Barbashev, Declan Carlile
- 7:50VGKFaceoff Jack Eichel, Tommy Novak
- 7:50Stoppage icing
- 7:42PITMissed shot snap Ville Koivunen, Adin Hill
- 7:38PITTakeaway Tommy Novak
- 6:48PITGiveaway Kris Letang
- 6:34VGKShot on goal snap Noah Hanifin, Sergei Murashov
- 6:13VGKMissed shot snap William Karlsson, Sergei Murashov
- 4:43PITFaceoff Blake Lizotte, Tomas Hertl
- 4:43PITGoal poke Evgeni Malkin, Tommy Novak, Kris Letang, Adin Hill 2–5
- 4:41PITShot on goal backhand Tommy Novak, Adin Hill
- 4:24PITFaceoff Tommy Novak, Nic Dowd
- 4:24Stoppage goalie stopped after sog
- 4:22PITShot on goal wrist Declan Carlile, Adin Hill
- 3:38PITFaceoff Sidney Crosby, Jack Eichel
- 3:38Stoppage goalie stopped after sog
- 3:36PITShot on goal wrist Bryan Rust, Adin Hill
- 2:41PITMissed shot snap Declan Carlile, Adin Hill
- 2:22VGKHit Marc Gatcomb, Andrei Kuzmenko
- 2:11VGKFaceoff Nic Dowd, Ben Kindel
- 2:11Stoppage goalie stopped after sog
- 2:08PITShot on goal tip in Ville Koivunen, Adin Hill
- 2:03VGKGiveaway Noah Hanifin
- 1:58VGKHit Tomas Hertl, Tommy Novak
- 1:56PITShot on goal wrist Ville Koivunen, Adin Hill
- 1:21VGKHit Jeremy Lauzon, Blake Lizotte
- 1:02VGKBlocked shot blocked Jeremy Lauzon, Blake Lizotte
- 0:00PITFaceoff Sidney Crosby, William Karlsson
- 0:00Period start
Team stats
PITVGK
24Shots on goal19
44.2Faceoffs won %55.8
1/1Power play1/1
9Penalty minutes9
10Hits27
9Blocked shots7
19Giveaways22
7Takeaways6
Get this game with the SportAPI hockey API
Four requests build this page: /games/3393 for the score and team stats, /games/3393/players for the box score, /games/3393/events for goals and penalties, and /games/3393/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/3393"{ "data": {"id":3393,"start":"2026-10-18T02:00:00Z","status":"FT","decision":"REG","period":3,"clock":null,"home":{"abbreviation":"VGK","score":6,"periods":[3,2,1],"sog":19},"away":{"abbreviation":"PIT","score":2,"periods":[0,1,1],"sog":24}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
{
"player": {
"id": 1232,
"slug": "mitch-marner",
"name": "Mitch Marner",
"position": "RW",
"jersey": "93"
},
"goals": 0,
"assists": 2,
"points": 2,
"plus_minus": 2,
"pim": 0,
"sog": 1,
"hits": 1,
"blocks": 1,
"ppg": 0,
"shg": 0,
"gwg": 0,
"fo_won": 0,
"fo_taken": 0,
"giveaways": 3,
"takeaways": 0,
"shifts": 19,
"toi_sec": 1028,
"pp_toi_sec": null,
"sh_toi_sec": null
}
],
"goalies": [
"…"
]
}
}
}
/plays
{
"data": [
{
"seq": 11,
"period": 1,
"time_sec": 0,
"type": "faceoff",
"detail": null,
"team_id": 28,
"player_ids": [
1330,
1059
],
"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/3393/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.