Building with AI? Give your coding tool the whole reference in one file: https://soccer-data.co/llms.txt
SOCCER DATA Docs
Sign in Get API key
// Teams

Team details

Returns one team with its country, main competition and home stadium. Use it to show a team's profile once you have its id.

GET https://api.soccer-data.co/v1/teams/{team_id}
  • For the team's fixtures and results, pass its id as team_id to /matches.
  • stadium isn't guaranteed to be present for every team.
Path parameters
team_idstringrequired

The team's id, like team_…. Find one with the ID guide.

Response fields
data.idstring

The team's id.

data.namestring

The team's full name.

data.short_namestring

A shorter name for tight spaces.

data.countrystring

The team's country.

data.is_mens_teamboolean

true for a men's team, false for a women's team, null when unknown. Useful when a men's and a women's side share a name.

data.primary_competitionobject

The main competition the team plays in. Can be null.

data.primary_competition.idstring

That competition's id.

data.primary_competition.namestring

That competition's name.

data.stadiumobject

The team's home ground.

data.stadium.namestring

Stadium name.

data.stadium.capacityinteger

How many people it holds.

data.stadium.citystring

The city it's in.

curl "https://api.soccer-data.co/v1/teams/team_74p8tg2k93z4" \
  -H "X-Api-Key: $SOCCER_DATA_KEY"
200 · Example response
{
    "data": {
        "id": "team_74p8tg2k93z4",
        "name": "Liverpool",
        "short_name": "Liverpool",
        "country": "England",
        "is_mens_team": true,
        "primary_competition": {
            "id": "competition_705uv6jm8myn",
            "name": "Premier League"
        },
        "stadium": {
            "name": "Anfield",
            "capacity": 61276,
            "city": "Liverpool"
        }
    }
}
Get a free key to try it