Query Cross Margin Account Details (USER_DATA)
Weight(IP): 10
Query parameters
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Margin account details
Example response
{
"created": true,
"borrowEnabled": true,
"marginLevel": "11.64405625",
"collateralMarginLevel": "3.2",
"totalAssetOfBtc": "6.82728457",
"totalLiabilityOfBtc": "0.58633215",
"totalNetAssetOfBtc": "6.24095242",
"TotalCollateralValueInUSDT": "5.82728457",
"accountType": "MARGIN_1",
"userAssets": [
{
"asset": "BTC",
"borrowed": "0.00000000",
"free": "0.00499500",
"interest": "0.00000000",
"locked": "0.00000000",
"netAsset": "0.00499500"
}
]
}Changes
Changed in 2 of the 26 revisions of this API.324
- ▲
removed the required property
transferEnabledfrom the response with the200statusresponse-required-property-removed
- ○
added the required property
TotalCollateralValueInUSDTto the response with the200statusresponse-required-property-added
- ○
added the required property
accountTypeto the response with the200statusresponse-required-property-added
- ○
added the required property
collateralMarginLevelto the response with the200statusresponse-required-property-added
- ○
added the required property
createdto the response with the200statusresponse-required-property-added
- ○
added the required property
transferInEnabledto the response with the200statusresponse-required-property-added
- ○
added the required property
transferOutEnabledto the response with the200statusresponse-required-property-added
- ▲
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
borrowEnabledbecame required for the status200response-property-became-required
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
marginLevelbecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
totalAssetOfBtcbecame required for the status200response-property-became-required
- ○
the response property
totalLiabilityOfBtcbecame required for the status200response-property-became-required
- ○
the response property
totalNetAssetOfBtcbecame required for the status200response-property-became-required
- ○
the response property
tradeEnabledbecame required for the status200response-property-became-required
- ○
the response property
transferEnabledbecame required for the status200response-property-became-required
- ○
the response property
userAssetsbecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/assetbecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/borrowedbecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/freebecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/interestbecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/lockedbecame required for the status200response-property-became-required
- ○
the response property
userAssets/items/netAssetbecame required for the status200response-property-became-required
- ▲