Results / Detroit Red Wings at Calgary Flames
1–4Final
Calgary Flames
HomeDetroit Red Wings at Calgary Flames
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 0 | 1 | 0 | 1 | 30 | |
| 1 | 3 | 0 | 4 | 25 |
Goals and penalties
1st period
- 17:50Goal CGY Joel Farabee (Adam Klapka, Kevin Bahl) 0–1
2nd period
- 2:22Goal DET Andrew Copp (J.T. Compher) 1–1
- 8:172 min DET Alex DeBrincat Hooking, drawn by Martin Pospisil
- 8:38Goal CGY Zayne Parekh (Matt Coronato, Joel Farabee) Power play 1–2
- 11:072 min CGY Morgan Frost Holding the stick, drawn by Moritz Seider
- 17:04Goal CGY Ryan Strome (Morgan Frost, Matvei Gridin) 1–3
- 18:112 min DET Michael Brandsegg-Nygård Delaying game puck over glass
- 18:30Goal CGY Matvei Gridin (Joel Farabee, Matt Coronato) Power play 1–4
3rd period
- 4:242 min CGY Jonathan Castagna Tripping, drawn by Andreas Englund
- 15:552 min CGY Ryan Strome Unsportsmanlike conduct, drawn by Moritz Seider
- 15:552 min DET Moritz Seider Unsportsmanlike conduct, drawn by Ryan Strome
- 15:555 min DET Ben Chiarot Fighting, drawn by Jake Middleton
- 15:555 min CGY Jake Middleton Fighting, drawn by Ben Chiarot
Box score
Detroit Red Wings skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 18 Andrew Copp C | 1 | 0 | 1 | +1 | 5 | 14:36 |
| 37 J.T. Compher LW | 0 | 1 | 1 | -1 | 0 | 15:32 |
| 53 Moritz Seider D | 0 | 0 | 0 | -1 | 3 | 24:43 |
| 93 Alex DeBrincat RW | 0 | 0 | 0 | -1 | 3 | 21:56 |
| 23 Lucas Raymond LW | 0 | 0 | 0 | 0 | 3 | 20:47 |
| 72 Justin Faulk D | 0 | 0 | 0 | 0 | 1 | 20:23 |
| 33 Viktor Arvidsson LW | 0 | 0 | 0 | 0 | 1 | 20:19 |
| 8 Ben Chiarot D | 0 | 0 | 0 | -1 | 0 | 19:35 |
| 71 Dylan Larkin C | 0 | 0 | 0 | 0 | 6 | 19:34 |
| 58 Emmitt Finnie C | 0 | 0 | 0 | -1 | 0 | 18:22 |
| 28 Michael Brandsegg-Nygård RW | 0 | 0 | 0 | 0 | 3 | 16:34 |
| 24 Andreas Englund D | 0 | 0 | 0 | +1 | 0 | 14:06 |
| 27 Michael Rasmussen C | 0 | 0 | 0 | 0 | 1 | 13:45 |
| 54 William Wallinder D | 0 | 0 | 0 | 0 | 1 | 13:22 |
| 20 Albert Johansson D | 0 | 0 | 0 | 0 | 1 | 12:14 |
| 42 Anton Johansson D | 0 | 0 | 0 | -1 | 2 | 11:35 |
| 29 Nate Danielson C | 0 | 0 | 0 | -1 | 0 | 11:20 |
| 55 Keegan Kolesar RW | 0 | 0 | 0 | 0 | 0 | 8:37 |
Detroit Red Wings goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 36 John Gibson | L | 25 | 21 | 4 | .840 | 60:00 |
Calgary Flames skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|---|---|---|---|---|---|
| 86 Joel Farabee LW | 1 | 2 | 3 | +1 | 3 | 18:52 |
| 92 Matvei Gridin RW | 1 | 1 | 2 | +1 | 4 | 17:55 |
| 27 Matt Coronato RW | 0 | 2 | 2 | 0 | 2 | 16:09 |
| 19 Zayne Parekh D | 1 | 0 | 1 | 0 | 2 | 15:40 |
| 22 Ryan Strome C | 1 | 0 | 1 | +1 | 3 | 13:38 |
| 7 Kevin Bahl D | 0 | 1 | 1 | +1 | 1 | 25:03 |
| 43 Adam Klapka RW | 0 | 1 | 1 | +1 | 3 | 14:03 |
| 16 Morgan Frost C | 0 | 1 | 1 | 0 | 0 | 12:20 |
| 71 Simon Nemec D | 0 | 0 | 0 | 0 | 0 | 22:13 |
| 28 Zach Whitecloud D | 0 | 0 | 0 | +1 | 2 | 20:31 |
| 55 Jake Middleton D | 0 | 0 | 0 | +1 | 1 | 18:26 |
| 37 Yan Kuznetsov D | 0 | 0 | 0 | -1 | 1 | 17:38 |
| 38 Jonathan Castagna C | 0 | 0 | 0 | +1 | 0 | 17:16 |
| 76 Martin Pospisil C | 0 | 0 | 0 | 0 | 1 | 15:42 |
| 18 Ben Jones C | 0 | 0 | 0 | 0 | 0 | 13:48 |
| 17 Yegor Sharangovich C | 0 | 0 | 0 | -1 | 0 | 12:36 |
| 78 Brennan Othmann LW | 0 | 0 | 0 | 0 | 2 | 12:16 |
| 61 Aydar Suniev LW | 0 | 0 | 0 | -1 | 0 | 9:54 |
Calgary Flames goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|---|---|---|---|---|---|
| 1 Devin Cooley | W | 30 | 29 | 1 | .967 | 60:00 |
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 90 plays
- 20:00Period end
- 19:41CGYShot on goal wrist Zach Whitecloud, John Gibson
- 19:04DETShot on goal wrist Dylan Larkin, Devin Cooley
- 18:59DETHit Michael Brandsegg-Nygård, Yegor Sharangovich
- 18:54DETMissed shot backhand Ben Chiarot, Devin Cooley
- 18:17DETTakeaway Moritz Seider
- 18:12CGYFaceoff Adam Klapka, J.T. Compher
- 18:12Stoppage puck frozen
- 17:50DETFaceoff Andrew Copp, Jonathan Castagna
- 17:50CGYGoal snap Joel Farabee, Adam Klapka, Kevin Bahl, John Gibson 0–1
- 17:42CGYHit Jonathan Castagna, Anton Johansson
- 17:21CGYShot on goal wrist Joel Farabee, John Gibson
- 17:20CGYHit Ben Jones, Albert Johansson
- 17:20DETGiveaway Albert Johansson
- 16:17CGYHit Martin Pospisil, Andreas Englund
- 15:50CGYGiveaway Morgan Frost
- 15:35DETFaceoff Nate Danielson, Morgan Frost
- 15:35Stoppage goalie stopped after sog
- 15:34DETShot on goal poke Andrew Copp, Devin Cooley
- 15:32DETShot on goal tip in Andrew Copp, Devin Cooley
- 15:18CGYFaceoff Jonathan Castagna, J.T. Compher
- 15:18Stoppage icing
- 15:12CGYHit Brennan Othmann, Albert Johansson
- 15:09DETFaceoff Andrew Copp, Adam Klapka
- 15:09Stoppage puck in benches
- 14:49CGYBlocked shot blocked Matt Coronato, Moritz Seider
- 14:48CGYFaceoff Morgan Frost, Emmitt Finnie
- 14:48Stoppage icing
- 14:40DETGiveaway Moritz Seider
- 14:36DETTakeaway Moritz Seider
- 14:32DETGiveaway Moritz Seider
- 14:28DETFaceoff Emmitt Finnie, Matt Coronato
- 14:28Stoppage puck in netting
- 14:25CGYMissed shot snap Jake Middleton, John Gibson
- 14:18DETHit Michael Brandsegg-Nygård, Zach Whitecloud
- 14:17DETGiveaway Anton Johansson
- 14:09DETMissed shot slap Lucas Raymond, Devin Cooley
- 14:04DETFaceoff Dylan Larkin, Martin Pospisil
- 14:04Stoppage goalie stopped after sog
- 14:03DETShot on goal wrist Andrew Copp, Devin Cooley
- 13:40DETGiveaway Andreas Englund
- 13:25DETBlocked shot blocked Lucas Raymond, Morgan Frost
- 12:36DETMissed shot slap Viktor Arvidsson, Devin Cooley
- 12:31DETMissed shot wrap around Viktor Arvidsson, Devin Cooley
- 12:16DETMissed shot wrist Alex DeBrincat, Devin Cooley
- 12:14DETFaceoff Emmitt Finnie, Ben Jones
- 12:14Stoppage goalie stopped after sog
- 12:12DETShot on goal wrist Dylan Larkin, Devin Cooley
- 12:01CGYGiveaway Ryan Strome
- 11:58CGYTakeaway Ryan Strome
- 11:41CGYFaceoff Martin Pospisil, Dylan Larkin
- 11:41Stoppage puck in netting
- 11:22CGYHit Brennan Othmann, Michael Rasmussen
- 11:15DETFaceoff Andrew Copp, Jonathan Castagna
- 11:15Stoppage goalie stopped after sog
- 11:13CGYShot on goal wrist Adam Klapka, John Gibson
- 10:53DETHit Andreas Englund, Joel Farabee
- 10:11CGYShot on goal wrist Jake Middleton, John Gibson
- 10:10DETShot on goal wrist Dylan Larkin, Devin Cooley
- 9:52DETShot on goal wrist Anton Johansson, Devin Cooley
- 9:43DETBlocked shot blocked Anton Johansson, Ben Jones
- 8:43DETTakeaway Alex DeBrincat
- 8:27CGYHit Adam Klapka, Andreas Englund
- 7:52CGYGiveaway Matt Coronato
- 7:30DETShot on goal backhand Michael Brandsegg-Nygård, Devin Cooley
- 7:30DETShot on goal wrist Moritz Seider, Devin Cooley
- 7:02CGYHit Ben Jones, Albert Johansson
- 6:47CGYShot on goal wrist Ryan Strome, John Gibson
- 5:17CGYMissed shot wrist Yan Kuznetsov, John Gibson
- 5:14CGYMissed shot backhand Brennan Othmann, John Gibson
- 5:04DETHit Michael Rasmussen, Yan Kuznetsov
- 4:51DETHit Andreas Englund, Adam Klapka
- 4:40CGYBlocked shot blocked Jonathan Castagna, Andreas Englund
- 4:15CGYHit Joel Farabee, Anton Johansson
- 3:46DETBlocked shot teammate blocked Albert Johansson, Dylan Larkin
- 3:25DETFaceoff Dylan Larkin, Martin Pospisil
- 3:25Stoppage goalie stopped after sog
- 3:23CGYMissed shot wrist Matvei Gridin, John Gibson
- 2:38DETBlocked shot blocked Keegan Kolesar, Jonathan Castagna
- 2:12DETHit J.T. Compher, Jonathan Castagna
- 1:40DETGiveaway Alex DeBrincat
- 1:32DETShot on goal wrist William Wallinder, Devin Cooley
- 1:06DETFaceoff Emmitt Finnie, Morgan Frost
- 1:06Stoppage puck frozen
- 0:26CGYMissed shot wrist Martin Pospisil, John Gibson
- 0:22CGYShot on goal wrist Matvei Gridin, John Gibson
- 0:10CGYShot on goal wrist Matvei Gridin, John Gibson
- 0:05DETGiveaway Lucas Raymond
- 0:00DETFaceoff Dylan Larkin, Martin Pospisil
- 0:00Period start
2nd period 87 plays
- 20:00Period end
- 19:38CGYShot on goal wrist Martin Pospisil, John Gibson
- 19:37CGYShot on goal wrist Matvei Gridin, John Gibson
- 19:24CGYGiveaway Jake Middleton
- 18:40DETGiveaway Michael Rasmussen
- 18:30DETFaceoff Andrew Copp, Jonathan Castagna
- 18:30CGYGoal snap Matvei Gridin, Joel Farabee, Matt Coronato, John Gibson 1–4
- 18:11CGYFaceoff Morgan Frost, Dylan Larkin
- 18:11Stoppage tv timeout
- 18:11DETPenalty delaying game puck over glass Michael Brandsegg-Nygård
- 18:05CGYShot on goal wrist Adam Klapka, John Gibson
- 18:02CGYTakeaway Adam Klapka
- 17:51DETBlocked shot blocked Michael Brandsegg-Nygård, Yegor Sharangovich
- 17:40DETShot on goal backhand Dylan Larkin, Devin Cooley
- 17:38DETShot on goal wrist Lucas Raymond, Devin Cooley
- 17:34CGYHit Jonathan Castagna, Michael Brandsegg-Nygård
- 17:18DETFaceoff Dylan Larkin, Ryan Strome
- 17:18Stoppage icing
- 17:11CGYFaceoff Ryan Strome, Nate Danielson
- 17:11Stoppage icing
- 17:04CGYFaceoff Ryan Strome, Nate Danielson
- 17:04CGYGoal snap Ryan Strome, Morgan Frost, Matvei Gridin, John Gibson 1–3
- 16:54DETShot on goal slap Moritz Seider, Devin Cooley
- 16:41CGYHit Martin Pospisil, Anton Johansson
- 16:28DETShot on goal tip in Michael Rasmussen, Devin Cooley
- 15:07CGYFaceoff Jonathan Castagna, Emmitt Finnie
- 15:07Stoppage icing
- 14:56CGYHit Jonathan Castagna, William Wallinder
- 14:36DETHit Lucas Raymond, Brennan Othmann
- 14:15CGYTakeaway Kevin Bahl
- 13:37DETBlocked shot blocked Albert Johansson, Kevin Bahl
- 13:06DETBlocked shot blocked Andrew Copp, Jake Middleton
- 13:00DETShot on goal slap Michael Brandsegg-Nygård, Devin Cooley
- 12:55DETShot on goal slap Justin Faulk, Devin Cooley
- 11:48CGYShot on goal wrist Kevin Bahl, John Gibson
- 11:41DETFaceoff Dylan Larkin, Jonathan Castagna
- 11:41Stoppage puck in benches
- 11:38DETGiveaway Moritz Seider
- 11:17DETShot on goal snap Viktor Arvidsson, Devin Cooley
- 11:15DETShot on goal wrist Alex DeBrincat, Devin Cooley
- 11:07DETFaceoff Dylan Larkin, Martin Pospisil
- 11:07Stoppage tv timeout
- 11:07CGYPenalty holding the stick Morgan Frost, Moritz Seider
- 10:39DETShot on goal backhand Alex DeBrincat, Devin Cooley
- 9:57DETHit Michael Brandsegg-Nygård, Martin Pospisil
- 9:35CGYShot on goal slap Ryan Strome, John Gibson
- 9:29DETMissed shot wrist Lucas Raymond, Devin Cooley
- 9:03DETGiveaway Andreas Englund
- 8:59DETFaceoff J.T. Compher, Jonathan Castagna
- 8:59Stoppage offside
- 8:55CGYShot on goal wrist Brennan Othmann, John Gibson
- 8:38CGYFaceoff Jonathan Castagna, Andrew Copp
- 8:38CGYGoal wrist Zayne Parekh, Matt Coronato, Joel Farabee, John Gibson 1–2
- 8:17CGYFaceoff Morgan Frost, J.T. Compher
- 8:17DETPenalty hooking Alex DeBrincat, Martin Pospisil
- 8:00CGYFaceoff Martin Pospisil, Dylan Larkin
- 8:00Stoppage icing
- 7:23DETMissed shot tip in Lucas Raymond, Devin Cooley
- 7:09DETBlocked shot blocked Lucas Raymond, Joel Farabee
- 7:07DETFaceoff Dylan Larkin, Ben Jones
- 7:07Stoppage icing
- 6:01DETFaceoff J.T. Compher, Morgan Frost
- 6:01Stoppage puck in netting
- 5:58CGYBlocked shot blocked Jonathan Castagna, Ben Chiarot
- 5:57CGYShot on goal wrist Brennan Othmann, John Gibson
- 5:31CGYGiveaway Adam Klapka
- 5:12DETFaceoff Dylan Larkin, Adam Klapka
- 5:12Stoppage offside
- 4:42DETGiveaway Albert Johansson
- 4:34DETGiveaway Alex DeBrincat
- 4:05DETHit William Wallinder, Matt Coronato
- 4:02CGYBlocked shot blocked Matt Coronato, William Wallinder
- 3:51CGYHit Zach Whitecloud, Nate Danielson
- 2:40CGYBlocked shot teammate blocked Yan Kuznetsov, Aydar Suniev
- 2:36DETHit Andreas Englund, Aydar Suniev
- 2:22DETFaceoff Andrew Copp, Morgan Frost
- 2:22DETGoal backhand Andrew Copp, J.T. Compher, Devin Cooley 1–1
- 2:18CGYFaceoff Morgan Frost, Andrew Copp
- 2:18Stoppage puck in crowd
- 2:07CGYGiveaway Adam Klapka
- 1:57DETHit Michael Brandsegg-Nygård, Kevin Bahl
- 1:47DETBlocked shot blocked Lucas Raymond, Jonathan Castagna
- 1:16DETGiveaway Ben Chiarot
- 0:24DETGiveaway Alex DeBrincat
- 0:12CGYHit Ben Jones, Emmitt Finnie
- 0:00CGYFaceoff Ben Jones, Emmitt Finnie
- 0:00Period start
3rd period 98 plays
- 20:00Game end
- 20:00Period end
- 18:17CGYHit Adam Klapka, Moritz Seider
- 18:02CGYFaceoff Jonathan Castagna, Andrew Copp
- 18:02Stoppage puck in netting
- 18:01DETMissed shot wrist Andreas Englund, Devin Cooley
- 17:59DETHit Andreas Englund, Morgan Frost
- 17:58DETBlocked shot blocked Andreas Englund, Morgan Frost
- 17:20DETGiveaway William Wallinder
- 17:16DETFaceoff Dylan Larkin, Matvei Gridin
- 17:16Stoppage goalie stopped after sog
- 17:14CGYShot on goal slap Yan Kuznetsov, John Gibson
- 16:56CGYShot on goal wrist Matt Coronato, John Gibson
- 16:45DETMissed shot snap Emmitt Finnie, Devin Cooley
- 16:28CGYTakeaway Simon Nemec
- 15:55CGYFaceoff Morgan Frost, Nate Danielson
- 15:55CGYPenalty fighting Jake Middleton, Ben Chiarot
- 15:55DETPenalty fighting Ben Chiarot, Jake Middleton
- 15:55DETPenalty unsportsmanlike conduct Moritz Seider, Ryan Strome
- 15:55CGYPenalty unsportsmanlike conduct Ryan Strome, Moritz Seider
- 15:55Stoppage goalie stopped after sog
- 15:53CGYHit Brennan Othmann, Lucas Raymond
- 15:53DETShot on goal wrist Lucas Raymond, Devin Cooley
- 15:39CGYBlocked shot blocked Ryan Strome, Lucas Raymond
- 15:39DETGiveaway Lucas Raymond
- 15:28DETHit Lucas Raymond, Ryan Strome
- 15:15CGYShot on goal wrist Zach Whitecloud, John Gibson
- 15:11CGYFaceoff Martin Pospisil, Dylan Larkin
- 15:11Stoppage goalie stopped after sog
- 15:10CGYShot on goal wrist Zayne Parekh, John Gibson
- 15:08CGYTakeaway Matt Coronato
- 13:43DETFaceoff Emmitt Finnie, Morgan Frost
- 13:43Stoppage icing
- 12:54CGYFaceoff Jonathan Castagna, Andrew Copp
- 12:54Stoppage goalie stopped after sog
- 12:53DETShot on goal slap Anton Johansson, Devin Cooley
- 12:48DETFaceoff J.T. Compher, Martin Pospisil
- 12:48Stoppage puck in crowd
- 12:42DETFaceoff Andrew Copp, Martin Pospisil
- 12:42Stoppage icing
- 12:03DETHit Nate Danielson, Kevin Bahl
- 11:46CGYHit Brennan Othmann, Justin Faulk
- 11:24DETGiveaway Dylan Larkin
- 11:08DETGiveaway Justin Faulk
- 11:04CGYFaceoff Morgan Frost, Dylan Larkin
- 11:04Stoppage puck in crowd
- 11:00CGYFaceoff Morgan Frost, Dylan Larkin
- 11:00Stoppage goalie stopped after sog
- 10:58DETShot on goal slap Albert Johansson, Devin Cooley
- 10:39DETHit Justin Faulk, Brennan Othmann
- 10:00CGYShot on goal wrist Matt Coronato, John Gibson
- 9:37DETHit Keegan Kolesar, Kevin Bahl
- 9:33DETBlocked shot blocked Nate Danielson, Kevin Bahl
- 9:32DETFaceoff Andrew Copp, Ben Jones
- 9:32Stoppage goalie stopped after sog
- 9:29DETShot on goal wrist Andrew Copp, Devin Cooley
- 9:22CGYHit Morgan Frost, Justin Faulk
- 8:57CGYBlocked shot blocked Yegor Sharangovich, Justin Faulk
- 8:47DETShot on goal wrist Michael Brandsegg-Nygård, Devin Cooley
- 8:26DETMissed shot wrist Lucas Raymond, Devin Cooley
- 8:22DETFaceoff Dylan Larkin, Martin Pospisil
- 8:22Stoppage goalie stopped after sog
- 8:18DETShot on goal wrist Alex DeBrincat, Devin Cooley
- 7:30DETShot on goal wrist Moritz Seider, Devin Cooley
- 7:18DETBlocked shot blocked Nate Danielson, Kevin Bahl
- 6:46CGYFaceoff Jonathan Castagna, Nate Danielson
- 6:46Stoppage offside
- 6:43DETHit Moritz Seider, Jonathan Castagna
- 6:37DETBlocked shot blocked Alex DeBrincat, Zach Whitecloud
- 6:33DETShot on goal wrist Dylan Larkin, Devin Cooley
- 6:26DETShot on goal slap Lucas Raymond, Devin Cooley
- 6:18CGYHit Martin Pospisil, Viktor Arvidsson
- 6:00DETFaceoff Dylan Larkin, Martin Pospisil
- 6:00Stoppage offside
- 5:42DETMissed shot tip in Emmitt Finnie, Devin Cooley
- 5:32DETBlocked shot blocked Justin Faulk, Yegor Sharangovich
- 5:03DETShot on goal wrist Dylan Larkin, Devin Cooley
- 4:24DETFaceoff Dylan Larkin, Martin Pospisil
- 4:24CGYPenalty tripping Jonathan Castagna, Andreas Englund
- 4:23CGYHit Adam Klapka, Albert Johansson
- 3:42DETHit Michael Rasmussen, Ben Jones
- 2:46DETBlocked shot blocked Moritz Seider, Matvei Gridin
- 2:37CGYGiveaway Ryan Strome
- 2:36DETGiveaway Moritz Seider
- 2:08DETBlocked shot blocked Andreas Englund, Aydar Suniev
- 1:51CGYFaceoff Morgan Frost, Nate Danielson
- 1:51Stoppage referee or linesman
- 1:41DETGiveaway Albert Johansson
- 1:39CGYGiveaway Aydar Suniev
- 1:11CGYShot on goal wrist Adam Klapka, John Gibson
- 1:08CGYTakeaway Adam Klapka
- 1:01CGYShot on goal wrist Joel Farabee, John Gibson
- 0:42CGYMissed shot backhand Ben Jones, John Gibson
- 0:23DETGiveaway Michael Brandsegg-Nygård
- 0:22CGYHit Zach Whitecloud, Michael Brandsegg-Nygård
- 0:03CGYGiveaway Zach Whitecloud
- 0:00CGYFaceoff Martin Pospisil, Dylan Larkin
- 0:00Period start
Team stats
DETCGY
30Shots on goal25
55.1Faceoffs won %44.9
0/2Power play2/2
11Penalty minutes11
18Hits20
6Blocked shots15
21Giveaways9
3Takeaways6
Get this game with the SportAPI hockey API
Four requests build this page: /games/3481 for the score and team stats, /games/3481/players for the box score, /games/3481/events for goals and penalties, and /games/3481/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/3481"{ "data": {"id":3481,"start":"2026-10-25T02:00:00Z","status":"FT","decision":"REG","period":3,"clock":null,"home":{"abbreviation":"CGY","score":4,"periods":[1,3,0],"sog":25},"away":{"abbreviation":"DET","score":1,"periods":[0,1,0],"sog":30}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
{
"player": {
"id": 456,
"slug": "joel-farabee",
"name": "Joel Farabee",
"position": "LW",
"jersey": "86"
},
"goals": 1,
"assists": 2,
"points": 3,
"plus_minus": 1,
"pim": 0,
"sog": 3,
"hits": 1,
"blocks": 1,
"ppg": 0,
"shg": 0,
"gwg": 0,
"fo_won": 0,
"fo_taken": 0,
"giveaways": 0,
"takeaways": 0,
"shifts": 25,
"toi_sec": 1132,
"pp_toi_sec": null,
"sh_toi_sec": null
}
],
"goalies": [
"…"
]
}
}
}
/plays
{
"data": [
{
"seq": 11,
"period": 1,
"time_sec": 0,
"type": "faceoff",
"detail": null,
"team_id": 31,
"player_ids": [
1160,
459
],
"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/3481/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.