Skip to content
GET /v1/game

A single game's detail

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/nba-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

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

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "game": {
            "id": "401859965",
            "name": "San Antonio Spurs at New York Knicks",
            "teams": [
                {
                    "id": "18",
                    "team": "New York Knicks",
                    "record": "53-29",
                    "winner": false,
                    "home_away": "home",
                    "linescores": [],
                    "abbreviation": "NY"
                },
                {
                    "id": "24",
                    "team": "San Antonio Spurs",
                    "record": "62-20",
                    "winner": false,
                    "home_away": "away",
                    "linescores": [],
                    "abbreviation": "SA"
                }
            ],
            "venue": "Madison Square Garden",
            "status": "Scheduled",
            "leaders": [
                {
                    "value": "26.0",
                    "athlete": "Jalen Brunson"
                },
                {
                    "value": "25.0",
                    "athlete": "Victor Wembanyama"
                }
            ],
            "completed": false
        }
    },
    "meta": {
        "timestamp": "2026-06-07T16:46:33.425Z",
        "request_id": "2e243285-9015-4a10-a88f-6556cc19d948"
    },
    "status": "ok",
    "message": "Game retrieved successfully",
    "success": true
}