Get historical data

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

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

Request

  • Base URL
    https://statisticsoftheworld.com
  • Auth
    none declared

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"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.