查询风险单元详情(USER_DATA)
接口描述
查询机构贷风险单位详情,母账户和借贷账户均可调用该接口。
-
母账户:
- 当未提供 groupId 时,可以查询所有风险单位详情。
- 当提供特定 groupId 时,可以查询单个风险单位详情。
-
信用账户:
- 仅支持查询与该借贷账户绑定的风险单位详情。
-
其他账户:
- 无法查询LTV详情,无结果返回。
HTTP请求
GET /sapi/v1/margin/loan-group/ltv-details
请求权重
3000(IP)
请求参数
名称 | 类型 | 是否必需 | 描述 |
---|---|---|---|
groupId | LONG | YES |
响应示例
[ {
"groupId": 1,
"parentEmail": "andrew.kemmer001@test.com",
"creditEmail": "tst20241120@test.com",
"updateTime": 1752137105623,
"ltv": "0.592",
"totalNetEquity": "26.35196946",
"totalMaintenanceMargin": "0.50106177",
"totalLiability": "15.30718771",
"parentAccountFrozenAmount": "8.18753688",
"maxTransferOutAmount": "0",
"maxAllowedBorrowLimit": "16.32397222",
"liabilities": [
{
"assetName": "USDT",
"principal": "15.30718771",
"interest": "0"
} ],
"collateralAccounts": [
{
"email": "collateral001@test.com",
"type": "COLLATERAL",
"wallets": [
{
"accountType": "SPOT",
"netEquity": "5",
"maintainMargin": "0"
},
{
"accountType": "CROSS_MARGIN",
"netEquity": "4.98938226",
"maintainMargin": "0.50106177"
} ] },
{
"email": "collateral003@test.com",
"type": "COLLATERAL",
"wallets": [ {
"accountType": "SPOT",
"netEquity": "5.4284319",
"maintainMargin": "0"
},
{
"accountType": "CROSS_MARGIN",
"netEquity": "0",
"maintainMargin": "0"
} ] },
{
"email": "CREDIT20241120@test.com",
"type": "CREDIT",
"wallets": [ {
"accountType": "SPOT",
"netEquity": "0",
"maintainMargin": "0"
},
{
"accountType": "PORTFOLIO_MARGIN",
"netEquity": "4.93362203",
"maintainMargin": "0"
}] },
{
"email": "collateral004l@test.com",
"type": "COLLATERAL",
"wallets": [ {
"accountType": "SPOT",
"netEquity": "0",
"maintainMargin": "0"
},
{
"accountType": "PORTFOLIO_MARGIN",
"netEquity": "1.00053327",
"maintainMargin": "0"
} ] },
{
"email": "collatera005@test.com",
"type": "COLLATERAL",
"wallets": [ {
"accountType": "SPOT",
"netEquity": "5",
"maintainMargin": "0"
},
{
"accountType": "CROSS_MARGIN",
"netEquity": "0",
"maintainMargin": "0"
} ] } ] }
]