GET Season by ID
https://soccer.sportmonks.com/api/v2.0/seasons/{ID}
Endpoint details | |
Authorization | API Key |
Pagination | NO |
Allowed nested includes | 4 |
Available parameters | |
include | Enrich the API with more data and/or nested includes. Can be used by adding &include= etc. to your request url. |
league
stages
rounds
upcoming
results
groups
goalscorers
cardscorers
assistscorers
aggregatedGoalscorers
aggregatedCardscorers
aggregatedAssistscorers
fixtures
Includes are the cornerstone of our API and allow you to enrich and customize your requests. This flexibility is what distinguishes us from our competitors.
You can learn more about what includes are and how they work here:
Request
Response
Field Description
https://soccer.sportmonks.com/api/v2.0/seasons/18346/api_token={API_TOKEN}
"data": {
"id": 18346,
"name": "2021/2022",
"league_id": 2,
"is_current_season": true,
"current_round_id": null,
"current_stage_id": 77453623
}
Field | Description |
data | Opens an array of data you've requested |
id | The unique season id |
name | The name of the season |
league_id | The unique league id the season belongs to |
is_current_season | Indicates if the season is the current one. Possible values are "true" or "false" |
current_round_id | The unique id of the current round |
current_stage_id | The unique id of the current stage |
Last modified 11mo ago