Message Format

Messages that are sent to the various feeds 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 feed that the message was sent to

timestamp

int

The UNIX timestamp (in microseconds)

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.

Last updated