GET
/
calendar
/
economics
Get economic events calendar
curl --request GET \
  --url https://openapi.ainvest.com/open/calendar/economics \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "data": [
      {
        "index": "<string>",
        "importance": 1,
        "actual": "<string>",
        "forecast": "<string>",
        "previous": "<string>"
      }
    ]
  },
  "status_code": 123,
  "status_msg": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here

Query Parameters

date
string
required

The date for which to get the data, format YYYY-MM-DD

Response

Successful response in standard envelope

data
object
status_code
number

Status code, 0 for success

status_msg
string

Status message, success for success