1
Install WebSocket client
We recommend using websocat for testing WebSocket connections.
2
Connect
Connect to the WebSocket API using your API key. Replace Upon connecting, you will receive a status message indicating the current subscriptions (initially empty):
<YOUR_API_KEY> with your actual key. You can connect to any of the supported channels, such as currencies/quotes.3
Subscribe
Once connected, paste the following JSON message to subscribe to currency pairs:
4
Receive Data
You will receive a status message confirming your subscription, followed by live quote updates.
5
Unsubscribe
To stop receiving updates for specific symbols, send an unsubscribe message:You will receive a confirmation message with the list of remaining subscribed symbols:
What’s Next
Now that you’re connected, check out these resources to build your integration:API Reference
Explore the full WebSocket API reference documentation.
HTTP API Quickstart
Need on-demand data? Get started with the REST API.
Start streaming live market data →
Get your API key and connect to real-time Forex, Crypto, Stocks, and Indices feeds in minutes.
