Query Active Risk Units(USER_DATA)
API Description
Retrieves the list of active institutional loan risk units. This endpoint is accessible only with the parent account API key.
HTTP Request
GET /sapi/v1/margin/loan-groups/activated
Request Weight
10(IP)
Request Parameters
None
Response Example
[
{
"groupId": 10001,
"members": [
{
"email": "1001@test.com",
"type": "CREDIT",
"enableMargin": true,
"enableSpot": true
},
{
"email": "1002@test.com",
"type": "COLLATERAL",
"enableMargin": true,
"enableSpot": true
}
],
"createTime": 1747637956083
},
{
"groupId": 10002,
"members": [
{
"email": "1003@test.com",
"type": "CREDIT",
"enableMargin": true,
"enableSpot": true
},
{
"email": "1004@test.com",
"type": "COLLATERAL",
"enableMargin": true,
"enableSpot": true
}
],
"createTime": 1747637956083
}
]
Response detail desc
| Parameter | Type | Description |
|---|---|---|
| groupId | LONG | Risk unit unique identifier |
| members | OBJECT ARRAY | |
| STRING | Account registered email | |
| → type | STRING | Credit sub account or Collateral sub account |
| → enableMargin | STRING | TRUE: include margin account as collateral. FALSE: exclude margin account as collateral |
| → enableSpot | STRING | TRUE: include spot account as collateral FALSE: exclude spot account as collateral |
| createTime | LONG | Last update timestamp (milliseconds) |