Skip to main content

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

ParameterRequiredTypeComments
productIdfalsestringProduct Id. If not passed, then return all products info

Response Parameters

ParameterTypeComments
marginProductInfoarrayObject
> productIdstringProduct Id
> leveragestringleverage
> supportSpotintegerWhether to support spot. 0:false; 1:true
> supportContractintegerWhether to support contract. 0:false; 1:true
> withdrawLinestringRestrict line for withdrawal
> transferLinestringRestrict line for transfer
> spotBuyLinestringRestrict line for SPOT buy
> spotSellLinestringRestrict line for SPOT sell
> contractOpenLinestringRestrict line for CONTRACT open position
> liquidationLinestringLine for liquidation
> stopLiquidationLinestringLine for stop liquidation
> contractLeveragestringAllowed max leverage of opening contract position
> transferRatiostringAvailable transfer ratio of loan funds
> spotSymbolsarrayThe whitelist of spot trading pairs
> contractSymbolsarrayThe 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
}