Skip to main content
POST
/
api
/
investing
/
economic-calendar
/investing/economic-calendar
curl --request POST \
  --url https://api.anysite.io/api/investing/economic-calendar \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "name": "<string>",
    "@type": "@investing_economic_event",
    "name_long": "<string>",
    "country": "<string>",
    "currency": "<string>",
    "currency_flag": "<string>",
    "importance": 123,
    "event_at": "<string>",
    "actual": "<string>",
    "forecast": "<string>",
    "previous": "<string>",
    "revised_from": "<string>",
    "period": "<string>",
    "is_speech": false,
    "is_report": false,
    "is_pmi": false,
    "path": "<string>",
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of events

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
name
string
required
@type
string
default:@investing_economic_event
name_long
string | null
country
string | null
currency
string | null
currency_flag
string | null
importance
integer | null
event_at
string | null
actual
string | null
forecast
string | null
previous
string | null
revised_from
string | null
period
string | null
is_speech
boolean
default:false
is_report
boolean
default:false
is_pmi
boolean
default:false
path
string | null
url
string | null