Get Margin Product Info
tip
This is a public endpoint, so it does not need to authenticate.
HTTP Request
GET /spot/v3/public/margin-product-infos
Request Parameters
Parameter | Required | Type | Comments |
---|---|---|---|
productId | false | string | Product Id. If not passed, then return all products info |
Response Parameters
Parameter | Type | Comments |
---|---|---|
marginProductInfo | array | Object |
> productId | string | Product Id |
> leverage | string | leverage |
> supportSpot | integer | Whether to support spot. 0:false; 1:true |
> supportContract | integer | Whether to support contract. 0:false; 1:true |
> withdrawLine | string | Restrict line for withdrawal |
> transferLine | string | Restrict line for transfer |
> spotBuyLine | string | Restrict line for SPOT buy |
> spotSellLine | string | Restrict line for SPOT sell |
> contractOpenLine | string | Restrict line for CONTRACT open position |
> liquidationLine | string | Line for liquidation |
> stopLiquidationLine | string | Line for stop liquidation |
> contractLeverage | string | Allowed max leverage of opening contract position |
> transferRatio | string | Available transfer ratio of loan funds |
> spotSymbols | array | The whitelist of spot trading pairs |
> contractSymbols | array | The whitelist of contract trading pairs |
Request Example
curl --location --request GET 'https://api-testnet.bybit.com/spot/v3/public/margin-product-infos?productId=70'
Response Example
{
"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
}