DEV Community

vøiddo
vøiddo

Posted on Originally published at voidd0.github.io

ForexFactory Economic Calendar Scraper: how to get the data as JSON or CSV (Python, API, no code)

Scrape the ForexFactory economic calendar into rows with date, time (ET), currency, impact level, event name, actual, forecast, and previous values.

This tutorial shows what the Actor v0iddo/forexfactory-economic-calendar returns, how to run it on the Apify Store without code, and how to call it from Python and cURL.

What data you get

One row per result. Every row can be downloaded as JSON, CSV, Excel or HTML, or read through the API.

Field Label Type Example
eventDate Date text Nov 10, 2026
time Time (ET) text 12:00am
currency Currency text JPY
impact Impact text Low
event Event text Economy Watchers Sentiment
actual Actual text 46.1
forecast Forecast text 47.1
previous Previous text 47.0
url Calendar URL URL https://www.forexfactory.com/calendar?week=nov8.2026

Real rows from a run of the Actor (fields that name people are left out):

[
  {
    "eventDate": "Nov 10, 2026",
    "time": "12:00am",
    "currency": "JPY",
    "impact": "Low",
    "event": "Economy Watchers Sentiment",
    "actual": "46.1",
    "forecast": "47.1",
    "previous": "47.0",
    "url": "https://www.forexfactory.com/calendar?week=nov8.2026"
  },
  {
    "eventDate": "Nov 10, 2026",
    "time": "3:30am",
    "currency": "GBP",
    "impact": "Low",
    "event": "MPC Member Breeden Speaks",
    "url": "https://www.forexfactory.com/calendar?week=nov8.2026"
  }
]
Enter fullscreen mode Exit fullscreen mode

No code: run it on the Apify Store

  1. Open the ForexFactory Economic Calendar Scraper page on Apify.
  2. Fill in the input form. An example input is already filled in.
  3. Press Start, wait for the run to finish, and download the results as JSON, CSV or Excel from the Output tab.

The input that is pre-filled on the Actor page:

{
  "dateFrom": "2026-11-10",
  "dateTo": "2026-11-16",
  "maxItems": 20
}
Enter fullscreen mode Exit fullscreen mode

Python (apify-client)

Get your API token in Apify Console under Settings, then Integrations. The Actor id is v0iddo/forexfactory-economic-calendar.

from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")

run_input = {'dateFrom': '2026-11-10', 'dateTo': '2026-11-16', 'maxItems': 20}

run = client.actor("v0iddo/forexfactory-economic-calendar").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
Enter fullscreen mode Exit fullscreen mode

cURL

curl -X POST "https://api.apify.com/v2/acts/v0iddo~forexfactory-economic-calendar/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"dateFrom": "2026-11-10", "dateTo": "2026-11-16", "maxItems": 20}'
Enter fullscreen mode Exit fullscreen mode

Good to know

  • All times are Eastern Time (ET) as displayed on forexfactory.com.
  • Actual values appear only after the event is released; forecast and previous may be absent for some event types.
  • Date ranges are rounded to full calendar weeks (Sunday to Saturday); a cap of 52 weeks per run applies.
  • Not affiliated with ForexFactory or the Fair Winds Trading Co.

Price

$1.41 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.99 per 1,000.

FAQ

What data does the ForexFactory Economic Calendar Scraper return?

Each result is one row in an Apify dataset. Fields include eventDate, time, currency, impact, event, actual, forecast, previous, and more. The table above shows every field with an example value.

Can I use it without writing code?

Yes. Open the Actor page on Apify, fill in the input form (an example is already filled in), press Start, and download the results as JSON, CSV, Excel or HTML. You can also schedule runs there.

How much does it cost?

$1.41 per 1,000 results. You pay per result row. There is no separate charge per run. Higher Apify plans pay less per result, down to $0.99 per 1,000. A new Apify account gets $5 of platform credit every month.

Links

Top comments (0)