Coverage
Every service says which countries it covers. Ask the API instead of guessing: the coverage endpoints are free and use the same API key.
All services
GET /v1/coverage returns one line per service: the countries it covers, whether it works anywhere, and whether the country parameter is required. 50 services, 20 of them work for any country.
curl 'https://api.apifor.dev/v1/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": [
{
"service": "air-quality",
"global": false,
"country_param": "optional",
"param_name": "country",
"countries": [
"SG",
"GB"
],
"coverage_url": "/v1/air-quality/coverage"
},
{
"service": "bible",
"global": true,
"country_param": "none",
"param_name": "country",
"countries": [],
"coverage_url": "/v1/bible/coverage"
}
]
}One service
GET /v1/<service>/coverage adds the detail for each country: sources and licences, attribution text, region levels, row counts, the date the data was refreshed and the fields that exist only there.
curl 'https://api.apifor.dev/v1/fuel-prices/coverage' \
-H 'x-api-key: YOUR_API_KEY'{
"success": true,
"data": {
"service": "fuel-prices",
"global": false,
"country_param": "optional",
"param_name": "country",
"countries": [
{
"country": "AT",
"market": "EU",
"subdivision_levels": [],
"rows": null,
"updated_at": "2026-11-30",
"sources": [
{
"name": "European Commission, Weekly Oil Bulletin",
"url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"licence": "CC BY 4.0 (Commission legal notice)",
"attribution": "© European Union, Weekly Oil Bulletin"
}
],
"local_fields": [
"member_state",
"aggregate"
],
"notes": "Weekly retail prices from 2005-01-03, with taxes (price) and without duties and taxes (price_without_tax), EUR per litre (heavy fuel oils..."
},
{
"country": "BE",
"market": "EU",
"subdivision_levels": [],
"rows": null,
"updated_at": "2026-11-30",
"sources": [
{
"name": "European Commission, Weekly Oil Bulletin",
"url": "https://energy.ec.europa.eu/data-and-analysis/weekly-oil-bulletin_en",
"licence": "CC BY 4.0 (Commission legal notice)",
"attribution": "© European Union, Weekly Oil Bulletin"
}
],
"local_fields": [
"member_state",
"aggregate"
],
"notes": "Weekly retail prices from 2005-01-03, with taxes (price) and without duties and taxes (price_without_tax), EUR per litre (heavy fuel oils..."
}
]
}
}Both cost 0 credits. A missing or invalid key still gets a 401.
Country and market
The path says what you want. The query says where. Countries are never part of the path: you call /v1/holidays?country=GB, not a country-specific route.
countrytakes an ISO 3166-1 alpha-2 code. Tariffs usemarketinstead, because a customs union such as the EU sets the duty.- When
countryis optional, leaving it out returns every covered country. - Some services need it: income-tax, minimum-wages, per-diem, social-contributions, statistics, tariffs, tax, visa-fees. Without it you get 400 VALIDATION_ERROR, and no charge.
- A country outside the coverage list returns an empty page, or 404 for a single id.
rules and local
Records have the same core fields in every country. A value set by law, such as a wage floor, a tax rate or a duty, comes with rules: the regime, the legal basis and the dates it applies. Fields that only make sense in one country sit under local, and local.country says which.
Every service page lists its coverage today. All 50 services · Errors