Get Football Country Directory
View all Football Data API endpoints →Request the football country directory to evaluate country navigation and code references for competition discovery. This GET takes no operation parameters. No country-directory response has been verified; inspect its names, codes and grouping before building a selector. Do not assume codes use a particular standard or can be passed unchanged to the odds operation, whose documented examples use BR and UK.
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-all-football-countries No parameters required. Click Query to call the API.
API Response (JSON)
{} curl -X GET 'https://api.opendata-api.com/api/project/football/get-all-football-countries?key=<API_KEY>'
Query Result
Use Cases
- Populate a country selector after checking the directory's usable names and codes.
- Maintain a country-code reference for a football ingestion pipeline.
- Audit code compatibility before linking competition-country labels to country-specific odds requests.
- Prepare localized country navigation while retaining validated machine codes as stable references.
Frequently asked questions
Does the country directory require a league ID?
No operation parameters are declared for this GET, although an authorized platform API key is still required.
Do returned codes follow a guaranteed international standard?
The code convention and grouping have not been demonstrated. Inspect actual values before selecting a standard.
Can directory codes be passed directly to match odds?
Do not assume compatibility. Documented odds examples are BR and UK; validate accepted values for the intended country separately.