economics
Historical observations, optionally transformed
https://docs.economicsapi.com/endpoints/gethistory
gethttps://api.economicsapi.com/v1/history
curl -X GET "https://api.economicsapi.com/v1/history" \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxxxxxxxxx"Authorization
AuthorizationstringheaderrequiredBearer token. API key from your economicsapi dashboard Format: `Bearer sk_live_xxxxxxxxxxxxxxxxxxxx`.
Query parameters
countrystring | nullISO3, slug, or group token; comma-listable
indicatorstring | nullkpi_id, slug, or alias; comma-listable
fromstring | nullYYYY or YYYY-MM-DD
tostring | nullYYYY or YYYY-MM-DD
transformstringdefault "none"none | yoy | mom | log_diff | 3mma
cursorstring | nullnext_cursor from the previous page
Response
200Successful Response
application/jsondataObservationOut[]requirednext_cursorstring | null401Missing or invalid API key
application/jsonerrorstringmessagestringrequest_idstring422Validation Error
application/jsondetailValidationError[]429Rate limit exceeded
application/jsonerrorstringmessagestringrequest_idstring