SportAPINHLGet SportAPI Key

Results / Detroit Red Wings at Calgary Flames

1–4Final

Detroit Red Wings at Calgary Flames

Saturday 24 October 2026, 10:00 PM ET · Scotiabank Saddledome

Score by period

Goals and penalties

1st period

2nd period

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

PlayerGAP+/-SOGPIMHitsBlkFOTOI
18 Andrew Copp C101+150007/1114:36
37 J.T. Compher LW011-100103/615:32
53 Moritz Seider D000-13211–24:43
93 Alex DeBrincat RW000-13200–21:56
23 Lucas Raymond LW00003021–20:47
72 Justin Faulk D00001011–20:23
33 Viktor Arvidsson LW00001000–20:19
8 Ben Chiarot D000-10501–19:35
71 Dylan Larkin C0000600012/1919:34
58 Emmitt Finnie C000-100004/718:22
28 Michael Brandsegg-Nygård RW00003240–16:34
24 Andreas Englund D000+10041–14:06
27 Michael Rasmussen C00001020–13:45
54 William Wallinder D00001011–13:22
20 Albert Johansson D00001000–12:14
42 Anton Johansson D000-12000–11:35
29 Nate Danielson C000-100101/611:20
55 Keegan Kolesar RW00000010–8:37

Detroit Red Wings goalies

GoalieDecSASVGASV%TOI
36 John GibsonL25214.84060:00

Calgary Flames skaters

PlayerGAP+/-SOGPIMHitsBlkFOTOI
86 Joel Farabee LW123+13011–18:52
92 Matvei Gridin RW112+140010/117:55
27 Matt Coronato RW022020000/116:09
19 Zayne Parekh D10102000–15:40
22 Ryan Strome C101+132002/313:38
7 Kevin Bahl D011+11003–25:03
43 Adam Klapka RW011+130301/314:03
16 Morgan Frost C011002128/1312:20
71 Simon Nemec D00000000–22:13
28 Zach Whitecloud D000+12021–20:31
55 Jake Middleton D000+11501–18:26
37 Yan Kuznetsov D000-11000–17:38
38 Jonathan Castagna C000+102326/1117:16
76 Martin Pospisil C000010304/1315:42
18 Ben Jones C000000311/413:48
17 Yegor Sharangovich C000-10002–12:36
78 Brennan Othmann LW00002040–12:16
61 Aydar Suniev LW000-10001–9:54

Calgary Flames goalies

GoalieDecSASVGASV%TOI
1 Devin CooleyW30291.96760: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
  1. 20:00Period end
  2. 19:41CGYShot on goal wrist Zach Whitecloud, John Gibson
  3. 19:04DETShot on goal wrist Dylan Larkin, Devin Cooley
  4. 18:59DETHit Michael Brandsegg-Nygård, Yegor Sharangovich
  5. 18:54DETMissed shot backhand Ben Chiarot, Devin Cooley
  6. 18:17DETTakeaway Moritz Seider
  7. 18:12CGYFaceoff Adam Klapka, J.T. Compher
  8. 18:12Stoppage puck frozen
  9. 17:50DETFaceoff Andrew Copp, Jonathan Castagna
  10. 17:50CGYGoal snap Joel Farabee, Adam Klapka, Kevin Bahl, John Gibson 0–1
  11. 17:42CGYHit Jonathan Castagna, Anton Johansson
  12. 17:21CGYShot on goal wrist Joel Farabee, John Gibson
  13. 17:20CGYHit Ben Jones, Albert Johansson
  14. 17:20DETGiveaway Albert Johansson
  15. 16:17CGYHit Martin Pospisil, Andreas Englund
  16. 15:50CGYGiveaway Morgan Frost
  17. 15:35DETFaceoff Nate Danielson, Morgan Frost
  18. 15:35Stoppage goalie stopped after sog
  19. 15:34DETShot on goal poke Andrew Copp, Devin Cooley
  20. 15:32DETShot on goal tip in Andrew Copp, Devin Cooley
  21. 15:18CGYFaceoff Jonathan Castagna, J.T. Compher
  22. 15:18Stoppage icing
  23. 15:12CGYHit Brennan Othmann, Albert Johansson
  24. 15:09DETFaceoff Andrew Copp, Adam Klapka
  25. 15:09Stoppage puck in benches
  26. 14:49CGYBlocked shot blocked Matt Coronato, Moritz Seider
  27. 14:48CGYFaceoff Morgan Frost, Emmitt Finnie
  28. 14:48Stoppage icing
  29. 14:40DETGiveaway Moritz Seider
  30. 14:36DETTakeaway Moritz Seider
  31. 14:32DETGiveaway Moritz Seider
  32. 14:28DETFaceoff Emmitt Finnie, Matt Coronato
  33. 14:28Stoppage puck in netting
  34. 14:25CGYMissed shot snap Jake Middleton, John Gibson
  35. 14:18DETHit Michael Brandsegg-Nygård, Zach Whitecloud
  36. 14:17DETGiveaway Anton Johansson
  37. 14:09DETMissed shot slap Lucas Raymond, Devin Cooley
  38. 14:04DETFaceoff Dylan Larkin, Martin Pospisil
  39. 14:04Stoppage goalie stopped after sog
  40. 14:03DETShot on goal wrist Andrew Copp, Devin Cooley
  41. 13:40DETGiveaway Andreas Englund
  42. 13:25DETBlocked shot blocked Lucas Raymond, Morgan Frost
  43. 12:36DETMissed shot slap Viktor Arvidsson, Devin Cooley
  44. 12:31DETMissed shot wrap around Viktor Arvidsson, Devin Cooley
  45. 12:16DETMissed shot wrist Alex DeBrincat, Devin Cooley
  46. 12:14DETFaceoff Emmitt Finnie, Ben Jones
  47. 12:14Stoppage goalie stopped after sog
  48. 12:12DETShot on goal wrist Dylan Larkin, Devin Cooley
  49. 12:01CGYGiveaway Ryan Strome
  50. 11:58CGYTakeaway Ryan Strome
  51. 11:41CGYFaceoff Martin Pospisil, Dylan Larkin
  52. 11:41Stoppage puck in netting
  53. 11:22CGYHit Brennan Othmann, Michael Rasmussen
  54. 11:15DETFaceoff Andrew Copp, Jonathan Castagna
  55. 11:15Stoppage goalie stopped after sog
  56. 11:13CGYShot on goal wrist Adam Klapka, John Gibson
  57. 10:53DETHit Andreas Englund, Joel Farabee
  58. 10:11CGYShot on goal wrist Jake Middleton, John Gibson
  59. 10:10DETShot on goal wrist Dylan Larkin, Devin Cooley
  60. 9:52DETShot on goal wrist Anton Johansson, Devin Cooley
  61. 9:43DETBlocked shot blocked Anton Johansson, Ben Jones
  62. 8:43DETTakeaway Alex DeBrincat
  63. 8:27CGYHit Adam Klapka, Andreas Englund
  64. 7:52CGYGiveaway Matt Coronato
  65. 7:30DETShot on goal backhand Michael Brandsegg-Nygård, Devin Cooley
  66. 7:30DETShot on goal wrist Moritz Seider, Devin Cooley
  67. 7:02CGYHit Ben Jones, Albert Johansson
  68. 6:47CGYShot on goal wrist Ryan Strome, John Gibson
  69. 5:17CGYMissed shot wrist Yan Kuznetsov, John Gibson
  70. 5:14CGYMissed shot backhand Brennan Othmann, John Gibson
  71. 5:04DETHit Michael Rasmussen, Yan Kuznetsov
  72. 4:51DETHit Andreas Englund, Adam Klapka
  73. 4:40CGYBlocked shot blocked Jonathan Castagna, Andreas Englund
  74. 4:15CGYHit Joel Farabee, Anton Johansson
  75. 3:46DETBlocked shot teammate blocked Albert Johansson, Dylan Larkin
  76. 3:25DETFaceoff Dylan Larkin, Martin Pospisil
  77. 3:25Stoppage goalie stopped after sog
  78. 3:23CGYMissed shot wrist Matvei Gridin, John Gibson
  79. 2:38DETBlocked shot blocked Keegan Kolesar, Jonathan Castagna
  80. 2:12DETHit J.T. Compher, Jonathan Castagna
  81. 1:40DETGiveaway Alex DeBrincat
  82. 1:32DETShot on goal wrist William Wallinder, Devin Cooley
  83. 1:06DETFaceoff Emmitt Finnie, Morgan Frost
  84. 1:06Stoppage puck frozen
  85. 0:26CGYMissed shot wrist Martin Pospisil, John Gibson
  86. 0:22CGYShot on goal wrist Matvei Gridin, John Gibson
  87. 0:10CGYShot on goal wrist Matvei Gridin, John Gibson
  88. 0:05DETGiveaway Lucas Raymond
  89. 0:00DETFaceoff Dylan Larkin, Martin Pospisil
  90. 0:00Period start
2nd period 87 plays
  1. 20:00Period end
  2. 19:38CGYShot on goal wrist Martin Pospisil, John Gibson
  3. 19:37CGYShot on goal wrist Matvei Gridin, John Gibson
  4. 19:24CGYGiveaway Jake Middleton
  5. 18:40DETGiveaway Michael Rasmussen
  6. 18:30DETFaceoff Andrew Copp, Jonathan Castagna
  7. 18:30CGYGoal snap Matvei Gridin, Joel Farabee, Matt Coronato, John Gibson 1–4
  8. 18:11CGYFaceoff Morgan Frost, Dylan Larkin
  9. 18:11Stoppage tv timeout
  10. 18:11DETPenalty delaying game puck over glass Michael Brandsegg-Nygård
  11. 18:05CGYShot on goal wrist Adam Klapka, John Gibson
  12. 18:02CGYTakeaway Adam Klapka
  13. 17:51DETBlocked shot blocked Michael Brandsegg-Nygård, Yegor Sharangovich
  14. 17:40DETShot on goal backhand Dylan Larkin, Devin Cooley
  15. 17:38DETShot on goal wrist Lucas Raymond, Devin Cooley
  16. 17:34CGYHit Jonathan Castagna, Michael Brandsegg-Nygård
  17. 17:18DETFaceoff Dylan Larkin, Ryan Strome
  18. 17:18Stoppage icing
  19. 17:11CGYFaceoff Ryan Strome, Nate Danielson
  20. 17:11Stoppage icing
  21. 17:04CGYFaceoff Ryan Strome, Nate Danielson
  22. 17:04CGYGoal snap Ryan Strome, Morgan Frost, Matvei Gridin, John Gibson 1–3
  23. 16:54DETShot on goal slap Moritz Seider, Devin Cooley
  24. 16:41CGYHit Martin Pospisil, Anton Johansson
  25. 16:28DETShot on goal tip in Michael Rasmussen, Devin Cooley
  26. 15:07CGYFaceoff Jonathan Castagna, Emmitt Finnie
  27. 15:07Stoppage icing
  28. 14:56CGYHit Jonathan Castagna, William Wallinder
  29. 14:36DETHit Lucas Raymond, Brennan Othmann
  30. 14:15CGYTakeaway Kevin Bahl
  31. 13:37DETBlocked shot blocked Albert Johansson, Kevin Bahl
  32. 13:06DETBlocked shot blocked Andrew Copp, Jake Middleton
  33. 13:00DETShot on goal slap Michael Brandsegg-Nygård, Devin Cooley
  34. 12:55DETShot on goal slap Justin Faulk, Devin Cooley
  35. 11:48CGYShot on goal wrist Kevin Bahl, John Gibson
  36. 11:41DETFaceoff Dylan Larkin, Jonathan Castagna
  37. 11:41Stoppage puck in benches
  38. 11:38DETGiveaway Moritz Seider
  39. 11:17DETShot on goal snap Viktor Arvidsson, Devin Cooley
  40. 11:15DETShot on goal wrist Alex DeBrincat, Devin Cooley
  41. 11:07DETFaceoff Dylan Larkin, Martin Pospisil
  42. 11:07Stoppage tv timeout
  43. 11:07CGYPenalty holding the stick Morgan Frost, Moritz Seider
  44. 10:39DETShot on goal backhand Alex DeBrincat, Devin Cooley
  45. 9:57DETHit Michael Brandsegg-Nygård, Martin Pospisil
  46. 9:35CGYShot on goal slap Ryan Strome, John Gibson
  47. 9:29DETMissed shot wrist Lucas Raymond, Devin Cooley
  48. 9:03DETGiveaway Andreas Englund
  49. 8:59DETFaceoff J.T. Compher, Jonathan Castagna
  50. 8:59Stoppage offside
  51. 8:55CGYShot on goal wrist Brennan Othmann, John Gibson
  52. 8:38CGYFaceoff Jonathan Castagna, Andrew Copp
  53. 8:38CGYGoal wrist Zayne Parekh, Matt Coronato, Joel Farabee, John Gibson 1–2
  54. 8:17CGYFaceoff Morgan Frost, J.T. Compher
  55. 8:17DETPenalty hooking Alex DeBrincat, Martin Pospisil
  56. 8:00CGYFaceoff Martin Pospisil, Dylan Larkin
  57. 8:00Stoppage icing
  58. 7:23DETMissed shot tip in Lucas Raymond, Devin Cooley
  59. 7:09DETBlocked shot blocked Lucas Raymond, Joel Farabee
  60. 7:07DETFaceoff Dylan Larkin, Ben Jones
  61. 7:07Stoppage icing
  62. 6:01DETFaceoff J.T. Compher, Morgan Frost
  63. 6:01Stoppage puck in netting
  64. 5:58CGYBlocked shot blocked Jonathan Castagna, Ben Chiarot
  65. 5:57CGYShot on goal wrist Brennan Othmann, John Gibson
  66. 5:31CGYGiveaway Adam Klapka
  67. 5:12DETFaceoff Dylan Larkin, Adam Klapka
  68. 5:12Stoppage offside
  69. 4:42DETGiveaway Albert Johansson
  70. 4:34DETGiveaway Alex DeBrincat
  71. 4:05DETHit William Wallinder, Matt Coronato
  72. 4:02CGYBlocked shot blocked Matt Coronato, William Wallinder
  73. 3:51CGYHit Zach Whitecloud, Nate Danielson
  74. 2:40CGYBlocked shot teammate blocked Yan Kuznetsov, Aydar Suniev
  75. 2:36DETHit Andreas Englund, Aydar Suniev
  76. 2:22DETFaceoff Andrew Copp, Morgan Frost
  77. 2:22DETGoal backhand Andrew Copp, J.T. Compher, Devin Cooley 1–1
  78. 2:18CGYFaceoff Morgan Frost, Andrew Copp
  79. 2:18Stoppage puck in crowd
  80. 2:07CGYGiveaway Adam Klapka
  81. 1:57DETHit Michael Brandsegg-Nygård, Kevin Bahl
  82. 1:47DETBlocked shot blocked Lucas Raymond, Jonathan Castagna
  83. 1:16DETGiveaway Ben Chiarot
  84. 0:24DETGiveaway Alex DeBrincat
  85. 0:12CGYHit Ben Jones, Emmitt Finnie
  86. 0:00CGYFaceoff Ben Jones, Emmitt Finnie
  87. 0:00Period start
3rd period 98 plays
  1. 20:00Game end
  2. 20:00Period end
  3. 18:17CGYHit Adam Klapka, Moritz Seider
  4. 18:02CGYFaceoff Jonathan Castagna, Andrew Copp
  5. 18:02Stoppage puck in netting
  6. 18:01DETMissed shot wrist Andreas Englund, Devin Cooley
  7. 17:59DETHit Andreas Englund, Morgan Frost
  8. 17:58DETBlocked shot blocked Andreas Englund, Morgan Frost
  9. 17:20DETGiveaway William Wallinder
  10. 17:16DETFaceoff Dylan Larkin, Matvei Gridin
  11. 17:16Stoppage goalie stopped after sog
  12. 17:14CGYShot on goal slap Yan Kuznetsov, John Gibson
  13. 16:56CGYShot on goal wrist Matt Coronato, John Gibson
  14. 16:45DETMissed shot snap Emmitt Finnie, Devin Cooley
  15. 16:28CGYTakeaway Simon Nemec
  16. 15:55CGYFaceoff Morgan Frost, Nate Danielson
  17. 15:55CGYPenalty fighting Jake Middleton, Ben Chiarot
  18. 15:55DETPenalty fighting Ben Chiarot, Jake Middleton
  19. 15:55DETPenalty unsportsmanlike conduct Moritz Seider, Ryan Strome
  20. 15:55CGYPenalty unsportsmanlike conduct Ryan Strome, Moritz Seider
  21. 15:55Stoppage goalie stopped after sog
  22. 15:53CGYHit Brennan Othmann, Lucas Raymond
  23. 15:53DETShot on goal wrist Lucas Raymond, Devin Cooley
  24. 15:39CGYBlocked shot blocked Ryan Strome, Lucas Raymond
  25. 15:39DETGiveaway Lucas Raymond
  26. 15:28DETHit Lucas Raymond, Ryan Strome
  27. 15:15CGYShot on goal wrist Zach Whitecloud, John Gibson
  28. 15:11CGYFaceoff Martin Pospisil, Dylan Larkin
  29. 15:11Stoppage goalie stopped after sog
  30. 15:10CGYShot on goal wrist Zayne Parekh, John Gibson
  31. 15:08CGYTakeaway Matt Coronato
  32. 13:43DETFaceoff Emmitt Finnie, Morgan Frost
  33. 13:43Stoppage icing
  34. 12:54CGYFaceoff Jonathan Castagna, Andrew Copp
  35. 12:54Stoppage goalie stopped after sog
  36. 12:53DETShot on goal slap Anton Johansson, Devin Cooley
  37. 12:48DETFaceoff J.T. Compher, Martin Pospisil
  38. 12:48Stoppage puck in crowd
  39. 12:42DETFaceoff Andrew Copp, Martin Pospisil
  40. 12:42Stoppage icing
  41. 12:03DETHit Nate Danielson, Kevin Bahl
  42. 11:46CGYHit Brennan Othmann, Justin Faulk
  43. 11:24DETGiveaway Dylan Larkin
  44. 11:08DETGiveaway Justin Faulk
  45. 11:04CGYFaceoff Morgan Frost, Dylan Larkin
  46. 11:04Stoppage puck in crowd
  47. 11:00CGYFaceoff Morgan Frost, Dylan Larkin
  48. 11:00Stoppage goalie stopped after sog
  49. 10:58DETShot on goal slap Albert Johansson, Devin Cooley
  50. 10:39DETHit Justin Faulk, Brennan Othmann
  51. 10:00CGYShot on goal wrist Matt Coronato, John Gibson
  52. 9:37DETHit Keegan Kolesar, Kevin Bahl
  53. 9:33DETBlocked shot blocked Nate Danielson, Kevin Bahl
  54. 9:32DETFaceoff Andrew Copp, Ben Jones
  55. 9:32Stoppage goalie stopped after sog
  56. 9:29DETShot on goal wrist Andrew Copp, Devin Cooley
  57. 9:22CGYHit Morgan Frost, Justin Faulk
  58. 8:57CGYBlocked shot blocked Yegor Sharangovich, Justin Faulk
  59. 8:47DETShot on goal wrist Michael Brandsegg-Nygård, Devin Cooley
  60. 8:26DETMissed shot wrist Lucas Raymond, Devin Cooley
  61. 8:22DETFaceoff Dylan Larkin, Martin Pospisil
  62. 8:22Stoppage goalie stopped after sog
  63. 8:18DETShot on goal wrist Alex DeBrincat, Devin Cooley
  64. 7:30DETShot on goal wrist Moritz Seider, Devin Cooley
  65. 7:18DETBlocked shot blocked Nate Danielson, Kevin Bahl
  66. 6:46CGYFaceoff Jonathan Castagna, Nate Danielson
  67. 6:46Stoppage offside
  68. 6:43DETHit Moritz Seider, Jonathan Castagna
  69. 6:37DETBlocked shot blocked Alex DeBrincat, Zach Whitecloud
  70. 6:33DETShot on goal wrist Dylan Larkin, Devin Cooley
  71. 6:26DETShot on goal slap Lucas Raymond, Devin Cooley
  72. 6:18CGYHit Martin Pospisil, Viktor Arvidsson
  73. 6:00DETFaceoff Dylan Larkin, Martin Pospisil
  74. 6:00Stoppage offside
  75. 5:42DETMissed shot tip in Emmitt Finnie, Devin Cooley
  76. 5:32DETBlocked shot blocked Justin Faulk, Yegor Sharangovich
  77. 5:03DETShot on goal wrist Dylan Larkin, Devin Cooley
  78. 4:24DETFaceoff Dylan Larkin, Martin Pospisil
  79. 4:24CGYPenalty tripping Jonathan Castagna, Andreas Englund
  80. 4:23CGYHit Adam Klapka, Albert Johansson
  81. 3:42DETHit Michael Rasmussen, Ben Jones
  82. 2:46DETBlocked shot blocked Moritz Seider, Matvei Gridin
  83. 2:37CGYGiveaway Ryan Strome
  84. 2:36DETGiveaway Moritz Seider
  85. 2:08DETBlocked shot blocked Andreas Englund, Aydar Suniev
  86. 1:51CGYFaceoff Morgan Frost, Nate Danielson
  87. 1:51Stoppage referee or linesman
  88. 1:41DETGiveaway Albert Johansson
  89. 1:39CGYGiveaway Aydar Suniev
  90. 1:11CGYShot on goal wrist Adam Klapka, John Gibson
  91. 1:08CGYTakeaway Adam Klapka
  92. 1:01CGYShot on goal wrist Joel Farabee, John Gibson
  93. 0:42CGYMissed shot backhand Ben Jones, John Gibson
  94. 0:23DETGiveaway Michael Brandsegg-Nygård
  95. 0:22CGYHit Zach Whitecloud, Michael Brandsegg-Nygård
  96. 0:03CGYGiveaway Zach Whitecloud
  97. 0:00CGYFaceoff Martin Pospisil, Dylan Larkin
  98. 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.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://sportapi.ai/api/hockey/games/3481"
Response (shortened)
{ "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
<?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.