Inflation & Macro Data API
22 macroeconomic indicators — inflation, GDP, GDP growth, unemployment, population, life expectancy, trade, interest rates and more — for about 215 countries plus regional aggregates. Annual data since 1990, refreshed monthly.
Quick start
curl "https://macro.quiply.net/v1/series?country=US&indicator=inflation&start=2020" \
-H "X-API-Key: YOUR_KEY"
Authentication
Every request must include your key in the X-API-Key header. You get your key instantly on the pricing section. Keep it secret — don't put it in public front-end code.
Base URL: https://macro.quiply.net
GET/v1/indicators
All indicators with key, name, unit, number of countries covered and year range. Keys include inflation, gdp, gdp_growth, gdp_per_capita, unemployment, population, life_expectancy, current_account, government_debt, lending_rate and more.
GET/v1/countries
Countries with ISO codes, region, income level and capital.
| Parameter | Type | Description |
|---|---|---|
search | string | Name or ISO code |
region | string | e.g. Europe, Sub-Saharan Africa |
aggregates | boolean | Include regional and income-group aggregates (default false) |
limit | integer | 1–400 (default 300) |
GET/v1/series
Yearly values for one country.
| Parameter | Type | Description |
|---|---|---|
country required | string | ISO code (US or USA) or name; regional aggregates such as WLD (world) also work |
indicator required | string | One key or a comma-separated list of up to 6, e.g. inflation,unemployment |
start, end | integer | Year range (default 1990 onward) |
{ "country": { "iso3": "USA", "name": "United States" },
"series": [ { "indicator": "inflation", "name": "Inflation, consumer prices (annual %)", "unit": "%",
"data": [ { "year": 2022, "value": 8.0 }, { "year": 2023, "value": 4.1 } ] } ] }
GET/v1/latest
The most recent available value of every indicator for a country, with its year. country required.
GET/v1/compare
Rank countries on one indicator for one year — e.g. highest inflation.
| Parameter | Type | Description |
|---|---|---|
indicator required | string | Indicator key |
year | integer | Default: latest year with broad coverage |
countries | CSV | Only these countries (ISO codes); default all countries |
order | string | desc (default) or asc |
limit | integer | 1–300 (default 50) |
GET/v1/health
Service status, dataset size and data freshness. No key needed.
Errors
| Status | Meaning |
|---|---|
| 401 | Missing or invalid X-API-Key |
| 403 | Subscription inactive (cancelled or payment failed) |
| 404 | Country not found, or no data |
| 422 | Bad parameter (e.g. unknown indicator) |
| 429 | Quota reached for your plan |
Pricing
Free trial: 5 requests/day. All APIs plan: $9.95/month gives you every Quiply API, 250,000 requests a month.
Get your API key