Forex Factory


In the dynamic world of forex trading, staying informed about economic events is crucial. The Forex Factory Calendar API provides traders with real-time access to essential data, enabling informed decision-making. In this guide, we explore how to leverage this powerful tool effectively.

Understanding the Forex Factory Calendar API

The Forex Factory Calendar is a widely used platform that aggregates economic events, news releases, and market impact. The API extends this functionality, allowing developers to programmatically access event data.

Setting Up Your API Access

Before diving into the details, let’s set up your API access. Follow these steps:

  1. Create an Account: If you haven’t already, sign up on Forex Factory.
  2. Generate API Key: Visit the API section and generate your unique API key.

Available Endpoints

The Forex Factory Calendar API offers several endpoints:

  1. Event List: Retrieve a list of upcoming news events.
  2. Event Info: Get detailed information about a specific event (name, currency, category).
  3. Event History: Access historical data for events, including strength, quality, and price action.
  4. Machine Learning: Predictions (bullish/bearish) based on machine learning models.
  5. Smart Analysis: Additional analysis on event outcomes.
  6. Full Event List: Comprehensive data combining all relevant information.
  7. Calendar: Chronological list of events with actual, forecast, and previous values.

Use Cases and Benefits

Here’s how you can benefit from the Forex Factory Calendar API:

  1. Live Trade News Events: Stay updated on market-moving events in real time.
  2. Backtesting Strategies: Test news-based trading strategies using EAs and indicators.


The Forex Factory Calendar API empowers traders by providing timely, accurate data. Whether you’re a seasoned trader or a beginner, integrating this API into your trading toolkit can enhance your decision-making process.


Q: Is the Forex Factory Calendar API free to use? Yes, it’s completely free. Just ensure you comply with their terms of service.

Q: Can I access the API from different programming languages? A: Absolutely! The API supports MQL5, MQL4, Python, and more.