Get Depth Info
GET
/az/future/market/v1/public/cg/orderbook
Note:This method does not require a signature.
Parameters
| Parameter | Type | Mandatory | Default | Description | Ranges |
|---|---|---|---|---|---|
| symbol | string | true | N/A | Trading pair, eg.BTC-USDT | |
| level | int | false | 50 | 0-200 |
Java
public void getMarketConfig() {
String text = HttpUtil.get(URL + "/data/api/az/future/market/v1/public/cg/orderbook");
System.out.println(text);
}
Response
{
"ticker_id": "BTC-USDT",
"timestamp": 1761987036772,
"bids": [
[
"110166.2",
"16515"
]
],
"asks": [
[
"110166.3",
"7092"
]
]
}