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
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-time | Protocol | Order Book | Coverage | Access Barrier | Price |
|---|---|---|---|---|---|---|
| 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/CFDs | Requires OANDA trading account | Trading 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/indicators | Sign up and use immediately | Free 25/day; from $49.99/mo |
| TickDB Unified multi-market API | โ Tick-by-tick real-time | โ Standard WebSocket | โ (paid) | 1,200+ forex instruments + stocks/crypto | Sign up and use immediately, no trading account needed | Free 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)
Free
- Selected symbols*
- 5 concurrent subscriptions
- Real-time quotes
- Real-time K-line
- 1 WebSocket connection
- 30 req/min API calls
- Email support
Starter
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
Professional
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
Enterprise
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
FAQ
How many currency pairs does TickDB cover?
What is the latency for forex data?
Is data available on weekends and holidays?
How does TickDB compare to OANDA?
Does the free plan include forex data?
Explore Other Markets
Start Streaming Real-time Market Data
Sign up for a free API Key. WebSocket real-time streaming. Get started in minutes.