Forex Real-time Market Data API

Covering 1,200+ forex instruments including major and cross currency pairs, metals & commodities. WebSocket tick-by-tick quotes for forex quant trading and risk management.

Market Coverage

Exchange / Category Symbols Data Types Frequency
Major Pairs (Majors) ~28 Tick / Bid-Ask Tick-by-tick
Cross Pairs (Crosses) ~80+ Tick / Bid-Ask Tick-by-tick
Emerging Market Pairs ~30+ Tick / Bid-Ask Tick-by-tick
Metals & Commodities ~300+ Tick / Bid-Ask Tick-by-tick
Other Instruments ~769+ Tick / Bid-Ask Tick-by-tick

Technical Specs

Avg Latency
< 50ms
Protocol
WebSocket / REST
Data Types
Tick (Bid/Ask/Mid)
Historical
Up to 10Y K-line
Push Freq
Tick-by-tick real-time
Uptime
99.9% SLA

Code Examples

Quick Start

# pip install websocket-client
import websocket
import json

api_key = 'your_api_key_here'
ws_url = f'wss://api.tickdb.ai/v1/realtime?api_key={api_key}'

def on_open(ws):
    ws.send(json.dumps({
        'cmd': 'subscribe',
        'data': {
            'channel': 'ticker',
            'symbols': ['XAUUSD', 'EURUSD', 'GBPUSD']
        }
    }))

def on_message(ws, message):
    data = json.loads(message)
    print('Received:', data)

ws = websocket.WebSocketApp(ws_url, on_open=on_open, on_message=on_message)
ws.run_forever()

Full documentation available at API Documentation

Comparison

Comparison based on publicly available documentation as of April 2026. Please refer to each provider for the latest information.

Provider Real-timeProtocolOrder BookCoverageAccess BarrierPrice
OANDA API Established forex market maker, authoritative data โœ… Real-time quotesโš ๏ธ HTTP streaming (not standard WebSocket)โœ… Proprietary order book (premium plans)90+ currency pairs/metals/CFDsRequires OANDA trading accountTrading API free; data-only API ~$404/mo+
Alpha Vantage General-purpose financial data API โš ๏ธ Real-time on paid plans; free has delayโŒ REST polling onlyโŒForex/stocks/crypto/indicatorsSign up and use immediatelyFree 25/day; from $49.99/mo
TickDB Unified multi-market API โœ… Tick-by-tick real-timeโœ… Standard WebSocketโœ… (paid)1,200+ forex instruments + stocks/cryptoSign up and use immediately, no trading account neededFree tier; paid unlocks all

Use Cases

Forex Quant Strategies

Tick-by-tick data powering high-frequency strategies with concurrent multi-pair subscriptions.

Corporate FX Risk Management

Real-time exchange rate monitoring for import/export businesses, triggering alerts or hedging when rates hit thresholds.

Triangular Arbitrage

Low-latency synchronized multi-pair quotes to identify triangular arbitrage windows (e.g. EUR/USD โ†’ USD/JPY โ†’ EUR/JPY).

Choose Your Plan

All paid plans support monthly / quarterly / semi-annual / annual billing. Prices below are annual (20% off)

๐Ÿ”ฅ Save 20% Annually

Free

Free 7-Day Trial

 

  • Selected symbols*
  • 5 concurrent subscriptions
  • Real-time quotes
  • Real-time K-line
  • 1 WebSocket connection
  • 30 req/min API calls
  • Email support
Start Free
-20%

Starter

$99/mo
$79 /mo

Billed annually $948

  • All symbols
  • 50 concurrent subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • Night session data
  • 1 year historical data
  • 1 WebSocket connection
  • 60 req/min API calls
  • Email support
Subscribe Now
-20%
Most Popular

Professional

$299/mo
$239 /mo

Billed annually $2868

  • All symbols
  • 300 concurrent subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • Night session data
  • 3 years historical data
  • 3 WebSocket connections
  • 600 req/min API calls
  • Telegram support
Subscribe Now
-20%

Enterprise

$899/mo
$719 /mo

Billed annually $8628

  • All symbols
  • 5000+ concurrent subscriptions
  • Real-time quotes
  • Real-time K-line
  • Real-time order book
  • Real-time trades
  • Night session data
  • 10 years historical data
  • 10 WebSocket connections
  • 1800+ req/min API calls
  • Telegram support
Subscribe Now

FAQ

How many currency pairs does TickDB cover?
Over 1,200 forex instruments, including all major pairs (EUR/USD, GBP/USD, etc.), cross pairs, emerging market pairs, precious metals, and commodities.
What is the latency for forex data?
Forex is TickDB's lowest-latency asset class. WebSocket push latency is typically within 30-50ms.
Is data available on weekends and holidays?
The forex market trades 24 hours Monday through Friday and is closed on weekends. TickDB streams real-time data continuously during trading hours.
How does TickDB compare to OANDA?
OANDA is a professional forex market maker with authoritative proprietary quotes and trading capabilities, but their data-only API starts at ~$404/mo and requires a trading account. TickDB is a pure data service โ€” no account needed โ€” and also covers stocks, crypto, and other markets. Ideal for developers who need market data without trading functionality.
Does the free plan include forex data?
Yes. The free plan includes real-time data for select major currency pairs with rate limits. Upgrade to unlock all pairs and higher push frequencies.

Start Streaming Real-time Market Data

Sign up for a free API Key. WebSocket real-time streaming. Get started in minutes.