Skip to main content

Trade record

Compression required from December 10, 2026

From 2026-12-10 08:00 (UTC), public WebSocket connections must enable permessage-deflate compression, otherwise they will be rejected. See General WSS information.

Request format​

trade@{symbol}
  • Example: trade@btc_usdt
  • Push rate: real‑time

Request example​

Subscribe — After establishing the WebSocket connection, send the following JSON string.

SUBSCRIBE
{
"method": "SUBSCRIBE",
"params": ["trade@btc_usdt"],
"id": "test" // this param could call whatever you want
}

Response example​

{
"topic": "trade",
"event": "trade@btc_usdt",
"data": {
"s": "btc_index", // symbol
"p": "50000", // price
"a": "0.1", // amount
"m": "BID", // side: BID = buy, ASK = sell
"t": 123124124 // timestamp
}
}