Zum Inhalt springen
GET /v1/scoreboard

Games & scores

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

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

{
    "data": {
        "count": 1,
        "games": [
            {
                "id": "401859965",
                "away": {
                    "id": "24",
                    "logo": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/sa.png",
                    "team": "San Antonio Spurs",
                    "score": "0",
                    "record": "62-20",
                    "winner": false,
                    "home_away": "away",
                    "abbreviation": "SA"
                },
                "date": "2026-06-09T00:30Z",
                "home": {
                    "id": "18",
                    "logo": "https://a.espncdn.com/i/teamlogos/nba/500/scoreboard/ny.png",
                    "team": "New York Knicks",
                    "score": "0",
                    "record": "53-29",
                    "winner": false,
                    "home_away": "home",
                    "abbreviation": "NY"
                },
                "name": "San Antonio Spurs at New York Knicks",
                "clock": "0.0",
                "venue": "Madison Square Garden",
                "period": 0,
                "status": "Scheduled",
                "broadcast": "ABC",
                "completed": false,
                "short_name": "SA @ NY",
                "season_type": 3
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:33.555Z",
        "request_id": "979f011e-648c-480d-a597-6694df9e4516"
    },
    "status": "ok",
    "message": "Scoreboard retrieved successfully",
    "success": true
}