Messages
{
"action": "ping"
}{
"action": "subscribe",
"symbols": [
"EURUSD",
"GBPUSD",
"USDJPY"
]
}{
"action": "unsubscribe",
"symbols": [
"EURUSD"
]
}{
"event": "pong",
"timestamp": "1767225601000"
}{
"action": "subscribe",
"symbols": [
"EURUSD",
"GBPUSD",
"USDJPY"
]
}{
"action": "unsubscribe",
"symbols": [
"EURUSD"
]
}{
"event": "status",
"symbols": [
"USDJPY",
"GBPUSD",
"EURUSD"
]
}{
"symbol": "USDJPY",
"timestamp": "1767389242690",
"ask": "156.879",
"bid": "156.864",
"mid": "156.8715"
}{
"event": "error",
"errorMessage": "You are already subscribed to EURUSD, GBPUSD"
}Crypto
Crypto Real-time Quotes
Connect to this channel to receive real-time quotes for cryptocurrencies. After connecting, send a Subscribe message with the symbols you want to track. See Available Crypto for a list of supported symbols. See the Websocket API Quickstart for example usage.
WSS
/
crypto
/
quotes
Messages
{
"action": "ping"
}{
"action": "subscribe",
"symbols": [
"EURUSD",
"GBPUSD",
"USDJPY"
]
}{
"action": "unsubscribe",
"symbols": [
"EURUSD"
]
}{
"event": "pong",
"timestamp": "1767225601000"
}{
"action": "subscribe",
"symbols": [
"EURUSD",
"GBPUSD",
"USDJPY"
]
}{
"action": "unsubscribe",
"symbols": [
"EURUSD"
]
}{
"event": "status",
"symbols": [
"USDJPY",
"GBPUSD",
"EURUSD"
]
}{
"symbol": "USDJPY",
"timestamp": "1767389242690",
"ask": "156.879",
"bid": "156.864",
"mid": "156.8715"
}{
"event": "error",
"errorMessage": "You are already subscribed to EURUSD, GBPUSD"
}apiKey
type:apiKey
Send API key as header or query param
Ping
type:object
Subscribe
type:object
Unsubscribe
type:object
Pong
type:object
Subscribe
type:object
Unsubscribe
type:object
Status
type:object
Quote
type:object
Error
type:object
