Leagues & Countries
List accessible leagues
Returns the flat array of leagues the API key's plan can access, with optional country (exact) and search (substring) filters; capped at 300 rows.
Plan: Available on the free plan.
get/leagues
Request
- Base URL: https://footballdata.io/api/v1
- URL: https://footballdata.io/api/v1/leagues
- Auth: HTTP bearer
Query parameters
langstring
Language code echoed back in meta.language; lowercased and stripped to letters only. Does not appear to translate payload content here.
countrystring
Exact-match filter on league country (equality, not substring).
searchstring
Case-insensitive substring filter matched against league_name OR country.
Response
Successful response
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 1 revision of this API.