Skip to content
ChartDeck Developer API docs Account Get an API key

GET /v1/calendar/events

#GET /v1/calendar/eventslistCalendarEvents

Economic calendar events in a time range (scheduled, released, revised)

Ordered by time, then importance, then id. actual is null until the release.

Scopecalendar:read
Lowest tiersandbox
Weight (units)1
History each tier may readSandbox: 31 days; Starter: 92 days; Elite (included): 92 days; Developer: 366 days; Business: 800 days
Paginatedyes: follow meta.next_cursor
SDKPython client.calendar.list_events ยท JavaScript cd.calendar.listEvents

Parameters

ParameterInTypeDescription
fromquerystringStart, inclusive: unix seconds or RFC 3339.
toquerystringEnd, exclusive: unix seconds or RFC 3339. Default now.
countryquerystringComma-separated countries (US, CRYPTO, EU, GB, JP, CN, CA, AU, NZ, CH).
importancequeryintegerLowest importance, 1 to 3.
categoryquerystringComma-separated categories.
seriesquerystringComma-separated series ids.
statusquerystringComma-separated: scheduled, released, delayed, cancelled.
limitqueryintegerRows per page, at most 500 (default 100).
cursorquerystringmeta.next_cursor of the previous page (opaque; bound to the route).

Answer

data: a list of events: id, series, name, period, at, t, tentative, status, country, category, importance, unit, decimals, previous, forecast, forecast_kind, actual, revised, actual_at, delayed, publisher, report_url

Errors

  • 400 invalid_param, invalid_cursor
  • 401 unauthorized: missing, unknown, revoked or expired key
  • 403 insufficient_scope, tier_required
  • 404 not_found, not_available, not_in_sandbox
  • 422 window_too_large
  • 429 rate_limited (per minute) or quota_exhausted (month; X-Quota-* headers, Retry-After = seconds to the next month); see Retry-After
  • 503 api_disabled, overloaded

Example

Shell
curl "https://api.chartdeck.trade/v1/calendar/events" \
  -H "Authorization: Bearer $CHARTDECK_API_KEY"
Python
from chartdeck import Client

client = Client()  # reads CHARTDECK_API_KEY
r = client.calendar.list_events()
print(r.data, r.meta["attribution"])
JavaScript
import { ChartDeck } from '@chartdeck/api';

const cd = new ChartDeck();  // reads CHARTDECK_API_KEY
const r = await cd.calendar.listEvents();
console.log(r.data, r.meta.attribution);

The Developer API documentation is in English.