# Official Economic Calendar + Actuals (US, Euro Area, UK) (`saksham1341/macro-calendar`) Actor

Economic releases from official sources only (BLS, BEA, Fed, ECB, Eurostat, ONS) for the US, euro area and UK: CPI, unemployment, payrolls, GDP, retail sales, rate decisions, with actual, previous and change. Upcoming dates too, and a new-actuals-only mode.

- **URL**: https://apify.com/saksham1341/macro-calendar.md
- **Developed by:** [Saksham](https://apify.com/saksham1341) (community)
- **Categories:** Business, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$3.00 / 1,000 release event returneds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Official Economic Calendar + Actuals (US, Euro Area, UK)

An economic calendar built only from the publishers' own websites: **BLS, BEA and the Federal Reserve** for the US, **Eurostat and the ECB** for the euro area, and the **ONS** for the UK. For each release you get the scheduled time in UTC, the reference period, the **actual** value once it is published, the **previous** value and the **change**, all in one schema across the three regions.

It does not scrape Investing.com, ForexFactory or any other aggregator, and it needs no API keys.

Who it is for: trading and research desks, fintech apps and newsletters that need a dependable list of what is released when, and the official number afterwards, with a source link for every figure.

### What you get

One dataset item per release event:

| Field | Meaning |
|---|---|
| `region`, `country` | `US` / `EA` / `UK` and its name |
| `agency` | `BLS`, `BEA`, `Federal Reserve`, `Eurostat`, `ECB`, `ONS` |
| `indicator`, `indicatorId` | normalised name shared across regions (e.g. `CPI YoY`) and a stable id (e.g. `uk-cpi-yoy`) |
| `releaseName` | the publisher's release, e.g. `Flash estimate`, `Final`, `Advance estimate`, `FOMC statement` |
| `releaseDateTimeUtc` | scheduled release time, UTC |
| `period` | reference period: `2026-10` (month), `2026-Q3` (quarter), or the decision date for policy rates |
| `status` | `upcoming`, `released`, or `awaiting-data` (the time has passed but the publisher's data does not show the value yet) |
| `actual`, `previous`, `change` | the value for the period, the value for the period before, and `actual - previous` |
| `unit` | what the number means (e.g. `% change from 12 months earlier`, `thousands of jobs, change from previous month`) |
| `sourceUrl`, `valueSourceUrl` | the release or schedule page, and the official data file or API the value was read from |
| `notes` | extra detail, e.g. the full federal funds target range |
| `attribution` | the credit line the publisher asks for |
| `eventId` | stable id per release, used by changes mode |

#### Indicators covered

| Indicator | US | Euro area | UK |
|---|---|---|---|
| CPI YoY | BLS CPI-U | Eurostat HICP (flash and final) | ONS CPI |
| Core CPI YoY | BLS, less food and energy | Eurostat HICP excl. energy, food, alcohol, tobacco | ONS CPI, same exclusions |
| CPI MoM, Core CPI MoM | BLS, seasonally adjusted | - | - |
| Unemployment rate | BLS | Eurostat | ONS (3 months ending in the period) |
| Nonfarm payrolls | BLS (monthly change, thousands) | - | - |
| GDP QoQ | BEA (annualised; advance, second, third estimate) | Eurostat (not annualised; preliminary flash, flash, main aggregates, update) | ONS (first quarterly estimate, quarterly national accounts) |
| GDP MoM | - | - | ONS monthly GDP |
| PCE price index YoY, Core PCE YoY | BEA | - | - |
| Retail sales MoM | - | Eurostat (volume) | ONS (volume, Great Britain) |
| Policy rate decision | Fed (upper bound of target range) | ECB (deposit facility rate) | - |

Not covered, and why:

- **Consensus forecasts.** Official publishers do not publish forecasts, so this Actor has none. If you need "actual vs consensus", you need a commercial data feed.
- **PMIs.** PMIs are private surveys (S\&P Global, ISM, HCOB); no official free source exists.
- **US retail sales.** The Census Bureau's data API now requires a key; it is left out for now.
- **Bank of England Bank Rate.** The Bank's website terms allow only personal or internal non-commercial reuse of its pages, so the MPC schedule is not read.

### Input

```json
{
  "daysBack": 30,
  "daysAhead": 14,
  "regions": ["US", "EA", "UK"],
  "indicators": ["CPI YoY", "Unemployment rate", "Policy rate decision"],
  "upcomingOnly": false,
  "releasedOnly": false,
  "changesOnly": false,
  "stateKey": "macro-calendar-state"
}
```

- **Window**: `daysBack` / `daysAhead` from now, or `dateFrom` / `dateTo` (a date like `2026-12-31`, a timestamp, or a relative time: `dateFrom: "7 days"` means 7 days ago, `dateTo: "2 weeks"` means 2 weeks ahead).
- **`regions`**: `US`, `EA`, `UK`. Empty means all three.
- **`indicators`**: normalised names from the table above. Empty means all.
- **`upcomingOnly`** / **`releasedOnly`**: only scheduled or only past releases.
- **Changes mode** (`changesOnly: true`): returns only released events with an actual value that an earlier run with the same `stateKey` did not return. The first run returns every released actual in the window. Run it on a schedule (for example every 15 minutes during release hours) and each new figure arrives once. Releases in `awaiting-data` are not marked as seen, so they come through when the publisher's data catches up. The state lives in a key-value store named after `stateKey` in your own account.

### Output example

```json
{
  "eventId": "us-cpi-yoy:2026-09:2026-10-14:consumer-price-index",
  "region": "US",
  "country": "United States",
  "agency": "BLS",
  "indicator": "CPI YoY",
  "indicatorId": "us-cpi-yoy",
  "releaseName": "Consumer Price Index",
  "releaseDateTimeUtc": "2026-10-14T12:30:00Z",
  "period": "2026-09",
  "status": "released",
  "actual": 3.7,
  "previous": 3.4,
  "change": 0.3,
  "unit": "% change from 12 months earlier, not seasonally adjusted",
  "sourceUrl": "https://www.bls.gov/schedule/news_release/cpi.htm",
  "valueSourceUrl": "https://download.bls.gov/pub/time.series/cu/cu.data.1.AllItems",
  "notes": null,
  "attribution": "Source: U.S. Bureau of Labor Statistics (public domain)."
}
```

### Pricing

**$0.003 per release event returned.** A 30-days-back plus 14-days-ahead run over all three regions returns about 35-45 events (about $0.12). In changes mode you pay only for new figures; a run with nothing new costs nothing for events.

### Limits (read before relying on it)

- **Values are the publisher's current figures.** If an estimate has been revised since a release (e.g. a GDP flash later revised), most sources give the revised value for that period. BEA GDP and PCE values are read from each release's own text, so they are the figures that release published.
- **Some values are computed from published indexes:** US CPI YoY/MoM come from the BLS index levels (rounded to one decimal like BLS), and nonfarm payrolls is the change in the published employment level. They match the headline in almost all months; a 0.1 difference from rounding is possible.
- **Reference periods.** BEA and ONS schedules state the period. BLS and Eurostat calendars do not, so the period is derived from the release date and the publisher's usual delay. An unusual schedule (for example after a US government shutdown) can be misassigned; the `sourceUrl` always points to the official page.
- **Release times.** Eurostat's calendar gives dates only; euro indicators are released at 11:00 Luxembourg time, which is used. The ECB decision time is 14:15 Frankfurt time; FOMC statements are 14:00 New York time.
- **ECB past decisions** are listed from the ECB's press feed, which covers roughly the last two to three weeks; upcoming meetings come from the ECB calendar. Rate-changing decisions older than that are not listed.
- **Fed past meetings** are read from the FOMC calendar page; upcoming meetings show the current rate as `previous`.
- A publisher that is down is reported in the run log and skipped; the others are still returned.

### Attribution

The data comes from official publishers. When you republish it, credit them:

- U.S. Bureau of Labor Statistics, U.S. Bureau of Economic Analysis, Board of Governors of the Federal Reserve System: public domain; please cite the agency as the source.
- Eurostat: © European Union, reused under CC BY 4.0. Cite "Source: Eurostat".
- European Central Bank: reuse is allowed if the ECB is cited as the source.
- Office for National Statistics: contains public sector information licensed under the Open Government Licence v3.0.

Each item carries an `attribution` field with the right line. This Actor is not affiliated with or endorsed by any of these institutions.

# Actor input Schema

## `daysBack` (type: `integer`):

Include releases from this many days before now. Ignored when 'Date from' is set.

## `daysAhead` (type: `integer`):

Include scheduled releases up to this many days after now. Ignored when 'Date to' is set.

## `dateFrom` (type: `string`):

Optional start: a date (2026-11-01), a UTC timestamp, or a relative time ('7 days' = 7 days ago). Overrides 'Days back'.

## `dateTo` (type: `string`):

Optional end: a date (2026-12-31, whole day included), a UTC timestamp, or a relative time ('14 days' = 14 days ahead). Overrides 'Days ahead'.

## `regions` (type: `array`):

US, EA (euro area) and/or UK. Empty = all three.

## `indicators` (type: `array`):

Keep only these indicators (normalised names, the same across regions). Empty = all covered indicators.

## `upcomingOnly` (type: `boolean`):

Return only releases that have not happened yet (no actual values).

## `releasedOnly` (type: `boolean`):

Return only releases that have already happened.

## `changesOnly` (type: `boolean`):

Return only released events with an actual value that an earlier run with the same state key has not returned. The first run returns every released actual in the window. Use it on a schedule (e.g. hourly) to get each new figure once.

## `stateKey` (type: `string`):

Name of the key-value store in your account that remembers returned events. Use different names for independent feeds.

## Actor input object example

```json
{
  "daysBack": 30,
  "daysAhead": 14,
  "regions": [
    "US",
    "EA",
    "UK"
  ],
  "upcomingOnly": false,
  "releasedOnly": false,
  "changesOnly": false,
  "stateKey": "macro-calendar-state"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "daysBack": 30,
    "daysAhead": 14,
    "regions": [
        "US",
        "EA",
        "UK"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("saksham1341/macro-calendar").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "daysBack": 30,
    "daysAhead": 14,
    "regions": [
        "US",
        "EA",
        "UK",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("saksham1341/macro-calendar").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "daysBack": 30,
  "daysAhead": 14,
  "regions": [
    "US",
    "EA",
    "UK"
  ]
}' |
apify call saksham1341/macro-calendar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saksham1341/macro-calendar"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/KraoUElbKBV7XOrsW/builds/SMT5f2uvNLtAAuU9f/openapi.json
