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 \
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

  <th>
    Type
  </th>

  <th>
    Object
  </th>

  <th>
    Example
  </th>
</tr>
  <td>
    string
  </td>

  <td>

  </td>

  <td>
    BTC
  </td>
</tr>

<tr>
  <td>
    offers
  </td>

  <td>
    array
  </td>

  <td>
    &#123; price, amount, total &#125;
  </td>

  <td>
     [  
            {  
                "price": string,  
                "amount": string,  
                "total": string  
            }  
    ]
  </td>
</tr>

<tr>
  <td>
    bids
  </td>

  <td>
    array
  </td>

  <td>
    &#123; price, amount, total &#125;
  </td>

  <td>
     [  
            {  
                "price": string,  
                "amount": string,  
                "total": string  
            }  
    ]
  </td>
</tr>
Attribute
pair