Teams

List teams with enriched stats, or look up one team with ?slug=. Archived slugs 404 regardless of casing. Payload includes fans, totalPoints, rank, lastWinner, isOfficial, league, themeColor, leaderboardId, leagueInfo, leagueColors, never-null sport, plus _count { packs, collectibles }. logo is the raster crest (logoPng when the stored logo is SVG, else logo); logoSvg carries the stored vector logo when a logoPng sibling exists, else null. Joinability: joinable (boolean), isGlobal (boolean), teamCategory (e.g. dsports_official). D-Sports is joinable:false / isGlobal:true / teamCategory:"dsports_official" — not a club membership board. source (dsports = partner club with the full social surface; provider = pulled data-only HQ) and providerId (api-sports team id, the dedupe key) are included per team. rosterVerifiedByClubAt is an ISO-8601 timestamp or null (null until a club admin confirms the roster). nickname is the admin-set short club name (for example Milano for Milano HC), or null when unset; clients then derive the short name from name. ?leagueId= filters, ?search= matches name/slug server-side, ?limit=/?page= paginate (opt-in; omitted returns the whole filtered list with { teams, season, total }).

get/api/teams

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Query parameters

slugstring

Single-team lookup. Returns { team }.

leagueIdstring

Filter to one league (relation id or slug).

searchstring

Server-side name/slug match.

limitinteger

Page size 1-100. Pagination is opt-in.

pageinteger

1-based page.

Response

{ success, data: { teams, season, total } } (total always present when filtering/paginating; absent on the unfiltered full-list call) or { success, data: { team } } when slug is set

Changes

    • info

      added the new optional query request parameter leagueId

    • info

      added the new optional query request parameter limit

    • info

      added the new optional query request parameter page

    1 more change in this revision