Order Book

Get order book for a send pair

Authentication

Using the same authentication to the API Authenticate Method

Params

ParamDescription
tokenUser JSON Web Token | User API Key
api_key_authApi key delivered by Depasify

Example

Message structure subscribe

ParamMandatoryExampleTypeDescription
subscribeYorderstringorder
pairYBTC/EURstringThe symbol of the currency pair.
providerYkeyrockstringthe order book provider [keyrock, binance]

Message structure unsubscribe

ParamMandatoryExampleTypeDescription
unsubscribeYorderstringorder
pairYBTC/EURstringThe symbol of the currency pair.
providerYkeyrockstringthe order book provider [keyrock, binance]

Message Response Structure

AttributeTypeObjectExample
pairstringBTC
offersarray{ price, amount, total }[{ "price": "string", "amount": "string", "total": "string" }]
bidsarray{ price, amount, total }[{ "price": "string", "amount": "string", "total": "string" }]