跳至主要内容

查詢保證金產品信息

提示

這是公共接口,無需鑒權。

HTTP 請求

GET /spot/v3/public/margin-product-infos

請求參數

參數是否必須類型說明
productIdfalsestring產品ID. 若不傳,則返回所有產品數據

返回參數

參數類型說明
marginProductInfoarrayObject
> productIdstring產品ID
> leveragestring槓桿倍數
> supportSpotinteger是否支持現貨. 0:否; 1:是
> supportContractinteger是否支持合約 . 0: 否; 1: 是
> withdrawLinestring限制提幣線
> transferLinestring限制劃轉線
> spotBuyLinestring限制現貨買入線
> spotSellLinestring限制現貨賣出線
> contractOpenLinestring限制合約開倉線
> liquidationLinestring強平線
> stopLiquidationLinestring停止強平線
> contractLeveragestring允許合約開倉倍數
> transferRatiostring借貸資金劃轉比例
> spotSymbolsarray現貨交易對白名單
> contractSymbolsarray合約交易對白名單

請求示例

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
}