get https://api-pro.sim.hashkeydev.com/quote/v1/depth
Retrieve the current order book depth
Request Parameters
PARAMETER | TYPE | Req 'd | Example values | DESCRIPTION |
---|---|---|---|---|
symbol | STRING | Y | ETHUSD | Currency pair |
limit | INTEGER | 10 | Return the number of layers. Maximum value is 200. |
Response Content
PARAMETER | TYPE | Example values | DESCRIPTION |
---|---|---|---|
t | STRING | 1690084873979 | Timestamp |
b | Array of Arrays | Buying direction | |
1st element | STRING | 29830.76 | Bid price |
2nd element | STRING | 0.0005 | Bid quantity |
a | Array of Arrays | Selling direction | |
1st element | STRING | 29938.49 | Ask price |
2nd element | 0.0005 | Ask quantity |