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/?api_key=API_KEY&t=list&country_id=4
- Paginated: 100 items per page; read
meta.pages and request the next pages with page. - Available on every plan for the leagues the plan covers.
- Authenticate with
api_key=API_KEY in the URL, or Authorization: Bearer API_KEY as an alternative. Both use the same key, without a username. See authentication methods.
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": ""
}
}