Messages
{
"cmd": "ping"
}{
"cmd": "<string>",
"code": 123,
"message": "<string>",
"data": {
"timestamp": 123
}
}WebSocket Docs
Ping
WSS
/
v1
/
realtime
Plan Access
| Plan | Available |
|---|---|
| Free | ✅ |
| Starter | ✅ |
| Professional | ✅ |
| Full-Market Plans (A-Shares, HK Stocks, US Stocks) | ✅ |
| Enterprise | ✅ |
ping and the server replies with pong. data.timestamp is a Unix timestamp in milliseconds.
Send
{"cmd":"ping"}
Response
{"cmd":"pong","code":0,"message":"pong","data":{"timestamp":1768976158541}}
Messages
{
"cmd": "ping"
}{
"cmd": "<string>",
"code": 123,
"message": "<string>",
"data": {
"timestamp": 123
}
}api_key
type:httpApiKey
Ping Request
type:object
Send ping to check connection
Pong Response
type:object
Server response to ping
