Request
GET /v2.2/rounds/?api_key=API_KEY&t=byseason&season_id=406- 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 |
|---|---|---|---|
season_id | yes | Season ID. | 406 |
Example response
{
"data": [
{
"id": 1994,
"name": "1",
"league_id": 594,
"season_id": 406,
"is_current": 1
},
{
"id": 1995,
"name": "2",
"league_id": 594,
"season_id": 406,
"is_current": 0
}
],
"meta": {
"requests_left": 2950,
"user": "your_api_user",
"plan": "Soccer API 50",
"page": 1,
"pages": 1,
"count": 35,
"total": 35,
"msg": ""
}
}