Skip to main content

✨ fastFOREX API MCP is now Generally Available - let your agents manage your fastFOREX API ✨

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
wss://fastforex.wsdx.io · subscribed
> {"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 from

Separate 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?
Yes — the Premium + WebSockets plan: $83/mo, or $69/mo billed annually ($826/yr). Buy it or upgrade from any plan instantly in the Console; streaming is enabled the moment you do.
What can I stream?
A live currency rates API over one connection: bid/ask quote data across 2,300+ FX pairs, with the highest update rates on the most liquid pairs. Subscribe to the fx stream for full rate, or fx1s for at most one message per second per pair.
What are the connection limits?
Standard plans allow 2 concurrent WebSocket connections with up to 5 pairs per connection. Contact us for higher limits. Note: connections may be closed if your app can't consume at the publish rate — use fx1s if in doubt.
Can I try it without writing code?
Yes — point WebSocket King (websocketking.com) at wss://fastforex.wsdx.io with the auth and subscribe payloads from our docs, or try the in-browser JSFiddle example linked in the WebSockets documentation.
Do streamed updates count as API calls?
No — streaming is metered separately from your REST call allowance.

Still have questions?

Our support team answers 365 days a year.

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.