v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Sub-Account

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

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

get/sapi/v1/managed-subaccount/marginAsset

Query parameters

emailstring required
recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

Sub account margin assset details

marginLevelstring required
totalAssetOfBtcstring required
totalLiabilityOfBtcstring required
totalNetAssetOfBtcstring required

Example response

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