# ForexFactory Economic Calendar Scraper (`datamole/forexfactory-economic-calendar`) Actor

Get the ForexFactory economic calendar with actual, forecast and previous values, impact, currency and the surprise versus forecast. Add indicator details, beat rate and surprise z-score from past releases, or monitor new releases. Also covers CryptoCraft, MetalsMine and EnergyExch.

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

## Pricing

from $10.00 / 1,000 results

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

![DataMole](https://raw.githubusercontent.com/YoiderD/datamole-assets/main/banner.png)

## 📅 ForexFactory Economic Calendar Scraper

> **Get the ForexFactory economic calendar as clean data: every event with actual, forecast and previous values, impact, currency and country, plus what the number means. The surprise against the forecast, the signal for the currency and, if you want, how unusual this surprise is compared with the last 100 releases.** Covers ForexFactory and its sister calendars for crypto, metals and energy traders.

> 🕒 **Last updated:** 2026-11-08 · history from **2007** · **4 calendars** (ForexFactory, CryptoCraft, MetalsMine, EnergyExch) · any timezone · monitor mode for new releases

**ForexFactory Economic Calendar Scraper** reads the calendar the forex world checks every morning: CPI, Non-Farm Payrolls, central bank rate decisions, PMIs, GDP, speeches and holidays for the USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD and CNY. Each event comes with its numbers parsed, the **surprise** computed and the **currency signal** ForexFactory shows in green or red. Turn on details to add the source agency with its release link, what the indicator measures, its usual effect on the currency, the next release date and **history stats**: how often it beats the forecast, the typical surprise and the **z-score** of this release.

| 🎯 Who uses it | 💡 What for |
|---|---|
| Forex, crypto and commodity traders, quant researchers, trading bot builders, financial newsletters, AI agents | News trading filters, backtests on surprises, release alerts, daily briefings, macro datasets |

### 📋 What it does

- 📅 **Any period.** Today, tomorrow, yesterday, this, next or last week or month, or any custom range back to 2007.
- 🧭 **Four calendars.** ForexFactory (forex), CryptoCraft (crypto), MetalsMine (metals) and EnergyExch (energy). Each one lists the events of its market and rates their impact for it: US crude oil inventories are low impact on ForexFactory and high impact on EnergyExch.
- 🔢 **Numbers ready for analysis.** `0.4%`, `86K` or `-1.9M` become a value and a unit, for actual, forecast, previous and revised previous.
- 🎯 **Surprise.** Actual minus forecast, in points and in percent, and whether the actual came above, below or in line.
- 🟢 **Currency signal.** `bullish` or `bearish` for the currency, the same green or red ForexFactory shows.
- 📈 **History stats (optional).** Beat rate, miss rate, average and typical surprise over up to 100 past releases, the **z-score** of this surprise and the last releases listed.
- 🏛️ **Indicator details (optional).** Source agency and its latest release link, what it measures, usual effect, frequency, next release, ForexFactory notes, why traders care, derivation and acronyms.
- 🌍 **Your timezone.** Dates, times and "this week" in the timezone you choose. `dateTime` stays in UTC.
- 🔔 **Monitor mode.** Schedule it and get only new events, new releases, corrected actuals, revised previous values, forecast changes and rescheduled events.
- 🔍 **Filters.** Currency, impact, country (Germany, France, Italy and Spain apart from the euro area), event name, released or upcoming, data releases only.

> ℹ️ **Free Apify plan:** runs return a preview of up to 10 results. Any paid Apify plan unlocks all results.

### ⚙️ Input

| Field | What it does |
|---|---|
| `calendars` | `forex` (ForexFactory), `crypto` (CryptoCraft), `metals` (MetalsMine), `energy` (EnergyExch). Default `forex`. |
| `period` | `today`, `tomorrow`, `yesterday`, `this-week`, `next-week`, `last-week`, `this-month`, `next-month`, `last-month` or `custom`. |
| `dateFrom` / `dateTo` | Custom range, from 2007-01-01. |
| `timezone` | Timezone name, for example `UTC`, `America/New_York`, `Europe/London`, `Asia/Tokyo`. Default `UTC`. |
| `currencies` | USD, EUR, GBP, JPY, AUD, CAD, CHF, NZD, CNY, BRL, MXN, RUB, All. |
| `impacts` | `high`, `medium`, `low`, `holiday` (non-economic). |
| `countries` | ISO codes, for example `US`, `DE`, `JP`, `EU` for the euro area. |
| `eventSearch` | Words the event name must contain, for example `CPI`, `Non-Farm`, `Rate`. |
| `status` | `all`, `released` or `upcoming`. |
| `onlyWithData` | Skip speeches, holidays and meetings without numbers. |
| `sortBy` | `time` or `impact`. |
| `includeDetails` | Add indicator details and history stats. Charged as an extra event. |
| `historyLimit` | Past releases listed per event (stats use up to 100 either way). |
| `monitorMode` / `monitorName` | Return only what changed since the last run. |
| `maxItems` | Maximum events to save. |

**Example: high impact USD and EUR events this week, with details**

```json
{
    "period": "this-week",
    "currencies": ["USD", "EUR"],
    "impacts": ["high"],
    "includeDetails": true
}
```

**Example: every US CPI and Non-Farm release from 2020 to 2025**

```json
{
    "period": "custom",
    "dateFrom": "2020-01-01",
    "dateTo": "2025-12-31",
    "currencies": ["USD"],
    "eventSearch": ["CPI", "Non-Farm Employment Change"],
    "onlyWithData": true
}
```

**Example: release alerts for oil traders, every 15 minutes**

```json
{
    "calendars": ["energy"],
    "period": "today",
    "impacts": ["high", "medium"],
    "monitorMode": true
}
```

### 📊 Output

One record per event. This one is a real record from a run on 2026-11-07, with details on (the history list is cut to 2 releases here):

```json
{
    "calendar": "ForexFactory",
    "market": "Forex",
    "eventId": 149101,
    "seriesId": 888,
    "title": "AU CPI y/y",
    "countryCode": "AU",
    "countryName": "Australia",
    "currency": "AUD",
    "impact": "high",
    "dateTime": "2026-10-28T00:30:00.000Z",
    "date": "2026-10-28",
    "time": "00:30",
    "timezone": "UTC",
    "status": "released",
    "actual": "4.3%",
    "forecast": "4.2%",
    "previous": "4.0%",
    "unit": "%",
    "actualValue": 4.3,
    "forecastValue": 4.2,
    "previousValue": 4,
    "surprise": 0.1,
    "surprisePercent": 2.4,
    "actualVsForecast": "above",
    "currencySignal": "bullish",
    "url": "https://www.forexfactory.com/calendar?day=oct28.2026#detail=149101",
    "seriesUrl": "https://www.forexfactory.com/calendar/888-au-cpi-yy",
    "details": {
        "source": "Australian Bureau of Statistics",
        "sourceUrl": "https://www.abs.gov.au/",
        "latestReleaseUrl": "https://www.abs.gov.au/statistics/economy/price-indexes-and-inflation/consumer-price-index-australia/latest-release",
        "measures": "Change in the price of goods and services purchased by consumers",
        "usualEffect": "'Actual' greater than 'Forecast' is good for currency",
        "frequency": "Released monthly, about 25 days after the month ends",
        "nextRelease": "2026-11-25",
        "whyTradersCare": "Consumer prices account for a majority of overall inflation. Inflation is important to currency valuation because rising prices lead the central bank to raise interest rates out of respect for their inflation containment mandate"
    },
    "history": {
        "releasesAnalyzed": 48,
        "beatRatePercent": 39.6,
        "missRatePercent": 50,
        "averageSurprise": -0.038,
        "averageAbsoluteSurprise": 0.225,
        "surpriseStdDev": 0.286,
        "surpriseZScore": 0.35,
        "lastReleases": [
            { "dateTime": "2026-09-30T01:30:00.000Z", "period": "Sep 2026", "actual": "4.0%", "forecast": "4.1%", "surprise": -0.1 },
            { "dateTime": "2026-08-26T01:30:00.000Z", "period": "Aug 2026", "actual": "3.5%", "forecast": "3.3%", "surprise": 0.2 }
        ]
    }
}
```

In the same run, the **New Zealand rate cut** to 2.75% against a 3.00% forecast came out with `surprise: -0.25`, `currencySignal: "bearish"` and `surpriseZScore: -3.16`: a surprise more than three times the usual size for that release.

| Field | Meaning |
|---|---|
| `status` | `released` (has actual), `upcoming`, `awaiting data` (time passed, actual not out yet) or `passed` (speech, holiday or meeting). |
| `time` / `timeLabel` | Local time, or ForexFactory's note when there is no fixed time: `All Day`, `Tentative`, `Day 1`, `18th-24th`. |
| `minutesUntilRelease` | Minutes until an upcoming release. |
| `surprise` | Actual minus forecast, in the units shown (points for %, thousands for K). |
| `currencySignal` | `bullish`, `bearish` or `neutral` for the currency, from ForexFactory's green or red actual. |
| `revisedPrevious` / `revisionSignal` | The previous value as revised in this release, and whether the revision is good for the currency. |
| `history.surpriseZScore` | This surprise divided by the standard deviation of past surprises. Beyond ±2 is a rare surprise. |
| `change` | Monitor mode only: `new`, `released`, `actual corrected`, `previous revised`, `forecast changed` or `rescheduled`. |

### ✨ Why this one

| | This Actor | Typical calendar scrapers |
|---|---|---|
| Surprise and currency signal | ✅ computed | ❌ raw strings |
| Numbers parsed with units | ✅ | ❌ |
| History stats and z-score | ✅ up to 100 releases | ❌ |
| Source agency, usual effect, next release | ✅ | ❌ |
| Crypto, metals and energy calendars | ✅ | ❌ forex only |
| Monitor mode with change type | ✅ | ❌ |
| Any timezone | ✅ | ⚠️ some |

### 🚀 How to use

1. Pick the calendars and the period.
2. Add filters: currencies, impact, event names.
3. Turn on details for history stats, or monitor mode for alerts.
4. Run it, or schedule it every few minutes on release days.

### 💼 Use cases

- 📰 **News trading.** Filter high impact events and get the surprise and signal as soon as the actual is out.
- 🧪 **Backtests.** Years of releases with forecasts and surprises, to measure how prices react to each indicator.
- 🔔 **Alerts.** Monitor mode plus a webhook sends only new releases to Slack, Telegram or your bot.
- 🗞️ **Daily briefing.** Tomorrow's high impact events with what they measure and why traders care.
- 🤖 **AI agents.** Clean, labeled events for macro questions and summaries.

### ❓ FAQ

**How is the surprise computed?** Actual minus forecast, in the units ForexFactory shows: for `0.4%` against `0.3%` it is `0.1` points; for `86K` against `67K` it is `19` (thousand). `surprisePercent` divides it by the forecast.

**What is the z-score?** The surprise divided by the standard deviation of the surprises of up to 100 past releases of the same indicator. It tells if a surprise is normal for that release or rare. Only releases before the event count.

**Why is the impact different between calendars?** Each sister site rates impact for its own market. Crude oil inventories barely move currencies, so ForexFactory rates them low, while EnergyExch rates them high.

**How does monitor mode work?** The first run returns every event and remembers them. The next runs with the same settings return only events that changed: new ones, new actuals, corrected actuals, revised previous values, forecast changes and new times. Give it a `monitorName` to keep its memory when you change filters.

**Which timezone are the times in?** The one you set in `timezone`, which also decides what "today" and "this week" mean. `dateTime` is always UTC.

**Do I need a ForexFactory account?** No.

### 🔌 Integrations

Works with the Apify API, schedules, webhooks, Google Sheets, Make, Zapier, n8n, Slack and any tool that reads JSON.

### 🕳️ More from DataMole

| Actor | What it does |
|---|---|
| [TradingView Stock Screener & Market Scanner](https://apify.com/datamole/tradingview-stock-screener) | Stock screens and signals across 68 markets |
| [Truth Social Posts Scraper & Trump Monitor](https://apify.com/datamole/truth-social-scraper) | Truth Social posts with market topics and cashtags |
| [Google News Scraper](https://apify.com/datamole/google-news-scraper) | News by keyword, topic or location in 50+ country editions |

**Need a field, filter or source we don't cover yet?** Open an issue on this Actor. We read everything.

### ⚖️ Disclaimer

This Actor collects publicly available data from ForexFactory, CryptoCraft, MetalsMine and EnergyExch. It is not affiliated with or endorsed by Fair Economy or any of these sites. The data is for information only and is not investment advice. Use it responsibly and in line with applicable laws and the source's terms.

# Actor input Schema

## `calendars` (type: `array`):

ForexFactory is the forex calendar. Its sister sites list the events that move each market and rate the impact for it: crude oil inventories are low impact on ForexFactory and high impact on EnergyExch.

## `period` (type: `string`):

Which days to get. Weeks run Sunday to Saturday, like on ForexFactory.

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

First day of a custom range. History goes back to 2007-01-01.

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

Last day of a custom range. Leave empty for a single day.

## `timezone` (type: `string`):

Timezone for the date and time fields and for what "today" or "this week" means, for example UTC, America/New_York, Europe/London, Asia/Tokyo. The dateTime field is always in UTC.

## `currencies` (type: `array`):

Only events for these currencies. Empty means all.

## `impacts` (type: `array`):

Only events with this expected impact. Empty means all.

## `countries` (type: `array`):

Only events from these countries. Useful for the euro, where Germany, France, Italy and Spain publish their own data.

## `eventSearch` (type: `array`):

Keep events whose name contains any of these words, for example CPI, Non-Farm, Rate, PMI, Crude.

## `status` (type: `string`):

All events, only the ones with an actual value, or only the ones still to come.

## `onlyWithData` (type: `boolean`):

Skip speeches, holidays and meetings without numbers.

## `sortBy` (type: `string`):

Time order, or high impact first.

## `includeDetails` (type: `boolean`):

For each indicator, the source agency and its release link, what it measures, the usual effect on the currency, frequency, next release, notes and why traders care. Data releases also get their past releases, how often they beat the forecast, the typical surprise and the z-score of this surprise. Charged as an extra event.

## `historyLimit` (type: `integer`):

Past releases listed per event, newest first. The stats use up to 100 past releases either way.

## `monitorMode` (type: `boolean`):

Schedule the run and get only what changed since the last one: new events, new releases (actual published), corrected actuals, revised previous values, forecast changes and rescheduled events. Each record says what changed.

## `monitorName` (type: `string`):

Give the monitor a name to keep its memory when you change the filters. By default the memory depends on the filters.

## `maxItems` (type: `integer`):

Maximum number of events to save. Empty means no limit.

## `proxyConfiguration` (type: `object`):

Apify datacenter proxy by default.

## Actor input object example

```json
{
  "calendars": [
    "forex"
  ],
  "period": "this-week",
  "timezone": "UTC",
  "status": "all",
  "onlyWithData": false,
  "sortBy": "time",
  "includeDetails": false,
  "historyLimit": 12,
  "monitorMode": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `events` (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 = {
    "calendars": [
        "forex"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("datamole/forexfactory-economic-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 = {
    "calendars": ["forex"],
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("datamole/forexfactory-economic-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 '{
  "calendars": [
    "forex"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call datamole/forexfactory-economic-calendar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,datamole/forexfactory-economic-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/dhs7Ni96BedaxaMDo/builds/yMB3UUAMOyXVKOadY/openapi.json
