get https://EXCHANGE-REGION-ENDPOINT-URL.com/v1/orderbook
Request Parameters
Field Name | Description | Type |
---|---|---|
markets* | Market codes separated by spots(ex. SGD-BTC, BTC-XRP) | String |
count | Number of order book units (ex. setting count=5 will return only the top 5 bid and ask entries. default: 30) | Integer |
Response
Field Name | Description | Type |
---|---|---|
market | Market ID | String |
timestamp | Order Book timestamp | Long |
total_ask_size | Total remaining volume of asking orders. | Double |
total_bid_size | Total remaining volume of bidding orders. | Double |
orderbook_units | Order book details. | List of Objects |
ask_price | Ask price | Double |
bid_price | Bid price | Double |
ask_size | Remaining volume of Asking. | Double |
bid_size | Remaining volume of Bidding. | Double |
The orderbook_units
list includes order book data in order, starting from the best bid/ask (1st level) to the maximum 30th level.