This is a beta version of our API. The structure and endpoints may change during development. Use at your own risk - breaking changes may occur without notice. For production applications, consider using our stable v1.0 API until v2.0 reaches general availability.
Getting Started
Welcome to API v2.0! Experience real-time spread data with enhanced performance and faster response times from many MT5 brokers including Exness, FxPro, Pepperstone, and more.
Our Broker Radar API v2.0 provides enhanced performance and faster response times for real-time spread data from many MT5 brokers including Exness, FxPro, Pepperstone, and more. The API is completely free, requires no authentication, and supports CORS for browser requests.
Base URL: https://api.broker-radar.com
/public/spreads/v2
- Get all spreads (real-time)/public/spreads/v2/[broker]
- Get broker spreads/public/spreads/v2/[symbol]
- Get symbol spreads/public/spreads/v2/broker/[broker]/[account_type]
- Get broker + account type spreads/public/spreads/v2/symbol/[symbol]/[account_type]
- Get symbol + account type spreadsLet's test the V2.0 API using curl
. Paste the following directly into your terminal:
curl -X GET "https://api.broker-radar.com/public/spreads/v2"
Use our interactive API tester below to make live requests and see the real-time responses:
Here are code examples in different programming languages to help you integrate the API:
// Get all spreads from last 24 hours (V2 with real-time updates)
fetch('https://api.broker-radar.com/public/spreads/v2')
.then(response => response.json())
.then(data => {
console.log('Total records:', data.total_records);
console.log('Brokers:', data.brokers_count);
console.log('Symbols:', data.symbols_count);
data.data.forEach(spread => {
console.log(`${spread.broker_name} - ${spread.symbol}: ${spread.avg_spread} pips (${spread.account_type})`);
});
});
// Get specific broker with account type (V2)
fetch('https://api.broker-radar.com/public/spreads/v2/broker/roboforex_ecn/ECN')
.then(response => response.json())
.then(data => {
console.log(`${data.broker_name} ECN account symbols: ${data.total_symbols}`);
data.symbols.forEach(symbol => {
console.log(`${symbol.symbol}: ${symbol.avg_spread} pips`);
});
});
// Get specific symbol with account type (V2)
fetch('https://api.broker-radar.com/public/spreads/v2/symbol/EURUSD/ECN')
.then(response => response.json())
.then(data => {
console.log('EURUSD ECN accounts from ' + data.total_brokers + ' brokers');
console.log('Best spread: ' + data.best_spread + ' pips');
});
All API v2.0 responses follow a consistent JSON structure with enhanced fields and real-time data:
{
"success": true,
"data": [
{
"broker_name": "roboforex_ecn",
"platform": "MT5",
"account_type": "ECN",
"source": "broker-radar.com",
"symbol": "EURUSD",
"avg_spread": 1.2,
"min_spread": 0.8,
"max_spread": 2.1,
"date_time": "2025-08-25T12:00:00.000Z",
"last_updated": "2025-08-25T12:00:00.000Z",
"provided_by": "broker-radar.com"
}
],
"total_records": 1250,
"brokers_count": 37,
"symbols_count": 45,
"timestamp": "2025-08-25T12:00:00.000Z",
"api_version": "2.0"
}
Need help? Check out our API homepage or contact our support team.