Zum Inhalt springen
GET /v1/meta

Usage notes

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/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nhl-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nhl-api/v1/meta");
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/meta",
    headers={"x-oanor-key": "oanor_test_..."}
)

Beispiel-Response

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

{
    "data": {
        "note": "National Hockey League data. /v1/teams = the 32 clubs (filter conference=Eastern|Western, division=Atlantic|Metropolitan|Central|Pacific); /v1/standings = current standings (W-L-OT, points, pct, goals for/against, streak, last 10, division/conference rank); /v1/schedule?date=YYYY-MM-DD = games & scores (default today); /v1/roster?team=TOR&season=20242025 = a team's roster; /v1/player?name=Connor McDavid or id=8478402 = bio + current-season & career stats; /v1/game?id=2024021291 = box score by game id. Teams resolve by tricode (TOR) or name. Official data from the NHL.",
        "source": "NHL Web API (api-web.nhle.com) + player search (search.d3.nhle.com)",
        "endpoints": [
            "/v1/teams",
            "/v1/standings",
            "/v1/schedule",
            "/v1/roster",
            "/v1/player",
            "/v1/game",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T00:04:10.388Z",
        "request_id": "7224a05e-0e36-4965-9c02-5d12e55a0ce1"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}