跳到主要内容

查询全仓杠杆账户详情 (USER_DATA)

接口描述

查询全仓杠杆账户详情

HTTP请求

GET /sapi/v1/margin/account

请求权重

10(IP)

请求参数

名称类型是否必需描述
recvWindowLONGNO赋值不能大于 60000
timestampLONGYES

响应示例

{
"created" : true, // true 表示已开户, false 表示未开户
"borrowEnabled": true,
"marginLevel": "11.64405625",
"collateralMarginLevel" : "3.2",
"totalAssetOfBtc": "6.82728457",
"totalLiabilityOfBtc": "0.58633215",
"totalNetAssetOfBtc": "6.24095242",
"TotalCollateralValueInUSDT": "5.82728457",
"tradeEnabled": true,
"transferInEnabled": true,
"transferOutEnabled": true,
"accountType": "MARGIN_1", // MARGIN_1 全仓Classic模式账户, MARGIN_2 全仓Pro模式账户
"userAssets": [
{
"asset": "BTC",
"borrowed": "0.00000000",
"free": "0.00499500",
"interest": "0.00000000",
"locked": "0.00000000",
"netAsset": "0.00499500"
},
{
"asset": "BNB",
"borrowed": "201.66666672",
"free": "2346.50000000",
"interest": "0.00000000",
"locked": "0.00000000",
"netAsset": "2144.83333328"
},
{
"asset": "ETH",
"borrowed": "0.00000000",
"free": "0.00000000",
"interest": "0.00000000",
"locked": "0.00000000",
"netAsset": "0.00000000"
},
{
"asset": "USDT",
"borrowed": "0.00000000",
"free": "0.00000000",
"interest": "0.00000000",
"locked": "0.00000000",
"netAsset": "0.00000000"
}
]
}