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.

ParameterTypeDescription
searchstringName or ISO code
regionstringe.g. Europe, Sub-Saharan Africa
aggregatesbooleanInclude regional and income-group aggregates (default false)
limitinteger1–400 (default 300)

GET/v1/series

Yearly values for one country.

ParameterTypeDescription
country requiredstringISO code (US or USA) or name; regional aggregates such as WLD (world) also work
indicator requiredstringOne key or a comma-separated list of up to 6, e.g. inflation,unemployment
start, endintegerYear 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.

ParameterTypeDescription
indicator requiredstringIndicator key
yearintegerDefault: latest year with broad coverage
countriesCSVOnly these countries (ISO codes); default all countries
orderstringdesc (default) or asc
limitinteger1–300 (default 50)

GET/v1/health

Service status, dataset size and data freshness. No key needed.

Data comes from international statistical agencies via the World Bank's open data programme (CC BY 4.0). Annual figures; the latest year is often provisional or missing for some countries. Not every country reports every indicator.

Errors

StatusMeaning
401Missing or invalid X-API-Key
403Subscription inactive (cancelled or payment failed)
404Country not found, or no data
422Bad parameter (e.g. unknown indicator)
429Quota 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