Skip to content

Livematches in play

Demo: Matchboard, opens in a new tab
Docs v2

Teams

Trophies

GET

/v2/teams/{id}/trophies

All plans

View as MarkdownTry in Playground →

Everything the team has won: each competition, typed as domestic league, domestic cup, international cup or other, with a flag for major titles, the number of wins and the winning seasons, most recent first.

A team that has never won a trophy gets 200 and an empty array.

Parameters

id

pathrequired

DataSportsAPI team id, a positive integer

Response

data
Trophy[]
meta
count (number of competitions), totalCount (overall trophy tally as the source counts it, or null if the source gives none)

Any /v2 call can also come back with one of the common errors.

curl -H "Authorization: Bearer sk_live_…" \
    "https://api.datasportsapi.com/v2/teams/{id}/trophies"
Example
{ "data": [ { "league": { "id": 195830, "name": "LaLiga", "slug": "laliga", "sport": "football", … },
    "competitionType": "domesticLeague", "major": true, "count": 36,
    "seasons": [ { "year": "23/24", "startYear": 2023, "endYear": 2024 }, { "year": "21/22", "startYear": 2021, "endYear": 2022 }, … ] },
  { "league": { "name": "UEFA Champions League", … }, "competitionType": "internationalCup", "major": true, "count": 15, … }, … ],
  "meta": { "count": 15, "totalCount": 101 } }