Reference data

Historical values of a series, filterable by date range

get/v1/{country}/{series}/history

Request

  • Base URL: https://afriref.dev
  • URL: https://afriref.dev/v1/{country}/{series}/history
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • API key in header X-PAYMENT
    • API key in header X-API-Key

Path parameters

country'ao' | 'bf' | 'bj' | 'bw' | 'cd' | 'cf' | 'cg' | 'ci' | 'cm' | 'dz' | 'eg' | 'et' | 'ga' | 'gh' | 'gq' | 'ke' | 'ls' | 'ma' | 'ml' | 'mu' | 'mz' | 'na' | 'ne' | 'ng' | 'rw' | 'sn' | 'sz' | 'td' | 'tg' | 'tn' | 'tz' | 'ug' | 'za' | 'zm' required
Example:ao
series'policy-rate' | 'vat' | 'vat-registration-threshold' | 'minimum-wage' | 'public-holidays' | 'cpi' | 'corporate-tax' | 'withholding-tax' | 'statutory-interest' | 'income-tax' | 'social-contributions' | 'fx-reference' | 'filing-deadlines' required
Example:policy-rate

Query parameters

fromstring date
tostring date

Response

Historical entries. Top-level labels describe the current value; each entry carries its own.

countrystring
seriesstring
staleboolean
confidence_label'high' | 'medium' | 'low'

Derived from source type, verification age, stale. Rules: /label-rules

coverage_label'ready' | 'partial' | 'gap'

ready=complete, partial=limited, gap=no number. Rules: /label-rules

label_basisobject

Inputs and rule ids behind both labels

Changes

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