Skip to main content

Interface Description

The requester is required to send a heartbeat every 10 seconds. If no heartbeat request is received within 30 seconds, it will be considered timed out and the requester’s WebSocket connection will be disconnected.

Request - Protocol Number: 22000

Data Structure (JSON)

{
  "cmd_id": 22000,
  "seq_id": 123,
  "trace": "3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
  "data": {}
}

Response - Protocol Number: 22001

Data Structure (JSON)

{
  "ret": 200,
  "msg": "ok",
  "cmd_id": 22001,
  "seq_id": 123,
  "trace": "3baaa938-f92c-4a74-a228-fd49d5e2f8bc-1678419657806",
  "data": {}
}

AllTick Website

Official website: https://alltick.co/