---
title: "Get team by id or slug"
method: GET
path: "/api/teams/{id}"
tags: ["Teams"]
---

# Get team by id or slug

`GET /api/teams/{id}`

## Request

- Base URL: `https://app.d-sports.org`
- URL: `https://app.d-sports.org/api/teams/{id}`
- Auth: none required

Public. Fetch a single team by id or slug (id is tried first). Same shape as an entry in GET /api/teams plus teamRecord, foundedDate, viewerCanPostAsTeam and seasonState. Includes rosterVerifiedByClubAt (ISO-8601 or null). seasonState ({ state: in_season | off_season | preseason, hubEnabled }) is the off-season hub gate (#999): native flips SHOW_OFFSEASON_HUB off seasonState.hubEnabled instead of a client constant. Archived teams 404. 400 without an id, 404 for unknown teams.

## Path parameters

- `id` string, required

## Response `200`

{ success, data: { team } } — team.seasonState is always present.

## Other responses

- `400`: VALIDATION_ERROR
- `404`: Team not found

## Changes

- **2026-09-24** `01971acf764b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/changes/api/teams/:id/get.md)

---

[API](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api.md) - [All operations](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/llms.txt) - [OpenAPI document](https://skmtc.dev/d-sports-ecosystem/apis/d-sports-api/revisions/63735cf90a04?raw)
