Skip to main content
List global economic calendar events

Overview

This endpoint returns scheduled and published macroeconomic releases from official calendars worldwide: inflation, jobs, growth, central bank decisions and other indicators, each with its release time, importance, the actual value, the consensus forecast, the previous reading and any revision. Darvas adds the numeric surprise against consensus, so a trading script or an AI agent can ask “which high-impact USD releases come this week?” or “did CPI beat expectations?” in one call.

Parameters

Follow next_page_url as returned: it keeps your filters and adds the cursor. Top-level JSON responses also carry count, has_more, next_cursor (when more rows remain), and series_summary (when series_key is set). Without next_page_url, the page is the last one.

Response fields

For the full monthly histories behind US releases, see CPI and Inflation, Labor Market and GDP and Income; for policy rates, see Central Bank Interest Rates.

Examples

Authorizations

X-API-KEY
string
header
required

A Darvas data API key: dvk_ and 43 characters.

Query Parameters

start_date
string

Lower release date bound in YYYY-MM-DD or ISO-8601 UTC (defaults to 7 days ago, or 5 years when series_key is set).

Maximum string length: 32
Pattern: ^[0-9T:Z.+\-]{10,32}$
end_date
string

Upper release date bound in YYYY-MM-DD or ISO-8601 UTC (defaults to 14 days ahead).

Maximum string length: 32
Pattern: ^[0-9T:Z.+\-]{10,32}$
from
string

Alias for start_date (YYYY-MM-DD or ISO-8601 UTC).

Maximum string length: 32
Pattern: ^[0-9T:Z.+\-]{10,32}$
to
string

Alias for end_date (YYYY-MM-DD or ISO-8601 UTC).

Maximum string length: 32
Pattern: ^[0-9T:Z.+\-]{10,32}$
country
string

Comma-separated ISO-2 codes (US,GB,EU), ISO-3166 numeric codes (840,826), or country names.

Maximum string length: 160
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
currencies
string

Comma-separated currency codes, such as USD,EUR,GBP.

Maximum string length: 64
Pattern: ^[A-Za-z0-9,]{2,64}$
currency
string

Alias for currencies (comma-separated ISO currency codes).

Maximum string length: 64
Pattern: ^[A-Za-z0-9,]{2,64}$
importance
string

Comma-separated importance levels: none, low, medium, high.

Maximum string length: 32
Pattern: ^(none|low|medium|high)(,(none|low|medium|high)){0,3}$
impact
string

Alias for importance (none, low, medium, high).

Maximum string length: 32
Pattern: ^(none|low|medium|high)(,(none|low|medium|high)){0,3}$
event_name
string

Case-insensitive event name substring filter (for example CPI or Payrolls).

Maximum string length: 120
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
series_key
string

Exact canonical series key identifier (including slash or colon delimited keys).

Maximum string length: 160
Pattern: ^[A-Za-z0-9._:/-]{1,160}$
q
string

Case-insensitive full-text filter matching event_name, country_name, or series_key.

Maximum string length: 120
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
upcoming_only
enum<string>
default:false

When true, restricts results to releases from the current UTC timestamp onward.

Available options:
true,
false
updated_since
string

Incremental sync lower bound on release updated_at (YYYY-MM-DD or ISO-8601 UTC).

Maximum string length: 32
Pattern: ^[0-9T:Z.+\-]{10,32}$
format
enum<string>
default:json

Response format: json (default) or ics for an RFC 5545 text/calendar feed.

Available options:
json,
ics
limit
integer<int32>
default:100

Maximum releases returned per page (1 to 200; default 100).

Required range: 1 <= x <= 200
cursor
string

The cursor from a previous next_page_url. It replaces every other parameter.

Maximum string length: 4096
Pattern: ^[A-Za-z0-9_-]+$

Response

List global economic calendar events: one page.

The answer of GET /macro/economic-calendar.

economic_calendar
object[]
required

Page of matching releases.

Maximum array length: 200
count
integer<int32>
required

Number of releases in this page.

Required range: 0 <= x <= 200
Example:

1

has_more
boolean
required

True when more matching releases exist on a subsequent page.

Example:

false

next_cursor
string

Opaque keyset pagination cursor for the next page.

Maximum string length: 500
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"eyJyZWxlYXNlQXQiOiIyMDI2LTExLTEzVDEzOjMwOjAwLjAwMFoifQ"

next_page_url
string<uri>

Next page URL when more releases remain.

Maximum string length: 2000
Example:

"https://api.darvas.app/v1/macro/economic-calendar?cursor=eyJyZWxlYXNlQXQiOiIyMDI2LTExLTEzVDEzOjMwOjAwLjAwMFoifQ"

series_summary
object

Historical surprise distribution for a filtered series_key.

Example:
methodology
string

Calculation notes for surprise, surprise_pct, and surprise_z_score.

Maximum string length: 1000
Pattern: ^[^\x00-\x08\x0b\x0c\x0e-\x1f]*$
Example:

"Surprise equals actual_numeric minus forecast_numeric."

sources
object[]

Source attribution records.

Maximum array length: 10