GETTeams by country
Paginated, 100 items per page.
/v2.2/teams/ with t=list
Try it in the interactive referenceAll Teams operations
Request
GET /v2.2/teams/?user=USER&token=TOKEN&t=list&country_id=4- Paginated: 100 items per page; read
meta.pagesand request the next pages withpage. - Every request needs the
userandtokenquery parameters of the account.
Parameters
| Name | Required | Description | Example |
|---|---|---|---|
country_id | yes | Country ID. | 4 |
page | no | Page number on paginated operations, starting at 1. The response reports meta.page and meta.pages; a page beyond the last returns an empty data. | 1 |
Example response
{
"data": [
{
"id": 98,
"name": "Borussia Dortmund",
"country_id": "4",
"country": {
"id": 4,
"name": "Germany",
"cc": "de"
}
},
{
"id": 101,
"name": "RB Leipzig",
"country_id": "4",
"country": {
"id": 4,
"name": "Germany",
"cc": "de"
}
}
],
"meta": {
"requests_left": 2950,
"user": "your_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 8,
"count": 100,
"total": 746,
"msg": ""
}
}