Last updated
Was this helpful?
Last updated
Was this helpful?
More information on how to use filters can be found in our tutorials on how to . If you want more information on which filters to use you can check out the following :
YES
You can use a total of 3
nested includes on this endpoint
Get an overview and explanation of all the fields returned in the API response. The related entities for the seasons endpoints are:
We also offer detailed postman documentation with examples and a complete up-to-date version of all our endpoints. Below is a button that lets you fork the collection or import it.
id
Refers to the id of the season
integer
sport_id
Refers to the sport of the season
integer
league_id
Refers to the league of the season
integer
tie_breaker_rule_id
Refers to the type of tie-breaker rule used to determine the season winner
integer
name
The name of the season
string
finished
Indicates if the season finished or not
integer
pending
Indicates if the season is pending or not
integer
is_current
Indicates if the season is the current season or not
integer
standing_method
Returns the standing calculation used in the season
string
starting_at
The starting date of the season
string
ending_at
The end date of the season
string
Returns all the seasons available within your subscription
api_token
YES
Another option is to provide the API token in the header.
Your unique API token. Ex. ?api_token=YOUR_TOKEN
include
NO
Enrich the API response with more data by using includes. Ex. &include=participants;events
select
NO
filters
NO
Filter the API response on multiple related entities. There are static filters and dynamic filters. Please find the possibilities in the Static and Dynamic Filter tab.
locale
NO
IdAfter
All
Filter all seasons starting from a certain season ID.
&filters=IdAfter:seasonId
&filters=IdAfter:18017
types
Filter the season statistics on a selection of types separated by a comma.
&include=statistics&filters=seasonstatisticTypes:TypeIDs
&include=statistics&filters=seasonstatisticTypes:52,88
leagues
Filter the seasons based on leagues.
&include=league&&filters=seasonLeagues:leagueIDs
&include=league&&filters=seasonLeagues:2,8
stages
Filter season stages based on stage IDs
&filters=stageStages:stageIDS
&filters=stageStages:77457866
rounds
Filter season rounds based on round IDs
&filters=roundRounds:roundIDS
&filters=roundRounds:290018
topscorers
Filter season topscorers based on type IDs
&include=topscorers&filters=seasonTopscorerTypes:TypeIDs
&include=topscorers&filters=seasonTopscorerTypes:208
order
No
Returns seasons ordered by id (asc
or desc
). Defaults to asc
&order=desc
per_page
No
The amount of results to return per page (max 50.). Defaults to 25.
&per_page=30
page
No
You can paginate using the has_more
parameter to determine if you can still propagate through the results.
&page=2
Select specific fields on the. Read how to select fields in our .
Translate name fields of the API Response in your selected language. Find more information and which languages are available on our .
Statistics, Events, Lineup, and way more. Check this for all possibilities.
Fixtures, Seasons, Standings, and way more. Check this for all possibilities.
Check this for all possibilities.
Check this for all possibilities.
Check this for all possibilities.