Metric History

Returns the full time-series history for a specific macroeconomic metric and country. Supports cursor-based pagination for large result sets.

Path Params
string
enum
required

Metric code to retrieve history for. See EconomyMetricCode schema for all 63 available codes (e.g. CPI, GDP_REAL, UNEMPLOYMENT_RATE).

Query Params
string
required

ISO 3166-1 alpha-2 country code (e.g. US, DE, JP)

date

Start date for the time series (YYYY-MM-DD)

date

End date for the time series (YYYY-MM-DD)

string

Filter by data source code (e.g. BLS, FRED, EUROSTAT)

string

Vintage date for revision tracking. Returns the data as it was known on this date.

string

Pagination cursor (reference_period value from previous response's next_cursor). Use instead of from for subsequent pages.

int32
1 to 1000
Defaults to 1000

Maximum number of observations to return per page (default 1000, max 1000)

Headers
string
enum
Defaults to application/json

Response content type. Only application/json is supported.

Allowed:
Responses

Language
Credentials
Header
URL
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json