League List

Get Leagues

GEThttps://api.football-data-api.com/league-list?key=YOURKEY
Sample Response (Access the URL below)
https://api.football-data-api.com/league-list?key=example
Returns a JSON array of all leagues available in the API Database. Each season of a competition gives a unique ID.

Query Parameters

Name
Type
Description
chosen_leagues_only
string
If set to "true", the list will only return leagues that have been chosen by the user. ie ?key=xxxx&chosen_leagues_only=true
key*
string
Your API Key
country
integer
ISO number of the country. Will filter the response to leagues from the selected country. Remove any leading 0s. If there are no data returned, it means there are no leagues we support in that country/nation.
200 Successfully retrieved all leagues.
Hide ↑
Copy
Show↓

Queries and Parameters

Variable Name
Description
name
Name of the league
league_name
Name of the league without country
country
Country name
season > id
ID of the season
season > year
Year of the season
/
https://cdn.footystats.org/
no