Skip to main content

Get Subaccount Assets

Frequency limit: 1 time/10s (uid)

Description

Query the contract asset information of all sub-accounts. ND Brokers are not allowed to call this endpoint

HTTP Request

  • GET /api/v2/mix/account/sub-account-assets
Request Example
curl "https://api.cointr.com/api/v2/mix/account/sub-account-assets?productType=USDT-FUTURES" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:en-US" \
-H "Content-Type: application/json"

Request Parameters

ParameterTypeRequiredDescription
productTypeStringYesProduct type
USDT-FUTURES USDT professional futures
COIN-FUTURES Mixed futures
USDC-FUTURES USDC professional futures
SUSDT-FUTURES USDT professional futures demo
SCOIN-FUTURES Mixed futures demo
SUSDC-FUTURES USDC professional futures demo
Response Example
{
"code": "00000",
"data": [
{
"userId": 1234567890,
"assetList": [
{
"marginCoin": "USDT",
"locked": "0",
"available": "23.123",
"crossedMaxAvailable": "23.123",
"isolatedMaxAvailable": "23.123",
"maxTransferOut": "23.123",
"accountEquity": "23.123",
"usdtEquity": "23.123",
"btcEquity": "0.001403612744",
"unrealizedPL": "0",
"coupon": ""
}
]
},
{
"userId": 1234567890,
"assetList": [
{
"marginCoin": "USDT",
"locked": "0",
"available": "11",
"crossedMaxAvailable": "11",
"isolatedMaxAvailable": "11",
"maxTransferOut": "11",
"accountEquity": "11",
"usdtEquity": "11",
"btcEquity": "0.000667722189",
"unrealizedPL": "0",
"coupon": ""
}
]
}
],
"msg": "success",
"requestTime": 1630901215622
}

Response Parameters

ParameterTypeDescription
>userIdStringSub account userId
>assetListStringCollection of all futures assets under sub-accounts
>>marginCoinStringMargin coin
>>lockedStringLocked quantity (margin coin)
>>availableStringAvailable quantity in the account
>>crossedMaxAvailableStringMaximum available balance to open positions under the cross margin mode (margin coin)
>>isolatedMaxAvailableStringMaximum available balance to open positions under the isolated margin mode (margin coin)
>>maxTransferOutStringMaximum transferable amount
>>equityStringAccount equity (margin coin)
>>usdtEquityStringAccount equity in USDT
>>btcEquityStringAccount equity in BTC
>>unrealizedPLStringPnL of open positions
>>couponStringTrading bonus