Operations
- GETTeam by ID — Team profile with venue, coach, kit colours, seasons and leagues.
- GETTeams by country — Paginated, 100 items per page.
- GETTeams by multiple IDs — Several team profiles in one request.
- GETTeams by season — Teams taking part in a season.
- GETNational teams — Paginated, 100 items per page.
- GETTeam squad — Current squad, or the squad of a past season when
season_idis given. - GETTeam transfers — Arrivals and departures with fee and date.
- GETTeam sidelined players — Injured and suspended players.
- GETTeam trophies — Titles won by the team, with the seasons of each one.
Route reference
Operations
The t query parameter selects the operation. Parameters not listed for an operation are ignored. The plans column lists the plans that include the operation for the leagues they cover; Free plans carry the Standard datasets. A plan outside the list receives 403 with meta.msg = Endpoint not available for your plan.
t |
Operation | Required | Optional | Plans |
|---|---|---|---|---|
info |
Team by ID. Team profile with venue, coach, kit colours, seasons and leagues. | id |
— | All plans |
list |
Teams by country. Paginated, 100 items per page. | country_id |
page |
All plans |
sort |
Teams by multiple IDs. Several team profiles in one request. | ids |
— | All plans |
byseason |
Teams by season. Teams taking part in a season. | season_id |
— | All plans |
national |
National teams. Paginated, 100 items per page. | — | page |
All plans |
squad |
Team squad. Current squad, or the squad of a past season when season_id is given. |
id |
season_id |
Standard, World Cup |
transfers |
Team transfers. Arrivals and departures with fee and date. | id |
— | Standard, World Cup |
sidelined |
Team sidelined players. Injured and suspended players. | id |
— | Standard, World Cup |
trophies |
Team trophies. Titles won by the team, with the seasons of each one. | id |
— | Standard, World Cup |
Examples
Team by ID:
GET /v2.2/teams/?api_key=API_KEY&t=info&id=111
Teams by country:
GET /v2.2/teams/?api_key=API_KEY&t=list&country_id=4
Teams by multiple IDs:
GET /v2.2/teams/?api_key=API_KEY&t=sort&ids=19,99,108
Teams by season:
GET /v2.2/teams/?api_key=API_KEY&t=byseason&season_id=13480
National teams:
GET /v2.2/teams/?api_key=API_KEY&t=national
Team squad:
GET /v2.2/teams/?api_key=API_KEY&t=squad&id=2868
Team transfers:
GET /v2.2/teams/?api_key=API_KEY&t=transfers&id=111
Team sidelined players:
GET /v2.2/teams/?api_key=API_KEY&t=sidelined&id=111
Team trophies:
GET /v2.2/teams/?api_key=API_KEY&t=trophies&id=111