Request
GET /v2.2/teams/?api_key=API_KEY&t=byseason&season_id=13480- 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 |
|---|---|---|---|
season_id | yes | Season ID. | 13480 |
Example response
{
"data": [
{
"id": 2810,
"name": "Werder Bremen",
"country_id": 4
},
{
"id": 111,
"name": "FC Bayern Munich",
"country_id": 4
}
],
"meta": {
"requests_left": 2950,
"user": "your_username",
"plan": "Soccer API 50",
"page": 1,
"pages": 1,
"count": 19,
"total": 19,
"msg": ""
}
}