查詢保證金產品信息
提示
這是公共接口,無需鑒權。
HTTP 請求
GET /spot/v3/public/margin-product-infos
請求參數
參數 | 是否必須 | 類型 | 說明 |
---|---|---|---|
productId | false | string | 產品ID. 若不傳,則返回所有產品數據 |
返回參數
參數 | 類型 | 說明 |
---|---|---|
marginProductInfo | array | Object |
> productId | string | 產品ID |
> leverage | string | 槓桿倍數 |
> supportSpot | integer | 是否支持現貨. 0 :否; 1 :是 |
> supportContract | integer | 是否支持合約 . 0 : 否; 1 : 是 |
> withdrawLine | string | 限制提幣線 |
> transferLine | string | 限制劃轉線 |
> spotBuyLine | string | 限制現貨買入線 |
> spotSellLine | string | 限制現貨賣出線 |
> contractOpenLine | string | 限制合約開倉線 |
> liquidationLine | string | 強平線 |
> stopLiquidationLine | string | 停止強平線 |
> contractLeverage | string | 允許合約開倉倍數 |
> transferRatio | string | 借貸資金劃轉比例 |
> spotSymbols | array | 現貨交易對白名單 |
> contractSymbols | array | 合約交易對白名單 |
請求示例
curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/public/margin-product-infos?productId=70'
響應示例
{
"retCode": 0,
"retMsg": "OK",
"result": {
"marginProductInfo": [
{
"productId": "70",
"leverage": "5.00000000",
"supportSpot": 1,
"supportContract": 1,
"withdrawLine": "0.5",
"transferLine": "0.6",
"spotBuyLine": "0.7",
"spotSellLine": "0.8",
"contractOpenLine": "0.9",
"liquidationLine": "0.95",
"stopLiquidationLine": "0.40000000",
"contractLeverage": "",
"transferRatio": "",
"spotSymbols": [
"DYDXQQTEST001"
],
"contractSymbols": [
"RAYUSDT",
"API3USDT"
]
}
]
},
"retExtInfo": {},
"time": 1669362961705
}