Economic Calendar API

FREE API

A granular API for retrieving economic calendar events, interest rates, CPI data, and corporate earnings seasons for major economies.

Note: All date and time values returned by this API are in UTC (Coordinated Universal Time).

Endpoint

GEThttps://diszy.com/bot/tms/calendar

⚠️ Default Behavior

By default (no query parameters), only HIGH impact events are returned for backward compatibility. To retrieve all impact levels, you must explicitly specify country parameters with desired impact levels (e.g., ?us=low,mid,high).

Query Parameters

Filter events by country and impact level. If no parameters are provided, only HIGH impact events are returned. Specify any country parameter below to enable granular filtering.

ParameterDescriptionValues
typesSelect specific data sections to retrieverates, cpi, calendar
Default: Returns all
langLanguage for event descriptionsen (default), de, es, fr, etc.
usUnited StatesImpact levels: low, mid, high
euEuropeImpact levels: low, mid, high
jpJapanImpact levels: low, mid, high
ukUnited KingdomImpact levels: low, mid, high
chSwitzerlandImpact levels: low, mid, high
auAustraliaImpact levels: low, mid, high
caCanadaImpact levels: low, mid, high
cnChinaImpact levels: low, mid, high

Date Range Filters

Filter events by a specific calendar week, month, or single date.

ParameterDescriptionValues
weekFilter by ISO calendar week5 (week 5 of current year)
2026-W05 or 2026-5
monthFilter by calendar month2 (February of current year)
2026-02
dateFilter by specific date (ISO format)2026-01-31
tzOffsetTimezone offset in hours from UTC to shift the date boundary2 (for UTC+2)

If no date filter is specified, events for the next 45 days are returned.

Examples

1. Default (High Impact Only + All Data)

GET /bot/tms/calendar

Returns Rates, CPIs, and High Impact Events.

2. Get Rates Only

GET /bot/tms/calendar?types=rates

3. Calendar Only (High & Medium Impact US/EU)

GET /bot/tms/calendar?types=calendar&us=high,mid&eu=high

Response Structure

{
  "rates": [ ... ], // Central Bank Rates
  "cpis": [ ... ],  // Inflation Data
  "treasuries": [ ... ], // US Treasury Yields
  "calendarEvents": [
    {
      "name": "Fed Interest Rate Decision",
      "dateUtc": "2026-03-20T18:00:00.000Z",
      "countryCode": "US",
      "volatility": "HIGH",
      "title": "Fed Interest Rate Decision", // Friendly title
      "description": "The Federal Reserve's decision...", // Rich description
      "_groupedEvents": 2, // Integer count (appears only if multiple events were collapsed)
      "_subEvents": [ // Array of the original unmerged event objects
        { ... },
        { ... }
      ]
    },
    ...
  ],
  "holidays": [ ... ],
  "earningsSeasons": [
    {
      "id": 1,
      "countryCode": "US",
      "quarter": "Q1_2026",
      "startDate": "2026-04-10T00:00:00.000Z",
      "endDate": "2026-05-15T00:00:00.000Z",
      "peakStart": "2026-04-20T00:00:00.000Z",
      "peakEnd": "2026-05-02T00:00:00.000Z",
      "impact": "high"
    }
  ],
  "meta": {
    "rangeType": "week",  // "week", "month", "date", or "default"
    "rangeStartDate": "2026-01-27T00:00:00.000Z",
    "rangeEndDate": "2026-02-03T00:00:00.000Z",
    "totalEvents": 5
  }
}

Intelligent Event Aggregation

To prevent noisy double-posts and spam, the Calendar API implements intelligent event grouping. When multiple related events share the exact same timestamp and country (e.g. "U.S. Consumer Price Index YoY" and "U.S. Consumer Price Index MoM"), they are automatically collapsed into a single, clean descriptor. Included in aggregated objects is an additional _groupedEvents meta field containing an integer count of how many events were merged, as well as a _subEvents array containing the underlying original event objects. The highest volatility rating among the grouped events is always retained.

Earnings Seasons Included

The API automatically queries overlapping corporate Earnings Seasons based on the date range of your request. These will appear inside the earningsSeasons array property in the response structure. They cover large periods and include detailed peakStart to peakEnd properties representing maximum market volatility.

Historical Events Endpoint

Query historical calendar events stored in the database. This endpoint allows you to retrieve past events for analysis and backtesting.

Endpoint

GEThttps://diszy.com/bot/tms/calendar/history

Query Parameters

ParameterDescriptionExample
fromStart date (ISO format)2025-01-01
toEnd date (ISO format)2025-12-31
countryCountry codes (comma-separated)US,EU,JP
volatilityImpact levels (comma-separated)HIGH,MEDIUM
langLanguage code for translationsen, de, es, etc.
limitMax results (default: 100, max: 500)50

Example: Get Q1 2026 US High Impact Events

GET /bot/tms/calendar/history?from=2026-01-01&to=2026-03-31&country=US&volatility=HIGH

Example: Get Events in German

GET /bot/tms/calendar/history?from=2026-01-01&to=2026-03-31&lang=de

Example: Querying Past Earnings Seasons

GET /bot/tms/calendar/history?from=2025-01-01&to=2025-12-31&country=US

Any US Earnings Seasons recorded in the database that intersect your historical from and to dates are automatically included in the earningsSeasons response array alongside regular calendar events.

Response with Translations

{
  "events": [
    {
      "id": 123,
      "name": "Fed Interest Rate Decision",
      "dateUtc": "2026-03-20T18:00:00.000Z",
      "countryCode": "US",
      "volatility": "HIGH",
      "category": "central_bank",
      "icon": "🏦",
      "title": "Fed Zinsentscheidung",  // Translated title
      "description": "Die Federal Reserve gibt...",  // Translated
      "hasTranslation": true
    },
    ...
  ],
  "earningsSeasons": [
    {
      "id": 1,
      "countryCode": "US",
      "quarter": "Q1_2026",
      "startDate": "2026-04-10T00:00:00.000Z",
      "endDate": "2026-05-15T00:00:00.000Z",
      "peakStart": "2026-04-20T00:00:00.000Z",
      "peakEnd": "2026-05-02T00:00:00.000Z",
      "impact": "high"
    }
  ],
  "count": 15,
  "query": { "from": "...", "lang": "de" }
}

Multi-Language Support

Events can have localized titles and descriptions. Use the lang parameter to get translations.

Get Available Languages

GET/bot/tms/calendar/languages

Returns a list of all available language codes.

Event Explanations & Translations

The API automatically provides detailed explanations and localized titles for major economic events. Below is a live list of event types that include rich descriptions in multiple languages.

Select Language:

Request Access

This API is currently in Closed Beta. Access is limited to verified developers and partners.

To request an API key, report issues, or suggest new features, please join our Discord community.