News Backtesting API Documentation

Last Updated: 01/20/2026 21:58 EST

Note: Due to a huge increase in traffic, free API usage has decreased to 1 request per day.

Our API leverages OpenAI and advanced machine learning techniques to deliver comprehensive forex news event data and analysis. This service is designed to support developers working with a variety of programming languages, including MQL5, MQL4, Swift, and Python. It provides a robust suite of features tailored for accessing detailed event information and predictive analytics, enhancing decision-making in forex trading.

Library Access

You can also access the API using GET requests. To authenticate your GET requests, include your API key in the header of your request. You can generate an API key in your profile.

Example Header:

{
      "Content-Type": "application/json",
      "Authorization": "Api-Key YOUR_API_KEY"
}
var request = URLRequest(url: URL(string: "https://www.jblanked.com/news/api/YOUR-END-POINT"))
    request.addValue("Api-Key YOUR_API_KEY", forHTTPHeaderField: "Authorization")
    request.addValue("application/json", forHTTPHeaderField: "Content-Type")
string headers = "Content-Type: application/json" + "\r\n" + "Authorization: Api-Key YOUR_API_KEY";


Rate Limit

Our API enforces a rate limit of one request per second to ensure service stability and fair usage.

Pricing and Credits

1 credit per premium use, otherwise free. Credits can be purchased via our billing page. You can monitor your API usage here.

Note: Charges will only occur if users have credits.

Endpoints

Endpoint Description
Event List List of News Events
Event Info Basic news event information
Event History Details including Strength, Quality, Projection, and Outcome
Machine Learning Predictions on event outcomes
Smart Analysis Analysis on event outcomes
Full Event List Comprehensive list of events with all details

To access the Event List endpoint, send a GET request to:


It returns a JSON list of dictionaries of all available News Events.

Example Response:
[
      {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]
[
       {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]
[
       {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]

To retrieve specific event information, send a GET request to the URLs below, replacing 'ID' with the Event Identification number:

It returns a JSON object with the Name, Currency, Event ID, Category, and Impact.

Example Response:
[
      {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]
[
       {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]
[
       {
        "Name": "Adjusted Current Account",
        "Currency": "JPY",
        "Event_ID": 39207008,
        "Category": "Currency Report",
        "Impact": "Low",
      },
    ]

To retrieve a specific event's history information, send a GET request to the URLs below, replacing 'ID' with the Event Identification number:

It returns a JSON object with the Name, Currency, Event ID, Category, and Event History.

Example Response:
{
      "Name": "Average Hourly Earnings m/m",
      "Currency": "USD",
      "Event_ID": 840030018,
      "Category": "Job Inflation Report",
      "Impact": "High",
      "History": [
        {
          "Date": "2023.12.08 15:30:00",
          "Actual": 0.4,
          "Forecast": 0.4,
          "Previous": 0.2,
          "Outcome": "Actual = Forecast > Previous",
          "Projection": 0.5,
          "Strength": "Strong Data",
          "Quality": "Bad Data",
        },
      ],
    }
{
      "Name": "Average Hourly Earnings m/m",
      "Currency": "USD",
      "Event_ID": 840030018,
      "Category": "Job Inflation Report",
      "Impact": "High",
      "History": [
        {
          "Date": "2023.12.08 15:30:00",
          "Actual": 0.4,
          "Forecast": 0.4,
          "Previous": 0.2,
          "Outcome": "Actual = Forecast > Previous",
          "Strength": "Strong Data",
          "Quality": "Bad Data",
        },
      ],
    }
{
      "Name": "Average Hourly Earnings m/m",
      "Currency": "USD",
      "Event_ID": 840030018,
      "Category": "Job Inflation Report",
      "Impact": "High",
      "History": [
        {
          "Date": "2023.12.08 15:30:00",
          "Actual": 0.4,
          "Forecast": 0.4,
          "Previous": 0.2,
          "Outcome": "Actual = Forecast > Previous",
          "Strength": "Strong Data",
          "Quality": "Bad Data",
        },
      ],
    }

To access the Machine Learning endpoint, send a GET request to: https://www.jblanked.com/news/api/mql5/ID/machine-learning/, where ID is the Event Identification number. This endpoint only has MQL5 data.

It returns a JSON object with the Name, Currency, Event ID, Category, and Machine Learning predictions.

Example Response:
{
      "Name": "Average Hourly Earnings m/m",
      "Currency": "USD",
      "Event_ID": 840030018,
      "Category": "Job Inflation Report",
      "Impact": "High",
      "MachineLearning": {
        "Outcomes": {
          "Actual < Forecast < Previous": {
            "1 Hour": {"Bearish": 36.77, "Bullish": 61.21},
            "1 Minute": {"Bearish": 33.23, "Bullish": 65.27},
            "30 Minute": {"Bearish": 33.80, "Bullish": 65.07},
          },
          // other outcomes...
        },
        "Accuracy": {
          "1 Hour": 0.57,
          "1 Minute": 0.71,
          "30 Minute": 0.43,
        }
      }
    }

To access the Smart Analysis endpoint, send a GET request to: https://www.jblanked.com/news/api/mql5/ID/smart-analysis/, where ID is the Event Identification number. This endpoint only has MQL5 data.

It returns a JSON object with the Name, Currency, Event ID, Category, and Smart Analysis.

Example Response:
{
      "Name": "Average Hourly Earnings m/m",
      "Currency": "USD",
      "Event_ID": 840030018,
      "Category": "Job Inflation Report",
      "Impact": "High",
      "SmartAnalysis": {
        "Actual < Forecast < Previous": "Bullish",
        "Actual < Forecast = Previous": "Bullish",
        "Actual = Forecast < Previous": "Bullish",
        "Actual = Forecast = Previous": "Neither_Bearish_or_Bullish",
        "Actual = Forecast > Previous": "Bearish",
        "Actual > Forecast > Previous": "Bearish",
        // other outcomes...
      }
    }

Event IDs

Currency Name Event ID Impact
USD ADP Nonfarm Employment Change 840190001 Medium
CAD ADP Nonfarm Employment Change 124070001 Medium
JPY Adjusted Current Account 392070008 Low
JPY Adjusted Trade Balance 392040001 Low
USD Average Hourly Earnings m/m 840030018 High
USD Average Hourly Earnings y/y 840030019 High
USD Baker Hughes US Oil Rig Count 840100001 Low
USD Baker Hughes US Total Rig Count 840100002 Low
CAD BoC Financial System Review Press Conference 0 High
CAD BoC Governor Macklem Speech 0 Medium
CAD BoC Interest Rate Decision 124040006 High
CAD BoC Monetary Policy Report Press Conference 0 High
GBP BoE Governor Bailey Speech 0 High
GBP BoE Interest Rate Decision 826020009 High
JPY BoJ Bank Lending y/y 392060013 Low
JPY BoJ Corporate Goods Price Index m/m 392060014 High
JPY BoJ Corporate Goods Price Index y/y 392060015 High
JPY BoJ Interest Rate Decision 392060022 High
JPY BoJ M2 Money Stock y/y 392060012 Low
JPY BoJ Monetary Base y/y 392060011 Medium
JPY BoJ Press Conference 0 High
JPY BoJ Tankan Large Manufacturing Index 392060008 Low
JPY BoJ Tankan Large Non-Manufacturing Index 392060010 Low
JPY BoJ Weighted Median Core CPI y/y 392060038 High
NZD Budget Release 0 Low
USD CB Consumer Confidence Index 840180002 Medium
USD CPI m/m 840030005 High
GBP CPI m/m 826010011 High
CAD CPI m/m 124010003 High
EUR CPI m/m 999030011 High
CHF CPI m/m 756020001 High
AUD CPI q/q 36010014 High
NZD CPI q/q 0 High
JPY CPI s.a. m/m 392030010 High
USD CPI y/y 840030007 High
GBP CPI y/y 826010012 High
AUD CPI y/y 36010015 High
NZD CPI y/y 554010006 High
CAD CPI y/y 124010004 High
JPY CPI y/y 392030001 High
EUR CPI y/y 999030013 High
CHF CPI y/y 756020002 High
GBP Claimant Count Change 826010004 Medium
USD Core CPI m/m 840030006 High
GBP Core CPI m/m 826010043 High
CAD Core CPI m/m 124010005 High
EUR Core CPI m/m 999030010 High
USD Core CPI y/y 840030008 High
GBP Core CPI y/y 826010013 High
CAD Core CPI y/y 124010006 High
JPY Core CPI y/y 392030003 High
EUR Core CPI y/y 999030012 High
USD Core Durable Goods Orders m/m 840020014 Low
JPY Core Machinery Orders m/m 392010009 Low
JPY Core Machinery Orders y/y 392010010 Low
USD Core PCE Price Index m/m 840010001 High
GBP Core PPI Output m/m 826010009 Medium
GBP Core PPI Output y/y 826010010 Medium
USD Core PPI m/m 840030002 High
USD Core PPI y/y 840030004 High
USD Core Retail Sales m/m 840020011 Low
GBP Core Retail Sales m/m 826010021 Low
CAD Core Retail Sales m/m 124010008 Low
EUR Current Account 0 Low
USD Current Account 0 Low
GBP Current Account 0 Low
AUD Current Account 0 Low
NZD Current Account 0 Low
CAD Current Account 0 Low
USD Durable Goods Orders m/m 840020013 Low
EUR ECB Deposit Facility Rate Decision 999010006 High
EUR ECB Interest Rate Decision 999010007 High
EUR ECB Marginal Lending Facility Rate Decision 999010015 High
EUR ECB President Lagarde Speech 0 High
USD EIA Crude Oil Stocks Change 840200001 Medium
USD EIA Natural Gas Storage Change 840200009 Medium
NZD Electronic Card Retail Sales m/m 554010001 Low
NZD Electronic Card Retail Sales y/y 554010002 Low
AUD Employment Change 36010003 Medium
CAD Employment Change 124010011 Medium
NZD Employment Change q/q 554010016 Medium
EUR Employment Change q/q 999030001 Medium
USD Existing Home Sales 840120001 Low
USD Export Price Index m/m 840030013 Low
EUR Export Price Index m/m 276010005 Low
USD Export Price Index y/y 840030014 Low
EUR Export Price Index y/y 276010006 Low
USD FOMC Member Williams Speech 0 Low
USD FOMC Minutes 0 High
USD FOMC Press Conference 0 High
USD Factory Orders m/m 840020003 Low
EUR Factory Orders m/m 276010018 Low
EUR Factory Orders y/y 276010019 Low
USD Fed Chair Powell Speech 0 High
USD Fed Governor Cook Speech 0 Low
USD Fed Governor Jefferson Speech 0 Low
USD Fed Governor Waller Speech 0 Low
USD Fed Interest Rate Decision 840050014 High
USD Federal Budget Balance 840150001 Low
CAD Foreign Securities Purchases 124010019 Low
GBP GDP 3m/3m 826010040 High
GBP GDP m/m 826010039 High
CAD GDP m/m 124010021 High
USD GDP q/q 840010007 High
GBP GDP q/q 826010037 High
AUD GDP q/q 36010019 High
NZD GDP q/q 554010024 High
CAD GDP q/q 124010022 High
JPY GDP q/q 392010001 High
EUR GDP q/q 999030016 High
CHF GDP q/q 756040001 High
GBP GDP y/y 826010038 High
AUD GDP y/y 36010020 High
NZD GDP y/y 554010025 High
CAD GDP y/y 124010035 High
JPY GDP y/y 392010003 High
EUR GDP y/y 999030017 High
CHF GDP y/y 756040002 High
EUR HICP m/m 380010003 Medium
JPY Household Spending y/y 392030008 Low
CAD IPPI m/m 124010024 Medium
USD ISM Manufacturing PMI 840040001 Medium
USD ISM Non-Manufacturing PMI 840040003 Medium
USD Import Price Index m/m 840030011 Low
EUR Import Price Index m/m 276010003 Low
USD Import Price Index y/y 840030012 Low
EUR Import Price Index y/y 276010004 Low
GBP Industrial Production m/m 826010025 Low
JPY Industrial Production m/m 392020006 Low
EUR Industrial Production m/m 999030007 Low
GBP Industrial Production y/y 826010026 Low
JPY Industrial Production y/y 392020007 Low
EUR Industrial Production y/y 999030008 Low
CHF Industrial Production y/y 756020006 Low
USD Initial Jobless Claims 840140001 Low
CAD Ivey PMI 124020001 Medium
USD JOLTS Job Openings 840030021 High
JPY Labor Cash Earnings y/y 392050001 High
NZD Labor Cost Index q/q 554010017 Medium
NZD Labor Cost Index y/y 554010018 Medium
GBP Manufacturing Production m/m 826010027 Low
GBP Manufacturing Production y/y 826010028 Low
CAD Manufacturing Sales m/m 124010029 Low
USD Michigan 5-Year Inflation Expectations 840210005 Medium
USD Michigan Consumer Expectations 840210002 Low
USD Michigan Consumer Sentiment 840210001 Medium
USD Michigan Inflation Expectations 840210004 Low
USD New Home Sales 840020008 Low
USD New Home Sales m/m 840020009 Low
USD Nonfarm Payrolls 840030016 High
GBP PPI Input m/m 826010005 Low
NZD PPI Input q/q 554010022 Medium
GBP PPI Input y/y 826010006 Low
GBP PPI Output m/m 826010007 Low
NZD PPI Output q/q 554010023 Medium
GBP PPI Output y/y 826010008 Low
USD PPI m/m 840030001 High
EUR PPI m/m 999030005 High
CHF PPI m/m 756020003 High
AUD PPI q/q 36010029 High
USD PPI y/y 840030003 High
AUD PPI y/y 36010030 High
EUR PPI y/y 999030006 High
CHF PPI y/y 756020004 High
USD Pending Home Sales m/m 840120003 Low
USD Pending Home Sales y/y 840120004 Low
AUD RBA Interest Rate Decision 36030008 High
AUD RBA Trimmed Mean CPI q/q 36030014 High
NZD RBNZ 2-Year Inflation Expectations 554020010 High
NZD RBNZ Interest Rate Decision 554020009 High
NZD RBNZ Press Conference 0 High
CAD RMPI m/m 124010026 Medium
JPY Real Wage y/y 392050004 Medium
USD Retail Control m/m 840020012 Low
USD Retail Sales m/m 840020010 Low
GBP Retail Sales m/m 826010019 Low
AUD Retail Sales m/m 36010012 Low
CAD Retail Sales m/m 124010007 Low
JPY Retail Sales m/m 392020002 Low
EUR Retail Sales m/m 999030003 Low
AUD Retail Sales q/q 36010038 Low
NZD Retail Sales q/q 554010019 Low
USD Retail Sales y/y 840020025 Low
GBP Retail Sales y/y 826010020 Low
NZD Retail Sales y/y 554010021 Low
JPY Retail Sales y/y 392020003 Low
EUR Retail Sales y/y 999030004 Low
CHF Retail Sales y/y 756020007 Low
USD S&P Global Composite PMI 840500003 Low
AUD S&P Global Composite PMI 36500003 Low
EUR S&P Global Composite PMI 999500003 Low
USD S&P Global Manufacturing PMI 840500001 Low
AUD S&P Global Manufacturing PMI 36500001 Low
CAD S&P Global Manufacturing PMI 124500001 Low
EUR S&P Global Manufacturing PMI 999500001 Low
USD S&P Global Services PMI 840500002 Low
AUD S&P Global Services PMI 36500002 Low
EUR S&P Global Services PMI 999500002 Low
CHF SNB Chairman Jordan Speech 0 High
CHF SNB Interest Rate Decision 756010001 High
CHF SNB News Conference 0 High
JPY Tokyo CPI s.a. m/m 392030011 High
JPY Tokyo Core CPI y/y 392030006 High
USD Trade Balance 840020001 Low
GBP Trade Balance 826010029 Low
AUD Trade Balance 36010011 Low
NZD Trade Balance 554010009 Low
CAD Trade Balance 124010018 Low
JPY Trade Balance 392040002 Low
EUR Trade Balance 999030018 Low
CHF Trade Balance 756030003 Low
USD Unemployment Rate 840030015 High
GBP Unemployment Rate 826010003 High
AUD Unemployment Rate 36010006 High
NZD Unemployment Rate 554010014 High
CAD Unemployment Rate 124010014 High
JPY Unemployment Rate 392030007 High
EUR Unemployment Rate 999030020 High
CHF Unemployment Rate 756040003 High
CAD Wholesale Trade m/m 124010031 Low
JPY au Jibun Bank Composite PMI 392500003 Low
JPY au Jibun Bank Manufacturing PMI 392500001 Low
JPY au Jibun Bank Services PMI 392500002 Low