Request
GET /v2.2/teams/?api_key=API_KEY&t=national- Paginated: 100 items per page; read
meta.pagesand request the next pages withpage. - Operation plans: Free, Standard, World Cup. League coverage and request limits still apply. Plans outside this list receive
403withmeta.msg=Endpoint not available for your plan.. IDs or nested team/player information in an allowed response do not grant access to the corresponding standalone endpoints. - Example request plans: Free, Standard, World Cup. Optional datasets require their own plan permissions.
- Authenticate with
api_key=API_KEYin the URL, orAuthorization: Bearer API_KEYas an alternative. Both use the same key, without a username. See authentication methods.
Parameters
| Name | Required | Description | Example |
|---|---|---|---|
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": 21,
"name": "Turkey",
"country_id": 1
},
{
"id": 22,
"name": "Italy",
"country_id": 1
}
],
"meta": {
"requests_left": 2950,
"user": "your_api_user",
"plan": "Soccer API 50",
"page": 1,
"pages": 13,
"count": 100,
"total": 1231,
"msg": ""
}
}