Zum Inhalt springen
GET /v1/schedule

Games & scores on a date

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/nhl-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

curl "https://api.oanor.com/nhl-api/v1/schedule" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nhl-api/v1/schedule", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nhl-api/v1/schedule");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/nhl-api/v1/schedule",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "date": "2025-04-15",
        "count": 10,
        "games": [
            {
                "id": 2024021291,
                "away": {
                    "sog": 26,
                    "abbr": "NJD",
                    "name": "New Jersey Devils",
                    "score": 5
                },
                "home": {
                    "sog": 24,
                    "abbr": "BOS",
                    "name": "Boston Bruins",
                    "score": 4
                },
                "type": "regular",
                "state": "OFF",
                "venue": "TD Garden",
                "period": 4,
                "start_utc": "2025-04-15T23:00:00Z"
            },
            {
                "id": 2024021292,
                "away": {
                    "sog": 32,
                    "abbr": "TOR",
                    "name": "Toronto Maple Leafs",
                    "score": 4
                },
                "home": {
                    "sog": 35,
                    "abbr": "BUF",
                    "name": "Buffalo Sabres",
                    "score": 0
                },
                "type": "regular",
                "state": "OFF",
                "venue": "KeyBank Center",
                "period": 3,
                "start_utc": "2025-04-15T23:00:00Z"
            },
            {
                "id": 2024021293,
                "away": {
                    "sog": 16,
                    "abbr": "CHI",
                    "name": "Chicago Blackhawks",
                    "score": 4
                },
                "home": {
                    "sog": 37,
                    "abbr": "OTT",
                    "name": "Ottawa Senators",
                    "score": 3
                },
                "type": "regular",
                "state": "OFF",
                "venue": "Canadian Tire Centre",
                "period": 4,
                "start_utc": "2025-04-15T23:00:00Z"
            },
            {
                "id": 2024021295,
                "away": {
                    "sog": 34,
                    "abbr": "CBJ",
                    "name": "Columbus Blue Jackets",
                    "score": 3
                },
                "home": {
                    "sog": 29,
                    "abbr": "PHI",
                    "name": "Philadelphia Flyers",
                    "score": 0
                },
                "type": "regular",
                "state": "OFF",
                "venue": "Wells Fargo Center",
                "period": 3,
                "start_utc": "2025-04-15T23:00:00Z"
            },
            {
                "id": 2024021294,
                "away": {
                    "sog": 24,
                    "abbr": "FLA",
                    "name": "Florida Panthers",
                    "score": 1
                },
                "home": {
                    "sog": 31,
                    "abbr": "TBL",
                    "name": "Tampa 
…