Finance
Forex Factory logo

Forex Factory API

forexfactory.com

Forex Factory - economic calendar, market news, and live FX quotes.

Actions
11
Category
Finance
Login
Not required
Output
JSON

Call the Forex Factory API

Submit a task, then poll the job until it settles. This example runs act_forexfactory_calendar_event_detail_ssr.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_forexfactory_calendar_event_detail_ssr",
    "params": {
      "ebase_slug": "570-us-nfib-small-business-index"
    }
  }'

11 actions on forexfactory.com

Read

  • Calendar Event Details

    act_forexfactory_calendar_event_detail_ssrread1 credit / call

    Returns calendar event detail with actual, forecast, and previous values plus release history.

    ebase_slug
    string · required
  • Calendar Event History

    act_forexfactory_calendar_event_history_graphread2 credits / call

    Returns historical actual, forecast, and revision time series for a calendar indicator.

    release_graph_id
    string · required
    limit
    integer
    site_id
    integer
  • Calendar Event Specs

    act_forexfactory_calendar_event_detail_specsread2 credits / call

    Returns event specifications: source, measures, frequency, and next release for a calendar event.

    event_instance_id
    string · required
  • Instrument Catalog

    act_forexfactory_instrument_catalogread1 credit / call

    Returns the full tradable instrument catalog with symbol, class, decimals, and keywords.

  • Instrument Keyword Groups

    act_forexfactory_instrument_keyword_groupsread1 credit / call

    Returns keyword groups mapping currency and commodity names to searchable instrument terms.

  • Instrument OHLC Bars

    act_forexfactory_instrument_ohlc_barsread2 credits / call

    Returns OHLC price bars for an instrument over a given interval and bar count.

    instrument
    string · required
    bar_count
    integer · required
    interval
    string · required
  • Instrument Quotes

    act_forexfactory_instrument_quotes_snapshotread2 credits / call

    Returns live quotes with price, bid, ask, spread, and high and low for requested pairs.

    instruments
    string · required
  • Market Dashboard

    act_forexfactory_homepage_market_dashboard_ssrread1 credit / call

    Returns the live market scanner instrument list grouped by major and minor pairs.

  • News Article Details

    act_forexfactory_news_article_detail_ssrread1 credit / call

    Returns a full news article with headline, body, author, and publication date.

    article_slug
    string · required
  • News Listing

    act_forexfactory_news_listing_ssrread1 credit / call

    Returns the forex news feed with headlines, links, summaries, and timestamps.

Write

Write actions change state on forexfactory.com and run as the account you connect.

  • Filtered Calendar Events

    act_forexfactory_calendar_events_filteredwrite2 credits / call

    Returns weekly economic calendar events filtered by currency, impact, and event type.

    begin_date
    string · required
    end_date
    string · required
    currencies
    array · required
    default_view
    string
    impacts
    array
    event_types
    array

Forex Factory API questions

Is there an API for Forex Factory?
Forex Factory does not offer a public data API for this, but Anakin Wire provides 11 maintained endpoints for forexfactory.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Forex Factory data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when forexfactory.com changes its markup, Anakin updates the action.
Do I need a Forex Factory account?
No. Every Forex Factory action listed here runs anonymously — no account and no credentials required.
What does the Forex Factory API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Finance APIs

All Finance sites