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

# Get a single team by id

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

## Request

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

## Path parameters

- `id` integer, required: Primary Key

## Response `200`

Single teams row.

- NBATeams: The 30 NBA franchises, organized into the Eastern and Western Conferences with three divisions in each.
  - `abbreviation` string, required
  - `active` boolean, required
  - `city` string, required
  - `conference` string, required
  - `division` string, required
  - `full_name` string, required
  - `id` integer, required: Primary Key
  - `league_team_id` integer, nullable: Official NBA team ID (issued by the league)
  - `name` string, required
  - `stadium_id` integer, nullable

## 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/601ff9eaca3f?raw)
