Results / Dallas Stars at Seattle Kraken
Dallas Stars
Away3–4Final
Seattle Kraken
HomeDallas Stars at Seattle Kraken
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 1 | 1 | 1 | 3 | 28 | |
| 2 | 2 | 0 | 4 | 15 |
Goals and penalties
1st period
- 8:30Goal SEA Brandon Montour (Jagger Firkus) 0–1
- 10:45Goal DAL Mikko Rantanen (Justin Hryckowian, Wyatt Johnston) 1–1
- 19:35Goal SEA Jordan Eberle (Adam Larsson, Vince Dunn) 1–2
2nd period
- 0:31Goal SEA Mackie Samoskevich (Matty Beniers, Kaapo Kakko) 1–3
- 3:32Goal DAL Arttu Hyry (Jason Robertson, Nils Lundkvist) 2–3
- 4:59Goal SEA Ryan Winterton (Vince Dunn) 2–4
- 12:012 min SEA Matty Beniers Interference, drawn by Arttu Hyry
- 18:032 min DAL Thomas Harley Tripping, drawn by Mackie Samoskevich
3rd period
- 0:192 min SEA Matty Beniers Holding, drawn by Jason Robertson
- 7:25Goal DAL Jason Robertson (unassisted) 3–4
- 11:242 min SEA Brandon Montour Tripping, drawn by Jamie Benn
Box score
Dallas Stars skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 21 Jason Robertson LW | 1 | 1 | 2 | 0 | 5 | 20:23 |
| 96 Mikko Rantanen RW | 1 | 0 | 1 | +1 | 3 | 22:35 |
| 25 Arttu Hyry RW | 1 | 0 | 1 | -1 | 1 | 12:00 |
| 53 Wyatt Johnston C | 0 | 1 | 1 | +1 | 3 | 22:02 |
| 5 Nils Lundkvist D | 0 | 1 | 1 | -1 | 3 | 18:20 |
| 49 Justin Hryckowian C | 0 | 1 | 1 | +1 | 0 | 14:45 |
| 4 Miro Heiskanen D | 0 | 0 | 0 | +1 | 0 | 28:39 |
| 55 Thomas Harley D | 0 | 0 | 0 | 0 | 1 | 23:32 |
| 23 Esa Lindell D | 0 | 0 | 0 | 0 | 2 | 20:32 |
| 91 Tyler Seguin C | 0 | 0 | 0 | -2 | 3 | 18:53 |
| 24 Roope Hintz C | 0 | 0 | 0 | 0 | 3 | 18:22 |
| 14 Jamie Benn LW | 0 | 0 | 0 | -1 | 0 | 13:43 |
| 18 Sam Steel C | 0 | 0 | 0 | -2 | 1 | 13:42 |
| 57 Tyler Myers D | 0 | 0 | 0 | -1 | 1 | 11:27 |
| 10 Oskar Bäck C | 0 | 0 | 0 | 0 | 1 | 11:16 |
| 16 David Perron LW | 0 | 0 | 0 | 0 | 0 | 10:54 |
| 22 Joel Kiviranta LW | 0 | 0 | 0 | 0 | 0 | 10:45 |
| 28 Kyle Burroughs D | 0 | 0 | 0 | -1 | 1 | 9:04 |
Dallas Stars goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 1 Casey DeSmith | L | 10 | 6 | 4 | .600 | 24:59 |
| 29 Jake Oettinger | 5 | 5 | 0 | 1.000 | 32:07 |
Seattle Kraken skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 29 Vince Dunn D | 0 | 2 | 2 | +3 | 1 | 21:08 |
| 62 Brandon Montour D | 1 | 0 | 1 | -1 | 1 | 22:16 |
| 7 Jordan Eberle RW | 1 | 0 | 1 | +1 | 3 | 17:16 |
| 26 Ryan Winterton C | 1 | 0 | 1 | +2 | 1 | 16:35 |
| 11 Mackie Samoskevich RW | 1 | 0 | 1 | -1 | 1 | 14:24 |
| 6 Adam Larsson D | 0 | 1 | 1 | +3 | 0 | 22:20 |
| 84 Kaapo Kakko RW | 0 | 1 | 1 | -1 | 1 | 16:20 |
| 10 Matty Beniers C | 0 | 1 | 1 | -1 | 1 | 16:17 |
| 57 Jagger Firkus RW | 0 | 1 | 1 | +2 | 1 | 12:29 |
| 41 Ryker Evans D | 0 | 0 | 0 | -1 | 0 | 24:11 |
| 9 Chandler Stephenson C | 0 | 0 | 0 | 0 | 0 | 22:14 |
| 89 Frederick Gaudreau C | 0 | 0 | 0 | +1 | 2 | 20:16 |
| 59 Ben Meyers C | 0 | 0 | 0 | -1 | 0 | 15:26 |
| 55 Ryan Lindgren D | 0 | 0 | 0 | -1 | 1 | 13:01 |
| 71 Matthew Wood RW | 0 | 0 | 0 | +2 | 1 | 12:40 |
| 63 Jacob Melanson RW | 0 | 0 | 0 | -1 | 0 | 11:22 |
| 28 Josh Mahura D | 0 | 0 | 0 | +1 | 0 | 9:51 |
| 8 Cale Fleury D | 0 | 0 | 0 | -2 | 1 | 5:54 |
Seattle Kraken goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 39 Nikke Kokko | W | 23 | 20 | 3 | .870 | 47:59 |
| 35 Joey Daccord | 5 | 5 | 0 | 1.000 | 12:01 |
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 96 plays
- 20:00Period end
- 19:35DALFaceoff Arttu Hyry, Chandler Stephenson
- 19:35SEAGoal wrist Jordan Eberle, Adam Larsson, Vince Dunn, Casey DeSmith 1–2
- 18:55DALMissed shot tip in Jamie Benn, Nikke Kokko
- 18:23SEAShot on goal backhand Jagger Firkus, Casey DeSmith
- 18:18DALGiveaway Mikko Rantanen
- 17:46SEAHit Ryker Evans, Justin Hryckowian
- 17:39DALFaceoff Wyatt Johnston, Matty Beniers
- 17:39Stoppage puck in benches
- 17:05DALFaceoff Arttu Hyry, Chandler Stephenson
- 17:05Stoppage goalie stopped after sog
- 17:03SEAShot on goal wrist Vince Dunn, Casey DeSmith
- 16:14DALHit Sam Steel, Brandon Montour
- 15:43DALFaceoff Jamie Benn, Ben Meyers
- 15:43Stoppage puck in crowd
- 15:39DALGiveaway Mikko Rantanen
- 15:24DALFaceoff Justin Hryckowian, Matthew Wood
- 15:24Stoppage icing
- 15:05DALMissed shot snap Wyatt Johnston, Nikke Kokko
- 14:57DALBlocked shot teammate blocked Justin Hryckowian, Mikko Rantanen
- 14:47DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 14:47Stoppage goalie stopped after sog
- 14:45DALMissed shot wrist Thomas Harley, Nikke Kokko
- 14:39DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 14:39Stoppage icing
- 14:15DALGiveaway Joel Kiviranta
- 14:06SEAHit Jagger Firkus, Oskar Bäck
- 13:55SEABlocked shot blocked Vince Dunn, Joel Kiviranta
- 13:53SEAFaceoff Jagger Firkus, Oskar Bäck
- 13:53Stoppage goalie stopped after sog
- 13:52SEAShot on goal backhand Matty Beniers, Casey DeSmith
- 13:51SEAShot on goal snap Cale Fleury, Casey DeSmith
- 13:49SEAHit Kaapo Kakko, Jason Robertson
- 12:37SEAHit Jacob Melanson, Thomas Harley
- 12:36DALBlocked shot blocked Thomas Harley, Jacob Melanson
- 12:33DALFaceoff Sam Steel, Ben Meyers
- 12:33Stoppage puck in netting
- 12:19DALShot on goal wrist Tyler Seguin, Nikke Kokko
- 12:16DALHit David Perron, Ryan Lindgren
- 12:11DALMissed shot wrist David Perron, Nikke Kokko
- 10:45DALFaceoff Wyatt Johnston, Chandler Stephenson
- 10:45DALGoal wrist Mikko Rantanen, Justin Hryckowian, Wyatt Johnston, Nikke Kokko 1–1
- 10:37DALBlocked shot blocked Miro Heiskanen, Brandon Montour
- 10:33DALFaceoff Wyatt Johnston, Matty Beniers
- 10:33Stoppage goalie stopped after sog
- 10:31DALShot on goal wrist Roope Hintz, Nikke Kokko
- 9:55DALMissed shot slap Kyle Burroughs, Nikke Kokko
- 9:52DALFaceoff Arttu Hyry, Chandler Stephenson
- 9:52Stoppage goalie stopped after sog
- 9:50DALShot on goal slap Kyle Burroughs, Nikke Kokko
- 9:48DALFaceoff Arttu Hyry, Ben Meyers
- 9:48Stoppage icing
- 9:43SEAHit Ryker Evans, Joel Kiviranta
- 9:21DALHit Nils Lundkvist, Jacob Melanson
- 9:12SEAHit Jacob Melanson, Nils Lundkvist
- 8:35DALHit Jamie Benn, Ryan Lindgren
- 8:30SEAFaceoff Matthew Wood, Tyler Seguin
- 8:30SEAGoal backhand Brandon Montour, Jagger Firkus, Casey DeSmith 0–1
- 8:12SEAShot on goal wrap around Jordan Eberle, Casey DeSmith
- 7:34SEAFaceoff Frederick Gaudreau, Justin Hryckowian
- 7:34Stoppage high stick
- 7:16DALBlocked shot blocked Jason Robertson, Matty Beniers
- 6:45DALFaceoff Roope Hintz, Matty Beniers
- 6:45Stoppage icing
- 5:37DALHit Sam Steel, Brandon Montour
- 5:36DALGiveaway Thomas Harley
- 5:22DALShot on goal wrist Tyler Seguin, Nikke Kokko
- 4:53DALFaceoff Sam Steel, Matthew Wood
- 4:53Stoppage puck in netting
- 4:37SEAMissed shot wrist Chandler Stephenson, Casey DeSmith
- 4:16DALHit Mikko Rantanen, Matty Beniers
- 3:51DALHit Jason Robertson, Jacob Melanson
- 3:47DALBlocked shot teammate blocked Miro Heiskanen, Arttu Hyry
- 3:13SEAHit Jacob Melanson, Thomas Harley
- 3:06DALFaceoff Oskar Bäck, Ben Meyers
- 3:06Stoppage hand pass
- 3:05SEAHit Jacob Melanson, Nils Lundkvist
- 3:04DALHit Joel Kiviranta, Ryker Evans
- 3:01SEAFaceoff Ben Meyers, Oskar Bäck
- 3:01Stoppage goalie stopped after sog
- 2:59DALShot on goal wrist Oskar Bäck, Nikke Kokko
- 2:58SEAHit Cale Fleury, David Perron
- 2:55SEAGiveaway Ben Meyers
- 2:48DALShot on goal snap Nils Lundkvist, Nikke Kokko
- 2:48SEAGiveaway Cale Fleury
- 2:01DALFaceoff Tyler Seguin, Matthew Wood
- 2:01Stoppage puck in crowd
- 1:40SEAGiveaway Josh Mahura
- 1:14DALShot on goal wrist Mikko Rantanen, Nikke Kokko
- 0:39SEAMissed shot wrist Kaapo Kakko, Casey DeSmith
- 0:38SEAShot on goal backhand Kaapo Kakko, Casey DeSmith
- 0:07SEAFaceoff Matty Beniers, Arttu Hyry
- 0:07Stoppage goalie stopped after sog
- 0:04DALShot on goal tip in Roope Hintz, Nikke Kokko
- 0:00DALFaceoff Arttu Hyry, Matty Beniers
- 0:00Period start
2nd period 79 plays
- 20:00Period end
- 19:42SEAShot on goal wrist Jordan Eberle, Jake Oettinger
- 18:03SEAFaceoff Chandler Stephenson, Arttu Hyry
- 18:03DALPenalty tripping Thomas Harley, Mackie Samoskevich
- 17:53DALGiveaway Arttu Hyry
- 17:47SEAGiveaway Mackie Samoskevich
- 17:43SEAHit Matty Beniers, Nils Lundkvist
- 17:38SEABlocked shot blocked Matty Beniers, Thomas Harley
- 17:27SEAHit Mackie Samoskevich, Nils Lundkvist
- 17:27DALGiveaway Nils Lundkvist
- 17:09SEAFaceoff Matty Beniers, Roope Hintz
- 17:09Stoppage offside
- 16:15DALShot on goal wrist Esa Lindell, Nikke Kokko
- 16:03SEATakeaway Chandler Stephenson
- 15:50DALFaceoff Wyatt Johnston, Chandler Stephenson
- 15:50Stoppage referee or linesman
- 15:41DALGiveaway Arttu Hyry
- 15:39SEAGiveaway Jagger Firkus
- 14:54SEAMissed shot wrist Mackie Samoskevich, Jake Oettinger
- 13:00DALMissed shot wrist Jason Robertson, Nikke Kokko
- 12:45DALMissed shot snap Wyatt Johnston, Nikke Kokko
- 12:35DALBlocked shot blocked Jason Robertson, Brandon Montour
- 12:01DALFaceoff Roope Hintz, Frederick Gaudreau
- 12:01SEAPenalty interference Matty Beniers, Arttu Hyry
- 11:53DALFaceoff Arttu Hyry, Matty Beniers
- 11:53Stoppage offside
- 11:46DALHit Sam Steel, Ben Meyers
- 11:46SEAGiveaway Ben Meyers
- 11:45DALGiveaway Nils Lundkvist
- 11:24SEAHit Jacob Melanson, Thomas Harley
- 11:20SEAFaceoff Ben Meyers, Tyler Seguin
- 11:20Stoppage puck in netting
- 11:18SEABlocked shot blocked Mackie Samoskevich, Tyler Myers
- 10:45SEAShot on goal between legs Matthew Wood, Jake Oettinger
- 10:38DALFaceoff Mikko Rantanen, Matthew Wood
- 10:38Stoppage icing
- 10:20DALBlocked shot teammate blocked Esa Lindell, Justin Hryckowian
- 9:37SEAFaceoff Chandler Stephenson, Wyatt Johnston
- 9:37Stoppage goalie stopped after sog
- 9:34DALShot on goal wrist Tyler Myers, Nikke Kokko
- 9:32DALShot on goal backhand Sam Steel, Nikke Kokko
- 8:23DALHit Roope Hintz, Frederick Gaudreau
- 7:51DALShot on goal slap Esa Lindell, Nikke Kokko
- 7:13SEAFaceoff Ben Meyers, Wyatt Johnston
- 7:13Stoppage offside
- 6:39DALHit David Perron, Ryan Lindgren
- 6:31SEABlocked shot blocked Josh Mahura, David Perron
- 6:20SEAMissed shot bat Jordan Eberle, Jake Oettinger
- 6:18SEAShot on goal wrist Frederick Gaudreau, Jake Oettinger
- 5:24SEAGiveaway Brandon Montour
- 5:08SEAHit Jagger Firkus, Tyler Myers
- 4:59DALFaceoff Sam Steel, Matthew Wood
- 4:59SEAGoal backhand Ryan Winterton, Vince Dunn, Casey DeSmith 2–4
- 4:54DALGiveaway Jason Robertson
- 4:42DALBlocked shot blocked Esa Lindell, Adam Larsson
- 4:40SEAGiveaway Matthew Wood
- 4:18DALShot on goal wrist Wyatt Johnston, Nikke Kokko
- 4:00DALShot on goal bat Wyatt Johnston, Nikke Kokko
- 3:58DALShot on goal wrist Nils Lundkvist, Nikke Kokko
- 3:32DALFaceoff Justin Hryckowian, Matty Beniers
- 3:32DALGoal tip in Arttu Hyry, Jason Robertson, Nils Lundkvist, Nikke Kokko 2–3
- 3:15DALFaceoff Roope Hintz, Ben Meyers
- 3:15Stoppage icing
- 3:10DALHit Oskar Bäck, Brandon Montour
- 2:36SEAFaceoff Ben Meyers, Oskar Bäck
- 2:36Stoppage puck frozen
- 2:34DALBlocked shot blocked Tyler Myers, Josh Mahura
- 2:31DALBlocked shot blocked Tyler Myers, Ryan Lindgren
- 2:27SEAGiveaway Matthew Wood
- 1:21DALShot on goal wrist Tyler Seguin, Nikke Kokko
- 1:20DALShot on goal wrist Mikko Rantanen, Nikke Kokko
- 0:37DALGiveaway Esa Lindell
- 0:31DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 0:31SEAGoal wrist Mackie Samoskevich, Matty Beniers, Kaapo Kakko, Casey DeSmith 1–3
- 0:22DALGiveaway Thomas Harley
- 0:09SEAFaceoff Matty Beniers, Roope Hintz
- 0:09Stoppage puck in crowd
- 0:00SEAFaceoff Matty Beniers, Roope Hintz
- 0:00Period start
3rd period 92 plays
- 20:00Game end
- 20:00Period end
- 19:53DALMissed shot wrist Jason Robertson, Joey Daccord
- 19:48DALMissed shot backhand Mikko Rantanen, Joey Daccord
- 19:42DALBlocked shot blocked Wyatt Johnston, Vince Dunn
- 19:27DALBlocked shot blocked Roope Hintz, Vince Dunn
- 19:14DALFaceoff Roope Hintz, Frederick Gaudreau
- 19:14Stoppage skater puck frozen
- 19:10DALBlocked shot blocked Jason Robertson, Ryker Evans
- 18:46SEABlocked shot blocked Matty Beniers, Miro Heiskanen
- 18:21DALShot on goal slap Jason Robertson, Joey Daccord
- 18:09DALShot on goal snap Wyatt Johnston, Joey Daccord
- 17:45DALBlocked shot blocked Miro Heiskanen, Frederick Gaudreau
- 17:11DALBlocked shot teammate blocked Jason Robertson, Tyler Seguin
- 17:06DALFaceoff Roope Hintz, Frederick Gaudreau
- 17:06Stoppage goalie stopped after sog
- 17:04DALShot on goal wrist Jason Robertson, Joey Daccord
- 16:55SEAHit Frederick Gaudreau, Tyler Myers
- 16:24DALBlocked shot blocked Thomas Harley, Ryan Winterton
- 16:20SEAHit Jacob Melanson, Joel Kiviranta
- 16:04SEAHit Jacob Melanson, Miro Heiskanen
- 15:36SEABlocked shot blocked Ryan Winterton, Thomas Harley
- 15:35SEAFaceoff Ben Meyers, Tyler Seguin
- 15:35Stoppage icing
- 15:33SEAHit Jacob Melanson, Nils Lundkvist
- 15:29DALFaceoff Tyler Seguin, Ben Meyers
- 15:29Stoppage puck in netting
- 14:57DALBlocked shot blocked David Perron, Josh Mahura
- 14:32SEAFaceoff Matthew Wood, Sam Steel
- 14:32Stoppage puck in netting
- 13:32DALHit Mikko Rantanen, Ryker Evans
- 13:22DALMissed shot slap Mikko Rantanen, Joey Daccord
- 12:30SEAFaceoff Frederick Gaudreau, Roope Hintz
- 12:30Stoppage goalie stopped after sog
- 12:29DALShot on goal tip in Roope Hintz, Joey Daccord
- 11:24SEAFaceoff Frederick Gaudreau, Roope Hintz
- 11:24Stoppage tv timeout
- 11:24SEAPenalty tripping Brandon Montour, Jamie Benn
- 10:49DALHit Jamie Benn, Jacob Melanson
- 10:48SEABlocked shot blocked Jacob Melanson, Wyatt Johnston
- 10:39DALBlocked shot blocked Wyatt Johnston, Josh Mahura
- 10:34SEAHit Jacob Melanson, Esa Lindell
- 10:31DALMissed shot wrist Esa Lindell, Joey Daccord
- 10:17DALShot on goal wrist Thomas Harley, Joey Daccord
- 10:12SEAHit Josh Mahura, Wyatt Johnston
- 10:07DALTakeaway Miro Heiskanen
- 9:33DALMissed shot tip in Wyatt Johnston, Joey Daccord
- 9:27DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 9:27Stoppage puck in crowd
- 9:07DALHit Thomas Harley, Jagger Firkus
- 8:57DALFaceoff Arttu Hyry, Matthew Wood
- 8:57Stoppage icing
- 8:45SEAFaceoff Matthew Wood, Tyler Seguin
- 8:45Stoppage puck in benches
- 7:59DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 7:59Stoppage icing
- 7:37SEAShot on goal snap Frederick Gaudreau, Jake Oettinger
- 7:25SEAFaceoff Chandler Stephenson, Wyatt Johnston
- 7:25DALGoal wrist Jason Robertson, Nikke Kokko 3–4
- 7:23DALShot on goal wrist Jason Robertson, Nikke Kokko
- 7:21DALTakeaway Jason Robertson
- 7:16SEAHit Cale Fleury, Miro Heiskanen
- 7:05SEAFaceoff Matty Beniers, Roope Hintz
- 7:05Stoppage icing
- 6:58DALBlocked shot blocked Jason Robertson, Cale Fleury
- 6:53DALShot on goal wrist Jason Robertson, Nikke Kokko
- 6:19DALShot on goal wrist Nils Lundkvist, Nikke Kokko
- 6:10DALMissed shot tip in David Perron, Nikke Kokko
- 6:00SEAHit Brandon Montour, David Perron
- 5:16DALHit Jamie Benn, Ryker Evans
- 5:14SEAFaceoff Ben Meyers, Tyler Seguin
- 5:14Stoppage puck in netting
- 5:05DALBlocked shot teammate blocked Thomas Harley, Sam Steel
- 4:58DALMissed shot wrist Thomas Harley, Nikke Kokko
- 4:53SEAFaceoff Frederick Gaudreau, Tyler Seguin
- 4:53Stoppage icing
- 4:18DALFaceoff Justin Hryckowian, Frederick Gaudreau
- 4:18Stoppage icing
- 3:31DALGiveaway Joel Kiviranta
- 3:30SEAHit Josh Mahura, Joel Kiviranta
- 3:23SEAShot on goal wrist Ryan Lindgren, Jake Oettinger
- 3:16DALHit Joel Kiviranta, Josh Mahura
- 3:07SEAHit Josh Mahura, Joel Kiviranta
- 3:02DALFaceoff Oskar Bäck, Jagger Firkus
- 3:02Stoppage puck in crowd
- 2:22DALMissed shot backhand Tyler Seguin, Nikke Kokko
- 1:22SEATakeaway Chandler Stephenson
- 0:19SEAFaceoff Frederick Gaudreau, Roope Hintz
- 0:19SEAPenalty holding Matty Beniers, Jason Robertson
- 0:07SEAGiveaway Nikke Kokko
- 0:00DALFaceoff Arttu Hyry, Matty Beniers
- 0:00Period start
Team stats
DALSEA
28Shots on goal15
59.6Faceoffs won %40.4
0/3Power play0/1
2Penalty minutes6
17Hits23
7Blocked shots15
12Giveaways10
2Takeaways2
Get this game with the SportAPI hockey API
Four requests build this page: /games/3929 for the score and team stats, /games/3929/players for the box score, /games/3929/events for goals and penalties, and /games/3929/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/3929"{ "data": {"id":3929,"start":"2026-12-04T03:00:00Z","status":"FT","decision":"REG","period":3,"clock":null,"home":{"abbreviation":"SEA","score":4,"periods":[2,2,0],"sog":15},"away":{"abbreviation":"DAL","score":3,"periods":[1,1,1],"sog":28}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
{
"player": {
"id": 1035,
"slug": "chandler-stephenson",
"name": "Chandler Stephenson",
"position": "C",
"jersey": "9"
},
"goals": 0,
"assists": 0,
"points": 0,
"plus_minus": 0,
"pim": 0,
"sog": 0,
"hits": 0,
"blocks": 0,
"ppg": 0,
"shg": 0,
"gwg": 0,
"fo_won": 3,
"fo_taken": 8,
"giveaways": 0,
"takeaways": 2,
"shifts": 26,
"toi_sec": 1334,
"pp_toi_sec": null,
"sh_toi_sec": null
}
],
"goalies": [
"…"
]
}
}
}
/plays
{
"data": [
{
"seq": 11,
"period": 1,
"time_sec": 0,
"type": "faceoff",
"detail": null,
"team_id": 1,
"player_ids": [
36,
538
],
"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/3929/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.