Message Format
WebSocket API message format
Messages received from the WebSocket API will be JSON objects with the following similar format:
Property
Type
Description
sequence
int
The sequence number that the message was sent in
recipient
string
The corresponding WebSocket feed that the message was sent to
timestamp
int
The UNIX timestamp (in nanoseconds)
payload
JSON
The payload parameter will be a JSON string that contains then data
Please note that the sequence
number sent by the WebSocket is not guaranteed to be in ascending order. If you detect any gaps or incorrect ordering you should reconnect.
Example Message
Last updated