GET All Leagues by Team ID
Returns all the current and historical leagues from your requested team id.
Last updated
Returns all the current and historical leagues from your requested team id.
Last updated
Name | Required? | Description |
---|
More information on how to use filters can be found on our tutorials on how to . If you want more information on which filters to use you can check out the following :
YES
Parameter | Required | Description | Example |
---|
You can use a total of 2
nested includes on this endpoint
Get an overview and explanation of all the fields returned in the API response. The related entities for the leagues 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 your fork the collection or import it.
Field | Description | Type |
---|
id | Refers to the unique id of th league | integer |
sport_id | Refers to the sport of the league | integer |
country_id | Refers to the country of the league | integer |
name | The name of the league | string |
active | Indicates if the league is active or inactive | integer |
short_code | The short code of the league | string / null |
image_path | Image path to the league logo | string |
type | Indicates the type of the league | string |
sub_type | Indicates the subtype of the league | string |
last_played_at | The date of when the last fixture was played in the league | string |
category | Indicates the category of the league | integer |