x402

Country Economic Indicators (x402)

Macroeconomic country-risk indicators (GDP, growth, inflation, unemployment, population) for any country via the World Bank Indicators API. KYB context for counterparty jurisdiction risk assessment.

post/x402/v2/country-economic-indicators

Request

  • Base URL: https://api.strale.io
  • URL: https://api.strale.io/x402/v2/country-economic-indicators
  • Auth: none required

Request body

yearstring

Optional specific 4-digit year (default is most recent available)

indicatorsstring[]

Optional list of indicator keys to fetch instead of the default set. Valid keys: gdp_usd, gdp_growth_percent, gdp_per_capita_usd, inflation_percent, unemployment_percent, population, gni_per_capita_usd, exports_percent_gdp, imports_percent_gdp, fdi_inflow_percent_gdp

country_codestring required

ISO 2-letter or 3-letter country code (e.g. SE, US, DE, SWE)

Response

Success

indicatorsobject
country_codestring
requested_yearstring
indicator_codesobject

Example response

{
  "indicators": {
    "gdp_usd": {
      "year": "2025",
      "value": 668998664082.081
    },
    "population": {
      "year": "2023",
      "value": 10521556
    },
    "inflation_percent": {
      "year": "2025",
      "value": 1.9
    },
    "gdp_growth_percent": {
      "year": "2025",
      "value": 1.2
    },
    "unemployment_percent": {
      "year": "2024",
      "value": 8.1
    }
  },
  "country_code": "SE",
  "requested_year": "most_recent",
  "indicator_codes": {
    "gdp_usd": "NY.GDP.MKTP.CD",
    "population": "SP.POP.TOTL",
    "inflation_percent": "FP.CPI.TOTL.ZG",
    "gdp_growth_percent": "NY.GDP.MKTP.KD.ZG",
    "unemployment_percent": "SL.UEM.TOTL.ZS"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.