Request
GET /v2.2/teams/?api_key=API_KEY&t=national- Paginated: 100 items per page; read
meta.pagesand request the next pages withpage. - Available on every plan for the leagues the plan covers.
- 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_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 13,
"count": 100,
"total": 1231,
"msg": ""
}
}