Compare Countries

starterLive data

Latest value of an indicator for up to 20 countries, ranked.

GET/api/v1/economy/compare

Data source

Query parameters

ParameterDescriptionTry value
indicator
string required
See /economy/indicators
countries
string required
Comma-separated ISO codes
apikey
string required
Your API key. Can also be sent as the X-API-Key header.demo key used here

Response envelope

Success: { data, meta: { sources, fetchedAt, cached } }. Errors: { error: { code, message } } with HTTP 400, 401, 404, 502, 503 or 504.