Skip to main content

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

Real-time forex API · From $83/month

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 43 metals instruments over WebSockets. Subscribe once and prices are pushed to you, with no rate limits to babysit and no wasted polling calls.

  • Full-feature access for 7 days
  • No credit card
  • Email-only signup
Not connected

Checking for humanity…

Press Go to call the API.
Opening a live stream of EUR/USD and XAU/USD prices…

Push beats poll: measured, not marketed.

2.81M

Messages streamed in a single day, from 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, with 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, making it predictable and easy to debug.

  • Metals, streamed too

    The same socket streams live bid/ask for 43 metals instruments, including 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, giving you 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 10 instruments 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, on 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 happens when markets close?
FX and metals streams send nothing while their market is closed (FX from 5pm New York on Friday until it reopens on Monday; metals also pause briefly each night). Stay subscribed and updates flow again as soon as trading resumes. In the meantime the JSON API keeps serving the last rates.
What are the connection limits?
Standard plans allow 2 concurrent WebSocket connections with up to 10 instruments per connection. Contact us for higher limits. Note: connections may be closed if your app can't consume at the publish rate, so 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, with a 4ms average server response.

  • 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 with full plan access for 7 days, no credit card required.