獲取交易對深度信息
GET
/az/future/market/v1/public/cg/orderbook
Note:這個方法不需要簽名
請求參數
| 參數 | 類型 | 是否必須 | 默認值 | 描述 | 取值範圍 |
|---|---|---|---|---|---|
| symbol | string | true | N/A | 交易對,例如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"
]
]
}