Football / Teams

Get Teams

Retrieve teams with their short code, country, founding year and home venue.

GET/v1/football/teams

Parameters

NameTypeRequiredDescription
x-api-keystringRequiredYour API key, sent as a header.
idintegerOptionalFilter by team ID.
league_idintegerOptionalFilter by league ID.
seasonintegerOptionalFilter by season start year.
searchstringOptionalSearch by team name (3+ characters).
pageintegerOptionalPage number. Default 1, 50 per page.

Response

  • dataarray<Team>
    Teams matching your filters.
  • idinteger
    Unique team ID.
  • namestring
    Team name.
  • codestring
    Three-letter short code.
  • countrystring
    Country the team plays in.
  • foundedinteger
    Year the club was founded.
  • venueobject
    Home stadium name and city.
  • metaobject
    page, per_page and total.

Status codes

  • 200Teams returned
  • 400Invalid parameter
  • 401Missing or invalid API key
  • 429Rate limit reached