Catalog/finance-world-bank

Finance

Global development indicators (World Bank) API

Time series of World Bank development indicators for ANY country — GDP, GDP per capita, population, inflation, unemployment, life expectancy, CO2 per capita, internet users, government debt, and more. Fills the global gap our US-centric FRED/BLS/BEA leave. Answers 'GDP of Japan over 10 years', 'inflation in Brazil', 'population of Nigeria', 'life expectancy in India'.

Price$0.01per request
MethodPOST
Route/v1/finance/world-bank
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
financeworld-bankmacrogdpinflationpopulationdevelopmentcountryglobal
API URLhttps://x402.hexl.dev/v1/finance/world-bank
Integration docs
Example request
{
  "country": "JPN",
  "metric": "gdp",
  "years": 3
}
Example response
{
  "country": "JPN",
  "metric": "gdp",
  "indicator": "NY.GDP.MKTP.CD",
  "data": [
    {
      "year": 2023,
      "value": 4212945000000
    },
    {
      "year": 2022,
      "value": 4256410000000
    }
  ]
}
Input schema
{
  "type": "object",
  "required": [
    "country",
    "metric"
  ],
  "properties": {
    "country": {
      "type": "string",
      "examples": [
        "JPN"
      ]
    },
    "metric": {
      "type": "string",
      "examples": [
        "gdp"
      ]
    },
    "years": {
      "type": "number",
      "default": 10
    },
    "indicator": {
      "type": "string",
      "examples": [
        "NY.GDP.MKTP.CD"
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}