SportAPINHLGet SportAPI Key

NHL Schedule & Scores

Today's scores and the games of the next days. Times are Eastern Time (ET). Scores update every minute during games.

Today

Tomorrow

Monday 7 December 2026

Tuesday 8 December 2026

Wednesday 9 December 2026

Thursday 10 December 2026

Friday 11 December 2026

Updated just now

Get the NHL schedule and live scores with the SportAPI hockey API

Ask for one date and pass your time zone, so games are grouped by your local day. During games the same request returns the live score, period and clock. /games/live returns only the games being played right now.

Request
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://sportapi.ai/api/hockey/games/date/2026-12-05?league=nhl&tz=America/New_York"
Response (shortened)
{
    "date": "2026-12-05",
    "tz": "America/New_York",
    "count": 1,
    "data": [
        {
            "id": 3936,
            "season": "2026-27",
            "stage": "regular",
            "start": "2026-12-05T18:00:00Z",
            "status": "FT",
            "live": false,
            "decision": "REG",
            "period": 3,
            "clock": null,
            "home": {
                "id": 12,
                "name": "Boston Bruins",
                "slug": "boston-bruins",
                "abbreviation": "BOS",
                "score": 6,
                "periods": [
                    2,
                    2,
                    2
                ],
                "shootout": null,
                "sog": 21
            },
            "away": {
                "id": 31,
                "name": "Detroit Red Wings",
                "slug": "detroit-red-wings",
                "abbreviation": "DET",
                "score": 3,
                "periods": [
                    1,
                    0,
                    2
                ],
                "shootout": null,
                "sog": 31
            },
            "venue": "TD Garden",
            "attendance": null,
            "has_boxscore": true
        }
    ]
}
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/date/2026-12-05?league=nhl&tz=America/New_York', false, $ctx), true);

foreach ($res['data'] as $g) {
    $score = $g['status'] === 'NS' ? date('g:i A', strtotime($g['start'])) : $g['away']['score'] . '-' . $g['home']['score'];
    echo $g['away']['abbreviation'], ' @ ', $g['home']['abbreviation'], '  ', $score, '  ', $g['status'], "\n";
}

Status codes: NS not started, P1 P2 P3 OT periods, PT shootout, BT break, FT final, AOT final after overtime, AP final after shootout.

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.