get https://api-glb.hashkey.com/quote/v1/depth/merged
Query aggregation market depth
Request Parameters
| PARAMETER | TYPE | Req 'd | Example values | DESCRIPTION |
|---|---|---|---|---|
| symbol | STRING | Y | BTCUSDT, BTCUSDT-PERPETUAL | Currency pair |
| limit | INTEGER | 10 | Return the number of results, the maximum value is 200 | |
| scale | INTEGER | 1 | Level of layers 0,1,2,3,4,5. E.g. 0 represents 1 layer, 1 represents 2 layers |
Response Content:
| PARAMETER | TYPE | Example values | DESCRIPTION |
|---|---|---|---|
| t | INTEGER | 1690084943765 | Timestamp |
| b | Array of Arrays | Buying direction | |
| 1st element | STRING | 29828.41 | Bid price |
| 2nd element | STRING | 0.0005 | Bid quantity |
| a | Array of Arrays | Selling direction | |
| 1st element | STRING | 29938.49 | Ask price |
| 2nd element | STRING | 0.0005 | Ask quantity |