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

# Get a single team_game_context by id

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

## Request

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

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single team_game_contexts row.

- NBATeamGameContexts: Situational context for each NBA team in each game — how much the game matters (playoff push, tanking, contender mode, In-Season Tournament stakes), what phase of the season it's in, and how far along the schedule the team is.
  - `conference_rank` integer, required
  - `game_id` integer, required
  - `game_type` string, required: regular, playoff, play_in, ist_group, ist_knockout, preseason, allstar
  - `games_remaining` integer, required
  - `id` integer, required: Primary Key
  - `intensity` integer, required: 1-10 motivation intensity scale
  - `is_back_to_back` boolean, required
  - `is_clinch` boolean, required
  - `is_elimination` boolean, required
  - `ist_group_rank` integer, nullable
  - `ist_group_record` string, nullable: e.g. 2-1
  - `motivation` string, required: contender, playoff_lock, seeding_battle, playoff_push, play_in, fringe, tanking, eliminated, early_season, playoff_comfortable, playoff_competitive, playoff_desperate, playoff_elimination, playoff_clinch, ist_contending, ist_eliminated, ist_knockout
  - `opponent_team_id` integer, required
  - `rest_days` integer, required
  - `season_id` integer, required
  - `season_pct` number, double, required: 0.0-1.0 how far through regular season
  - `season_phase` string, required: early, mid, late, final_push, postseason
  - `team_id` integer, required
  - `team_series_wins` integer, required
  - `win_pct` number, double, 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)
