v1

OpenAPI 3.1.02026-07-13637.7 KB

Get historical data

Returns 20+ years of historical data for an indicator-country pair.

get/api/v1/history/{indicator}/{country}

Path parameters

indicatorstring required
Example:IMF.NGDPD

Indicator ID

countrystring required
Example:CAN

ISO3 country code

Response

Historical time series

countrystring

Example response

{
  "indicator": {
    "id": "IMF.NGDPD",
    "label": "GDP (Current USD, Billions)",
    "category": "Economy"
  }
}