Skip to content

4.1 - Get Economic Events

Request

Method URL
GET https://api.infotrie.com/api/idata/get_economic_events

Send your InfoTrie API key in the X-API-Key header; a console key needs the market_data scope. The legacy AppKey header is refused with a 401.

Parameters

Params Type Values
start_date Date First day of the window, inclusive, in yyyy-mm-dd format (yyyy/mm/dd is also accepted). Coverage starts on 2022-01-01: an earlier date is moved there.
end_date Date Last day of the window, inclusive, in yyyy-mm-dd format (yyyy/mm/dd is also accepted). Default: yesterday (UTC).
ndays Number (integer) Used only when start_date is omitted: a window of ndays days ending on end_date, 1 to 3650. Default value = 100
country String Country code of the event, exact match, in upper case (e.g. US). By default all countries are returned.
event_type String Event name, exact and case-sensitive match (e.g. Fiscal Balance). By default all events are returned.

Any other parameter is refused with a 400 that names the accepted ones.