Macroeconomic indicators for African and emerging markets.

Two modes. With series or as_of: point-in-time series (FX, CPI), returning the latest vintage known at as_of with no look-ahead. Otherwise: annual World Bank indicators by country and indicator. Attribution and notice conditions travel with the data and are stated per source in the public licence register.

get/v1/macro

Request

  • Base URL: https://api.certvas.com
  • URL: https://api.certvas.com/v1/macro
  • Auth: API key in header X-API-Key

Query parameters

countrystring

ISO 3166-1 alpha-2 country code.

indicatorstring

Annual mode: World Bank indicator code, e.g. FP.CPI.TOTL.ZG.

seriesstring

Series mode: series key, e.g. FX.NGN.USD.

series_typestring

Series mode: family, e.g. fx or cpi.

frequencystring

Series mode: monthly or daily.

as_ofstring date

Point-in-time date (YYYY-MM-DD). Returns what was KNOWABLE on that date rather than what is known now — restatements append a new vintage instead of overwriting, so an as-of query is reproducible.

fromstring date

Series mode: earliest observation date (YYYY-MM-DD).

tostring date

Series mode: latest observation date (YYYY-MM-DD).

limitinteger

Maximum rows to return. Sandbox keys are capped well below the paid ceiling.

Response

Macro observations.

object required

Changes

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