Get order book for a send pair

Authentication

Using the sign in to the API Login Use

Params


ParamDescription
tokenToken get in login process
api_key_authApi key delivered by Depasify

example


URL_WEBSOCKET = wss://{host}?token=sing_token

const ws = new WebSocket(URL_WEBSOCKET, [api_key_auth]) ;

Message structure subscribe

ParamMandatoryExampleTypeDescription
subscribeYorderstringorder
pairYBTC/EURstringThe symbol of the currency pair.

Message structure unsubscribe

ParamMandatoryExampleTypeDescription
unsubscribeYorderstringorder
pairYBTC/EURstringThe symbol of the currency pair.