Skip to main content

Query Managed Sub-account Margin Asset Details(For Investor Master Account)(USER_DATA)

API Description

Investor can use this api to query managed sub account margin asset details

HTTP Request

GET /sapi/v1/managed-subaccount/marginAsset

Request Weight(IP)

1

Request Parameters

NameTypeMandatoryDescription
emailSTRINGYESManaged Sub Account Email
accountTypeSTRINGNONo input or input "MARGIN" to get Cross Margin account details. Input "ISOLATED_MARGIN" to get Isolated Margin account details.

Response Example

{
"marginLevel":"999"
"totalAssetOfBtc":"0"
"totalLiabilityOfBtc":"0"
"totalNetAssetOfBtc":"0"
"userAssets":[
{
"asset":"MATIC"
"borrowed":"0"
"free":"0"
"interest":"0"
"locked":"0"
"netAsset":"0"
},
{
"asset":"VET"
"borrowed":"0"
"free":"0"
"interest":"0"
"locked":"0"
"netAsset":"0"
},
{
"asset":"BAKE"
"borrowed":"0"
"free":"0"
"interest":"0"
"locked":"0"
"netAsset":"0"
}
]
}