Search Football Competitions
View all Football Data API endpoints →Find competition candidates by name and validate a league identifier for details, fixture lists or standings. Requires search text. Inspect this operation's response for league identities and disambiguating context before reuse. Its field names and no-result behaviour have not been verified. A discoverable competition is not proof that every related statistics or standings operation supports it.
API Features
Live API Demo
🔒 Sign in to try it live
Log in to call this API with your own API key. New accounts get 100 free credits — no card required.
Log in / Sign upNo active API key found. Create one in your Dashboard, then reload this page. Dashboard →
/api/project/football/get-search-leagues API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/football/get-search-leagues?key=<API_KEY>&search=Premier+League'
Query Result
Use Cases
- Create a competition autocomplete that supplies confirmed IDs to a standings form.
- Help users bookmark the intended league when several competitions have similar names.
- Audit whether a requested domestic competition can be discovered without relying on an incomplete directory.
- Build an onboarding selector that checks league identity before creating a league-specific page.
Frequently asked questions
How can I find the Premier League ID?
Search Premier League and verify the selected competition before retaining its ID as leagueid. The demonstrated public overall-standings example used 47.
Are league-search fields and empty results fixed?
The response has not been demonstrated. Verify its actual identity fields and no-result format rather than copying another search parser.
Does discovering a league guarantee every related feature?
No. Check standings, lineups, odds and statistics separately for the target competition and events.