Macro economic data: GDP, inflation, unemployment and population by country
Macro economic data for any country in one call: GDP in current US dollars, consumer-price inflation %, unemployment % of the labour force and total population, each with 1-10 years of history, newest first. Country by ISO code (SE, SWE) or English name. Read from a committed World Bank Open Data snapshot (CC BY 4.0), so every call answers quickly; the snapshot date is in the answer. Use for country briefs, market sizing and economic indicators.
Inputs
| Name | Type | Description |
|---|---|---|
country (required) | string | ISO 3166 code (SE, SWE) or English country name (Sweden) |
years | integer | Years of history to return, 1-10 (default 5) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphcall.com/econ/snapshot?country=SE"
Or one of your 3 free calls, no key:
curl "https://glyphcall.com/econ/snapshot?country=SE&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"country": {
"code": "SWE",
"name": "Sweden",
"iso2": "SE",
"region": "Europe & Central Asia",
"incomeLevel": "High income",
"capital": "Stockholm"
},
"gdp": {
"indicator": "GDP (current US$)",
"latest": {
"year": 2025,
"value": 668998664082.08
},
"values": [
{
"year": 2025,
"value": 668998664082.08
}
]
},
"inflation": {
"indicator": "Inflation, consumer prices (annual %)",
"latest": {
"year": 2025,
"value": 0.68
},
"values": [
{
"year": 2025,
"value": 0.68
}
]
},
"unemployment": {
"indicator": "Unemployment, total (% of total labor force) (modeled ILO estimate)",
"latest": {
"year": 2025,
"value": 8.69
},
"values": [
{
"year": 2025,
"value": 8.69
}
]
},
"population": {
"indicator": "Population, total",
"latest": {
"year": 2025,
"value": 10596620
},
"values": [
{
"year": 2025,
"value": 10596620
}
]
},
"source": "World Bank Open Data (CC BY 4.0), snapshot 2026-11-10"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is econ_snapshot, and the first 25 successful calls are free:
https://glyphcall.com/mcp