GET
/
calendar
/
economics
curl --request GET \
  --url https://api.benzinga.com/api/v2.1/calendar/economics \
  --header 'accept: <accept>'
{
  "economics": [
    {
      "id": "string",
      "date": "string (YYYY-MM-DD)",
      "time": "string (HH:MM:SS)",
      "country": "string",
      "event_name": "string",
      "event_period": "string",
      "period_year": "integer (YYYY)",
      "actual": "string (float)",
      "actual_t": "string",
      "consensus": "string (float)",
      "consensus_t": "string",
      "prior": "string (float)",
      "prior_t": "string",
      "importance": "integer",
      "updated": "integer",
      "description": "string"
    }
  ]
}

Authorizations

token
string
queryrequired

Headers

accept
enum<string>
default: application/jsonrequired

Specifies return format. Query parameters work the same for both formats.

Available options:
application/json

Query Parameters

page
integer
default: 0

Page offset. For optimization, performance and technical reasons, page offsets are limited from 0 - 100000. Limit the query results by other parameters such as date.

pagesize
integer

Number of results returned. Limit 1000

parameters[date]
string

Date to query for calendar data. Shorthand for date_from and date_to if they are the same. Defaults for latest.

parameters[date_from]
string

Date to query from point in time.

parameters[date_to]
string

Date to query to point in time.

parameters[importance]
enum<integer>

The importance level to filter by. Uses Greater Than or Equal To the importance indicated

Available options:
0,
1,
2,
3,
4,
5
parameters[updated]
integer

Records last Updated Unix timestamp (UTC). This will force the sort order to be Greater Than or Equal to the timestamp indicated.

country
string

3-Digit Country Code

Response

200 - application/json
economics
object[]