Country Profile
Capital, region, income level, population and GDP.
GET
/api/v1/geo/countryData source
- World Bank Indicators APIWorld Bank ·
CC-BY-4.0· updates Yearly/quarterly
Query parameters
| Parameter | Description | Try value |
|---|---|---|
codestring required | ISO alpha-2 or alpha-3 | |
apikeystring 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.