Seasons By Tournament
This endpoint allows you to retrieve the seasons from a specific tournament.
Multi-language: This feature allows the user to manually change the language of the API response by adding value to the
langattribute. Example:lang=en.
Pagination: The endpoint uses an offset and limit system. Specify the offset and limit parameters to fetch the desired range of results. The maximum and default number of results per request is 50.
Update Period: The endpoint is updated every day.
Recommended Calls: Limit calls to 1 per day.
Use Cases
Get seasons from a specific tournament_idhttps://esports.sportmicro.com/seasons-by-tournament?tournament_id=eq.{tournament_id}
Query Parameters
- tournament_id integer
The id of the tournament
Example: eq.46 - offset string
Default value:
0Limiting and Pagination
Example: 0 - limit string
Default value:
50Limiting and Pagination
Example: 50 - lang string
Default value:
enMulti-language
Example: en
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema array
- tournament_id integer
The id of the tournament
Note: This is a Primary Key.
- tournament_name text
The name of the tournament
- seasons jsonb
The seasons
[
{
"tournament_id": 46,
"tournament_name": "All-Star All star main event",
"seasons": [
{
"id": 52,
"name": "LPL 2025",
"year": "2025"
},
{
"id": 66,
"name": "LPL 2024",
"year": "2024"
},
{
"id": 72,
"name": "LPL 2023",
"year": "2023"
},
{
"id": 91,
"name": "LPL 2022",
"year": "2022"
},
{
"id": 157,
"name": "LPL 2021",
"year": "2021"
},
{
"id": 174,
"name": "LPL 2020",
"year": "2020"
},
{
"id": 33384,
"name": "2020",
"year": "2020"
},
{
"id": 33395,
"name": "2019",
"year": "2019"
},
{
"id": 33397,
"name": "2017",
"year": "2017"
},
{
"id": 33399,
"name": "2016",
"year": "2016"
},
{
"id": 33403,
"name": "2015",
"year": "2015"
},
{
"id": 33405,
"name": "International Wildcard 2015",
"year": "2015"
},
{
"id": 33424,
"name": "2018",
"year": "2018"
}
]
}
]