---
title: "Get a single game by id"
method: GET
path: "/api/v1/nba/games/{id}"
tags: ["NBA"]
---

# Get a single game by id

`GET /api/v1/nba/games/{id}`

## Request

- Base URL: `https://api.stat-api.com`
- URL: `https://api.stat-api.com/api/v1/nba/games/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single games row.

- NBAGames: Every scheduled and played NBA game from the 2020-21 season onward — preseason, the 82-game regular season, the In-Season Tournament, the play-in round, and the four-round playoffs through the NBA Finals. All-Star exhibitions are not included.
  - `attendance` integer, nullable
  - `away_rotation_number` integer, nullable
  - `away_team` string, required
  - `away_team_id` integer, required
  - `away_team_score` integer, required
  - `channel` string, nullable
  - `day` integer, required
  - `end_time` string, date-time, nullable
  - `game_label` string, nullable
  - `game_sub_label` string, nullable
  - `game_time` string, date-time, nullable: Scheduled tip-off (timezone-aware); null when the league published no time.
  - `home_rotation_number` integer, nullable
  - `home_team` string, required
  - `home_team_id` integer, required
  - `home_team_score` integer, required
  - `id` integer, required: Primary Key
  - `if_necessary` boolean, nullable
  - `league_game_id` string, nullable: Official NBA game ID (issued by the league)
  - `neutral_venue` boolean, required
  - `postponed_status` string, nullable
  - `season_id` integer, required
  - `season_type` string, required
  - `series_game_number` string, nullable
  - `series_name` string, nullable
  - `series_text` string, nullable
  - `stadium_id` integer, nullable
  - `status` string, required

## Other responses

- `404`: Row not found.

---

[API](https://skmtc.dev/stat-api/apis/sports-db-public-api.md) · [All operations](https://skmtc.dev/stat-api/apis/sports-db-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/stat-api/apis/sports-db-public-api/revisions/23b66b957723?raw)
