Catalog/gov-worldbank-country-profile

Government

Country profile: metadata + headline indicators API

One-call country profile joining World Bank country metadata (region, income level, lending type, capital, coordinates) with the latest value of six headline indicators (GDP, GDP per capita, growth, population, life expectancy, inflation). Answers 'give me a profile of Brazil', 'what income group is this country', 'capital and key stats for a country'.

Price$0.01per request
MethodPOST
Route/v1/gov/worldbank-country-profile
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
govecon-dataworld-bankcountry-profilemetadataincome-levelregionjoin
API URLhttps://x402.hexl.dev/v1/gov/worldbank-country-profile
Integration docs
Example request
{
  "country": "BR"
}
Example response
{
  "country": "Brazil",
  "iso2": "BR",
  "iso3": "BRA",
  "region": "Latin America & Caribbean",
  "incomeLevel": "Upper middle income",
  "lendingType": "IBRD",
  "capitalCity": "Brasilia",
  "coordinates": {
    "lat": -15.7801,
    "lon": -47.9292
  },
  "latestIndicators": {
    "gdpUsd": {
      "value": 2185821648943.86,
      "year": 2024
    },
    "gdpPerCapitaUsd": {
      "value": 10310.5488778166,
      "year": 2024
    },
    "gdpGrowthPct": {
      "value": 3.41931516597739,
      "year": 2024
    },
    "population": {
      "value": 211998573,
      "year": 2024
    },
    "lifeExpectancyYears": {
      "value": 76.023,
      "year": 2024
    },
    "inflationPct": {
      "value": 4.36746407652336,
      "year": 2024
    }
  }
}
Input schema
{
  "type": "object",
  "required": [
    "country"
  ],
  "properties": {
    "country": {
      "type": "string",
      "description": "2- or 3-letter ISO country code (e.g. BR, BRA)."
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}