Skip to main content

Body

application/json

The command you send.

Subscribes to feeds, or unsubscribes from them.

method
enum<string>
required
Available options:
subscribe,
unsubscribe
params
object
required

The channel and instruments a command changes.

req_id
integer<int64>

Your identifier for the command, echoed on its acknowledgments.

Required range: x >= 0

Response

default - application/json

The messages the server sends on this channel.

An order book message.

channel
enum<string>
required
Available options:
book
type
enum<string>
required

snapshot: the feed's current state. update: a change.

Available options:
snapshot,
update
data
object[]
required
Required array length: 1 element