To start streaming prices, send a signed subscribe message on the prices topic identifying the symbol you want. On success the server returns a confirmation, then begins sending price-update messages for that symbol.
Use Listing Available Symbols first to get valid ASSET/QUOTE symbol strings.
RFQ liquidity product only. Symbols and prices on this feed are specific to the RFQ product and do not relate to CLOB instruments.
Request
Every message must be authenticated — see Authentication. For the price feed, body is required and identifies the symbol.
| Field | Type | Required | Description |
|---|---|---|---|
messageType | string | ✅ | Subscription message type — subscribe |
topic | string | ✅ | Topic to subscribe to — prices for the price feed |
body | object | ✅ | Object identifying which symbol will be subscribed to (required for the price feed) |
key | string | ✅ | Your API public key |
passphrase | string | ✅ | Your API passphrase |
timestamp | string | ✅ | Time in seconds since Unix epoch (same value used to sign) |
signature | string | ✅ | Base64-encoded HMAC-SHA256 signature |
Example request:
{
"messageType": "subscribe",
"topic": "prices",
"key": "API_PUBLIC_KEY",
"passphrase": "API_PASSPHRASE",
"timestamp": "1720000000",
"signature": "base64_encoded_hmac",
"body": { "symbol": "BTC/USD" }
}Response
On success the server returns a subscribe message confirming the symbol feed.
| Field | Type | Description |
|---|---|---|
messageType | string | subscribe |
body | string | Confirmation message, e.g. successfully subscribed to the BTC/USD feed |
Example response:
{
"messageType": "subscribe",
"body": "successfully subscribed to the BTC/USD feed"
}After this confirmation, price-update messages begin arriving for the symbol.
Subscribing to multiple symbols
Send one signed subscribe message per symbol — each with its own body (and therefore its own signature). All subscriptions share the same connection, and you keep them all alive with a single ping every 20 seconds.
Next steps
- Price Updates — the
price-updatemessage fields - Listing Available Symbols — discover valid symbols
- Maintaining Subscription — the 20-second heartbeat