Real-time forex API
Forex WebSocket API: hundreds of updates per second, zero polling
A live forex data API with streaming forex rates: bid/ask quotes for 2,300+ FX pairs and 40+ metals instruments over WebSockets. Subscribe once and prices are pushed to you — no rate limits to babysit, no wasted polling calls.
- Full-feature access for 7 days
- No credit card
- Email-only signup
> {"op":"auth", "key":"YOUR-API-KEY"}
> {"op":"subscribe", "stream":"fx",
> "pairs":["EURUSD","GBPUSD"]}
{"op":"auth", "status":200, "msg":"Authenticated OK"}
{"op":"subscribe", "status":200,
"msg":"Subscribed to 2 streams"}
{"op":"price", "sym":"EURUSD",
"bid":"1.14218", "ask":"1.14218"}
{"op":"price", "sym":"GBPUSD",
"bid":"1.27113", "ask":"1.27125"}
Push beats poll — measured, not marketed.
2.81M
Messages streamed in a single day — one pair alone
300k
USDJPY ticks in a single hour
0
API calls burned on polling
Streaming exchange rates: live bid/ask
A real-time forex data API — two-way prices pushed the instant they change. 'Hundreds per second' isn't a slogan — a single liquid pair like USDJPY has topped 300,000 ticks in an hour and 2.81 million messages in a day on our feed.
Connect, auth, subscribe
Three JSON messages and you're streaming. Server responses use familiar HTTP status codes (200, 401) with millisecond timestamps — predictable and easy to debug.
Metals, streamed too
The same socket streams live bid/ask for 40+ metals instruments — gold, silver, platinum, palladium and base metals alongside your FX pairs.
The whole API, over one socket
Beyond streaming, the regular REST endpoints can also be called over your WebSocket connection — one connection for everything. Documentation for this is still catching up; ask support and we'll show you how.
fx1s: stream at your pace
Can't drink from the firehose? Subscribe to the fx1s stream instead and receive at most one message per second per pair — same data, calmer rate.
Honest limits
Standard plans include 2 concurrent connections with up to 5 pairs each. Need more? Contact us and we'll set you up.
Build with confidence:
OpenAPI spec (opens in a new tab)Endpoint reference (opens in a new tab)Where the data comes fromSeparate live, dev & test API keys — create, label & manage multiple API keys in the Console
The Premium + WebSockets plan — $83/mo, or $69/mo billed annually.
WebSockets is a plan, not an add-on: choose Premium + WebSockets and streaming is enabled the moment you subscribe. Buy or upgrade instantly in the Console — no sales call required.
WebSocket Streaming — FAQ.
The details developers ask about before integrating.
Do I need a special plan?
What can I stream?
What are the connection limits?
Can I try it without writing code?
Do streamed updates count as API calls?
More from fastFOREX API.
Currency API
Live midpoint rates for 170+ world currencies, answered in 21 milliseconds on average.
FX Market Data
The FX market data API for developers: a live FX rates API with bid/ask quotes on 2,300+ FX trading pairs and OHLC candles down to the minute.
Crypto API
A crypto currency exchange API: real-time prices for 500+ crypto making up 750+ pairs, aggregated from the world's biggest exchanges.
Metals API
A gold price API and precious metals API: real-time spot prices for gold, silver, platinum, palladium and five base metals — priced in any of our 170+ currencies, twelve units of weight and any purity, sourced exclusively from Tier-1 liquidity and delivered over REST and WebSockets.
Start building in under ten minutes.
Get your free API key — full plan access for 7 days, no credit card required.