Teams

Get team by id or slug

Changed on

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.

get/api/teams/{id}

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    none required

Path parameters

idstring required

Response

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

Changes