News API Documentation
Last Updated: 02/07/2026 20:52 EST
Get sentiment scores, event predictions, and historical data in seconds. Integrate advanced forex intelligence into your trading platform today.
Quick Start
Welcome to our Forex News API — your complete solution for comprehensive historical data, calendar information, and advanced AI-driven insights. Harness the power of OpenAI and machine learning to access detailed analyses of forex news events and related speeches, optimized for MQL5, MQL4, Swift, and Python.
Authentication
Include your API key in the header of every request. Generate your key in your profile.
headers = {
"Content-Type": "application/json",
"Authorization": "Api-Key YOUR_API_KEY"
}
var request = URLRequest(url: URL(string: "https://www.jblanked.com/news/api/YOUR-ENDPOINT")!)
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";
Why Trading Teams Choose Us
Stop wasting time on manual research and unreliable data. Get the insights you need to make better trading decisions, faster.
| Feature | Our Value | Competitor Value |
|---|---|---|
| Start Trading on News Instantly | ✓ Real-time alerts with AI sentiment scores | Hours of manual monitoring |
| Test Your Strategies with Real Data | ✓ Years of backtesting data + ML predictions | Limited or incomplete historical records |
| Experience-Based Impact Analysis | ✓ 5+ years of market data with Outcome, Strength, Quality metrics | Generic "high/medium/low" ratings |
| Automate Everything | ✓ Ready-to-use libraries for Python, MQL4/5, Swift | Build integrations from scratch |
| Scale Without Limits | ✓ Unlimited requests on paid plans | Restrictive rate limits |
| Get Smarter Predictions | ✓ OpenAI-powered analysis with accuracy scores | Basic data, no intelligent insights |
| Get Help When You Need It | ✓ Active community + direct support | Slow email support or none |
Experience-Based Impact Analysis
Our Impact field isn't guesswork — it's built on over 5 years of real market movement data. We track actual price reactions and use that historical performance to classify impact with precision.
Outcome
What it measures: The result of an event's data compared to forecast and previous values, influencing market sentiment.
Actual = Forecast = Previous
Strength
What it measures: Weak Data or Strong Data. Weak = old/repeated/low-impact news. Strong = high-impact events with significant deviation.
Quality
What it measures: Good Data or Bad Data. Bad = news hurting the currency/economy. Good = news supporting the currency/economy.
This three-dimensional approach gives you the complete picture: not just "was there impact?" but "what kind, how much, and how reliable?"
Authentication
All API requests require authentication via an API key passed in the Authorization header.
import requests
url = "https://www.jblanked.com/news/api/mql5/calendar/today/"
headers = {
"Content-Type": "application/json",
"Authorization": "Api-Key YOUR_API_KEY"
}
response = requests.get(url, headers=headers)
print(response.json())
import Foundation
let url = URL(string: "https://www.jblanked.com/news/api/mql5/calendar/today/")!
var request = URLRequest(url: url)
request.addValue("Api-Key YOUR_API_KEY", forHTTPHeaderField: "Authorization")
request.addValue("application/json", forHTTPHeaderField: "Content-Type")
let (data, _) = try await URLSession.shared.data(for: request)
print(String(data: data, encoding: .utf8)!)
#include <jb-news\news.mqh>
CRequests request;
request.url = "https://www.jblanked.com/news/api/mql5/calendar/today/";
request.key = "YOUR_API_KEY";
if(request.GET()) {
Print(request.result);
}
API Endpoints
| API | Description | Documentation |
|---|---|---|
| Backtesting | Machine Learning, Auto Smart analysis, and historical event data | View Docs → |
| Calendar | Real-time list of forex events ordered by time | View Docs → |
| GPT | AI-powered sentiment analysis on news events and statements | View Docs → |
Library Access
Official client libraries for easy integration.
| Platform | Package | Install |
|---|---|---|
| Python | jb-news on PyPI | pip install jb-news |
| MQL4/5 | MQL Library on GitHub | Copy to MQL5/Include/ |
| Swift | JBNews.swift on GitHub | Add to Xcode project |
| GitHub | Full Repository | git clone |
Watch the Overview
Trusted by 500+ Developers and Trading Firms Worldwide
"This API transformed our trading bot. The AI sentiment analysis is incredibly accurate, and the backtesting data saved us months of manual research."
"Finally, a forex API without ridiculous rate limits. We process thousands of requests daily for our mobile app, and the unlimited plan is a game-changer."
"The MQL5 library integration was seamless. Within a day, we had live news alerts running. The ML predictions have significantly improved our entry timing."