Skip to content

Repository files navigation

🚀 ForexFactory Scraper

ForexFactory Scraper is a free and open-source scraper that gets you unlimited detailed ForexFactory data for free.

✨ What Can I Get?

  • 📅 The full economic calendar since 2007 — 5,000+ releases in 2025 alone — actual vs forecast vs previous, revisions, impact, currency and exact time, plus each event's notes and release history
  • 📰 Breaking forex news with a 30,000-result search — headlines, full text, source links, impact, views and every comment
  • 💬 79K+ forum threads & 9.5M+ replies — every post with its author, quotes, attachments and likes, plus the hottest threads right now
  • 📈 Live trades, quotes & sentiment on 95 instruments — real traders' trades, long vs short positions, leaderboards, OHLC bars back to 2002 and broker profiles by country

📅 Example: The Full ForexFactory Economic Calendar

{
  "date_from": "2026-11-22",
  "date_to": "2026-11-28",
  "timezone": "UTC",
  "count": 77,
  "events": [
    {
      "id": 148292,
      "name": "Prelim GDP q/q",
      "full_name": "US Prelim GDP q/q",
      "link": "https://www.forexfactory.com/calendar?day=nov25.2026#detail=148292",
      "currency": "USD",
      "impact": "high",
      "datetime": "2026-11-25T13:30:00Z",
      "actual": "4.3%",
      "actual_value": 4.3,
      "forecast": "3.5%",
      "previous": "3.4%",
      "actual_vs_forecast": "better",
      "series": { "id": 27, "link": "https://www.forexfactory.com/calendar/27-us-prelim-gdp-qq" }
    },
    {
      "full_name": "US Unemployment Claims",
      "impact": "low",
      "actual": "189K",
      "actual_value": 189000,
      "forecast": "201K",
      "revised_previous": "202K",
      "actual_vs_forecast": "better"
    }
  ]
}

Trimmed for readability.

🚀 Unlimited Free ForexFactory Data — Get It in 60 Seconds

1️⃣ Clone and install:

git clone https://github.com/omkarcloud/forexfactory-scraper
cd forexfactory-scraper
python -m pip install -r requirements.txt

2️⃣ Start the API:

python run.py

ForexFactory sits behind Cloudflare, but this scraper talks to it like a real Chrome browser, so plain HTTP from your own connection is all it takes. No browser, no proxy.

Want your requests to leave from another IP anyway? Set FOREXFACTORY_PROXY=http://user:pass@host:port.

3️⃣ Get your first data:

curl "http://localhost:8000/events/list"
{
  "date_from": "2026-11-22",
  "date_to": "2026-11-28",
  "timezone": "UTC",
  "count": 77,
  "events": [
    {
      "id": 146888,
      "full_name": "US CB Consumer Confidence",
      "link": "https://www.forexfactory.com/calendar?day=nov24.2026#detail=146888",
      "currency": "USD",
      "impact": "medium",
      "datetime": "2026-11-24T15:00:00Z",
      "actual": "103.3",
      "forecast": "92.4",
      "previous": "91.7",
      "revised_previous": "91.9",
      "actual_vs_forecast": "better"
    }
  ]
}

All 22 endpoints are now live at http://localhost:8000.

📚 Endpoints

22 endpoints cover everything you need.

Endpoint Path Returns
Economic Calendar /events/list Every release with actual, forecast, previous, impact and time
Event Details / History /events/details, /events/history One release in full, and every past release of it
Search Events /events/search Event ids for CPI, payrolls, rate decisions and more
Latest News / Search News /news/list, /news/search Breaking stories by category or sort, and a 30,000-result search
News Story / Story Comments /news/details, /news/comments A story's text, source and stats, plus every comment
Trending Threads / Search Threads /threads/list, /threads/search The hottest threads now, and any thread or reply by keyword
Thread Posts /threads/posts Every post with author, quotes, attachments and likes
Forum Threads / Forums /forums/threads, /forums/list A forum's threads, and all 9 forums with their counts
Live Trades /trades/list Real traders' trades as they happen, with return and pips
Trader Sentiment / Leaderboard /trades/positions, /trades/leaderboard Long vs short on top pairs, and the top 99 accounts
Trader Profile /traders/details A trader's profile, accounts, returns and latest closed trades
Live Quotes / Price History /instruments/quote, /instruments/history Live bid and ask for up to 32 instruments a call, and OHLC bars
Instruments /instruments/list All 95 forex, crypto, equity, energy and metal instruments
Brokers by Country / Broker Details /brokers/list, /brokers/details Regulators, leverage, platforms, fees and contacts (website_contacts is hosted only)

🔍 Exploring Parameters

The same API is published on RapidAPI, and its playground is the easiest place to try parameters and see raw responses. Once a request looks right, run it locally for unlimited free data.

  1. Subscribe to the free plan — 1,000 calls/month, no credit card.
  2. Try the endpoints in the playground — every param is pre-filled, so you see real data in one click.
  3. Copy the generated code and replace https://best-forexfactory-scraper-free-1000-calls.p.rapidapi.com with http://localhost:8000. It will now run against your local API.
import requests

# generated by the playground, host swapped for the local API
response = requests.get(
    "http://localhost:8000/events/details",
    params={"event": "146914"},
)
print(response.json())

💬 Have Questions? We Have Answers.

You're a developer — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

Message Us on WhatsApp about ForexFactory Scraper

Ask Us by Email about ForexFactory Scraper

⚡ Popular Scrapers by Omkar Cloud

⭐ Love It? Star It ⭐!

Star the repo ⭐ and become my star hero!

It's just 1 click, but it means the world to me.

Star us on GitHub