Observations

Get Timeseries

Return the full time series for one indicator + country, with optional transform.

get/api/v1/observations/timeseries/{indicator_id}/{country_code}

Request

  • Base URL: https://api.africadb.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.africadb.com/api/v1/observations/timeseries/{indicator_id}/{country_code}
  • Auth: none declared

Path parameters

indicator_idstring required
country_codestring required

Query parameters

start_yearinteger
end_yearinteger

Defaults to current year + 5 so IMF WEO forecasts are included

transformstring nullable

Transform: pct_change, yoy, per_capita, per_gdp, moving_avg_3, moving_avg_5, indexed

base_yearinteger nullable

Base year for indexed transform

Response

Successful Response

unknown required

Changes

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