Schedule / Utah Mammoth at Los Angeles Kings
Utah Mammoth
Away1–43rd 01:40
Utah Mammoth at Los Angeles Kings
Score by period
| Team | 1 | 2 | 3 | T | SOG |
|---|---|---|---|---|---|
| 0 | 1 | 0 | 1 | 24 | |
| 3 | 1 | 0 | 4 | 34 |
Box score
Utah Mammoth skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|
Utah Mammoth goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|
Los Angeles Kings skaters
| Player | G | A | P | +/- | SOG | TOI |
|---|
Los Angeles Kings goalies
| Goalie | Dec | SA | SV | GA | SV% | TOI |
|---|
Get this game with the SportAPI hockey API
Four requests build this page: /games/3946 for the score and team stats, /games/3946/players for the box score, /games/3946/events for goals and penalties, and /games/3946/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/3946"{ "data": {"id":3946,"start":"2026-12-06T03:00:00Z","status":"P3","decision":null,"period":3,"clock":"01:40","home":{"abbreviation":"LAK","score":4,"periods":[3,1,0],"sog":34},"away":{"abbreviation":"UTA","score":1,"periods":[0,1,0],"sog":24}}, "stats": {…} }
/players
{
"data": {
"home": {
"skaters": [
[]
],
"goalies": [
"…"
]
}
}
}<?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/3946/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.