← Back to catalog
geonames.country.info
mock data$0.001 / callGeoNames Country Info
Get structured metadata for any country or all countries from the GeoNames database. Returns country code (ISO-3166 alpha-2/alpha-3/numeric), capital, continent, official languages, population, area in km², currency code, postal code format/regex, geoname_id, and a bounding box (north/south/east/west lat-lng). Omit country to retrieve all 250 countries in a single response. Supports localized country names via lang parameter. CC BY 4.0 open data, no upstream cost.
Input schema
country
stringISO-3166 2-letter country code (e.g. "US", "DE", "JP"). Omit to retrieve all countries.
language
stringISO 639-1 language code for localized country names (e.g. "en", "fr", "es")
Call via REST
curl -X POST https://unifyapi.pro/api/call/geonames.country.info \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"country":"<country>","language":"<language>"}'