apyhub
Back
▣ RETRIEVAL KIT

Economic Calendar for US, UK & Euro Area API

What it does

The Economic Calendar API returns official release dates for market-moving economic data as JSON. Send a filter and get back CPI, jobs report, GDP, PCE, retail sales, FOMC and ECB events from the US, UK and euro area, each with its release time in UTC and in the agency's local time.

Choose a mode to set the time window. upcoming returns the next 7 days, or up to 120 with days. today and week cover the current UTC day or week. range takes from and to dates, up to 370 days apart, including past dates. next returns the next release of each indicator that matches search, and events lists each indicator with its next date. Narrow results with agency, country (US, GB, EA), category and importance, where medium also includes high. Set limit from 1 to 100 rows.

Teams use this economic calendar API to show CPI release dates in trading apps, alert users before FOMC dates, build macro dashboards, and plan research around the jobs report.

Data comes from BLS, BEA, the U.S. Census Bureau, the Federal Reserve, ONS and the ECB, and each row names its source. The economic calendar API returns dates and times only, not the released figures or forecasts.

Pair it with the Currency Converter API to price the move after a release, and the Public Holidays API to check market closures around a release date. AI agents can call it through ApyHub MCP.

POST
Track Economic Release Dates API - Official CPI, Jobs, FOMC Dates, MCP
https://api.eu.apyhub.com/martin10291/economic-calendar-us-uk-euro-area

QUICKSTART

GUIDE

Quickstart

Get the next two upcoming economic releases.

curl -X POST "https://api.eu.apyhub.com/martin10291/economic-calendar-us-uk-euro-area" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"mode":"upcoming","limit":2}'

What you'll get back

Returns a JSON object with count and an items array. Each item is one release with its date, agency, importance and release time in UTC and local time.

{
  "count": 2,
  "items": [
    {
      "agency": "ONS",
      "category": "growth",
      "country": "GB",
      "date": "2026-11-26",
      "estimated": false,
      "event": "Economic activity and social change in the UK, real-time indicators",
      "id": "8be748e10e9995a0",
      "importance": "low",
      "period": "26 November 2026",
      "releaseTimeLocal": "2026-11-26T09:30:00+00:00",
      "releaseTimeUtc": "2026-11-26T09:30:00Z",
      "source": "ONS (OGL v3)",
      "sourceUrl": "https://www.ons.gov.uk/releases/economicactivityandsocialchangeintheukrealtimeindicators26november2026",
      "status": "scheduled",
      "timezone": "Europe/London",
      "type": "release"
    },
    {
      "agency": "ONS",
      "category": "trade",
      "country": "GB",
      "date": "2026-11-26",
      "estimated": false,
      "event": "Long-term international migration, provisional",
      "id": "89930d9db511b885",
      "importance": "low",
      "period": "year ending June 2026",
      "releaseTimeLocal": "2026-11-26T09:30:00+00:00",
      "releaseTimeUtc": "2026-11-26T09:30:00Z",
      "source": "ONS (OGL v3)",
      "sourceUrl": "https://www.ons.gov.uk/releases/longterminternationalmigrationprovisionalyearendingjune2026",
      "status": "scheduled",
      "timezone": "Europe/London",
      "type": "release"
    }
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
End date YYYY-MM-DD (UTC) for mode range. Defaults to from + 30 days; span at most 370 days.
For mode upcoming: days ahead to return.
Start date YYYY-MM-DD (UTC). Required when mode is range.

About this endpoint

What it does

Returns official economic release dates for the US, UK and euro area, filtered by time window, agency, country, category, importance and indicator name.

Request Body

ParameterTypeDescription
modeENUMTime window to return. Allowed values: upcoming, today, week, range, next, events. Default: upcoming. upcoming returns releases from now for the next days. today and week use the current UTC day or ISO week. range uses from to to, past dates allowed. next returns the next release of each indicator matching search. events returns one row per indicator with its next date (see Response).
daysIntegerFor mode upcoming: how many days ahead to return. Default: 7. Range: 1 to 120. Ignored by other modes.
fromStringStart date in YYYY-MM-DD (UTC). Required when mode is range.
toStringEnd date in YYYY-MM-DD (UTC), for mode range. Default: from plus 30 days. Must not be before from. The range can span at most 370 days.
searchStringText to match in the indicator name, case-insensitive, for example cpi, nonfarm, gdp, pce, retail sales, fomc or labour market. Required when mode is next.
agencyENUMOnly releases from this agency. Allowed values: BLS, BEA, Census, Federal Reserve, ONS, ECB (case-sensitive). Empty means all agencies.
countryString ArrayOnly releases from these countries. Allowed values: US, GB (UK), EA (euro area). Max 100 items. Empty means all countries.
categoryENUMOnly releases in this category. Allowed values: inflation, employment, growth, central bank, trade, housing, consumer, business, other. Empty means all categories.
importanceENUMMinimum importance: returns releases at this level or higher. Allowed values: low (all), medium (medium and high), high (market movers only: CPI, jobs report, GDP, PCE, retail sales, PPI, FOMC, ECB, UK CPI, labour and GDP). Empty means all levels.
limitIntegerMaximum number of rows. Default: 20. Range: 1 to 100.

Response

Returns a JSON object with count and an items array. Rows are sorted by release time.

ParameterTypeDescription
countIntegerNumber of rows in items.
itemsObject ArrayRelease rows. In events mode each row is an indicator instead (fields marked "events mode").
items[].idStringUnique release id. Not present in events mode.
items[].dateStringRelease date, YYYY-MM-DD, in the agency's local time. Not present in events mode.
items[].typeENUMAllowed values: release (a single release), event (an indicator, events mode).
items[].eventStringIndicator name, for example Consumer Price Index (CPI).
items[].agencyENUMAllowed values: BLS, BEA, Census, Federal Reserve, ONS, ECB.
items[].periodStringPeriod the release covers, for example Q3 2026 or October 2026. Null when the agency does not state one. Not present in events mode.
items[].sourceStringSource and licence, for example BEA (public domain) or ONS (OGL v3).
items[].statusENUMAllowed values: scheduled (not yet out), released (published), postponed (delayed by the agency). Not present in events mode.
items[].countryENUMAllowed values: US, GB, EA.
items[].categoryENUMOne of the category values in the request.
items[].timezoneStringAgency time zone: America/New_York, Europe/London or Europe/Berlin. Not present in events mode.
items[].estimatedBooleantrue when the date is estimated rather than confirmed by the agency. Not present in events mode.
items[].sourceUrlStringLink to the official release or schedule page.
items[].importanceENUMAllowed values: low, medium, high.
items[].releaseTimeUtcStringRelease time in UTC, ISO 8601. Not present in events mode.
items[].releaseTimeLocalStringRelease time in the agency's time zone, ISO 8601 with offset. Not present in events mode.
items[].hasProjectionsBooleanFOMC rate decisions only: true when the Fed publishes economic projections at that meeting. Null when not yet known.
items[].nextDateStringEvents mode: date of the next release, YYYY-MM-DD. Null when none is scheduled.
items[].nextPeriodStringEvents mode: period the next release covers. Can be null.
items[].nextReleaseTimeUtcStringEvents mode: next release time in UTC. Can be null.
items[].upcomingCountIntegerEvents mode: number of upcoming releases known for this indicator.

Notes

  • Invalid input returns HTTP 400 with code (invalid_input), error and message, for example {"code": "invalid_input", "error": "invalid input: Field days must be between 1 and 120, got 121", "message": "Field days must be between 1 and 120, got 121"}.
  • A filter with no matches returns count 0 and an empty items array, not an error.
  • Unknown request fields are ignored.
  • The API returns dates and times only, not released values or forecasts.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.