Request message format
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.
Subscribe
Subscribe
{
"method": "subscribe",
"params": [
"{topic}@{arg},{arg}",
"{topic}@{arg}"
],
"id": "{id}" // call back ID
}
Unsubscribe
{
"method": "unsubscribe",
"params": [
"\{topic\}@\{arg\},\{arg\}"
],
"id": "\{id\}" // call back ID
}
Response Example
{
"code": 0,
"msg": "success"
}