查询保证金币种信息
限速规则: 5次/1s (Uid)
HTTP请求
- GET /api/v2/spot/ins-loan/ensure-coins-convert
请求示例
curl "https://api.bitget.com/api/v2/spot/ins-loan/ensure-coins-convert?productld=xxx" \
-H "ACCESS-KEY:your apiKey" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"
请求参数
参数名 | 参数类型 | 是否必须 | 描述 |
---|---|---|---|
productld | String | 是 | 产品ID,保证唯一性 |
返回示例
{
"code": "00000",
"msg": "success",
"requestTime": 1711697581815,
"data": {
"productId": "xxxxxxxx",
"coinInfo": [
{
"coin": "USDC",
"convertRatio": "1",
"maxConvertValue": "1000"
},
{
"coin": "USDT",
"convertRatio": "1",
"maxConvertValue": "1000"
},
{
"coin": "BTC",
"convertRatio": "0.99",
"maxConvertValue": "1000"
},
{
"coin": "ETH",
"convertRatio": "0.99",
"maxConvertValue": "1000"
}
]
}
}
返回参数
返回字段 | 参数类型 | 字段说明 |
---|---|---|
productId | String | 产品ID |
coinInfo | Array | 现货保证金币种信息 |
> coin | String | 保证金币种 |
> convertRatio | String | 保证金折算率 |
> maxConvertValue | String | 最大折算金额(USDT) |