Get Account Detail - Isolated Margin
Request via this endpoint to get the info of the isolated margin account.
HTTP REQUEST
GET /api/v3/isolated/accounts
Example
GET /api/v3/isolated/accounts?quoteCurrency=BTC
//Response
{
"code": "200000",
"data": [
{
"totalAssetOfQuoteCurrency": "3.4939947",
"totalLiabilityOfQuoteCurrency": "0.00239066",
"timestamp": 1668062174000,
"assets": [
{
"symbol": "MANA-USDT",
"debtRatio": "0",
"status": "BORROW",
"baseAsset": {
"currency": "MANA",
"borrowEnabled": true,
"repayEnabled": true,
"transferEnabled": true,
"borrowed": "0",
"totalAsset": "0",
"available": "0",
"hold": "0",
"maxBorrowSize": "1000"
},
"quoteAsset": {
"currency": "USDT",
"borrowEnabled": true,
"repayEnabled": true,
"transferEnabled": true,
"borrowed": "0",
"totalAsset": "0",
"available": "0",
"hold": "0",
"maxBorrowSize": "50000"
}
}
]
}
]
}
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Spot weight
:15
PARAMETERS
Param | Type | Mandatory | Description |
---|---|---|---|
symbol | STRING | No | For isolated trading pairs, query all without passing |
quoteCurrency | STRING | No | quote currency, currently only supports USDT, KCS, BTC, default is USDT |
queryType | STRING | No | Query account type (default MARGIN), ISOLATED- - only query low frequency isolated margin account, ISOLATED_V2-only query high frequency isolated margin account, ALL - consistent aggregate query with the web side |
RESPONSES
Param | Description |
---|---|
totalAssetOfQuoteCurrency | Total Assets in Quote Currency |
totalLiabilityOfQuoteCurrency | Total Liability in Quote Currency |
timestamp | timestamp |
status | Position status; EFFECTIVE-effective, BANKRUPTCY-bankruptcy liquidation, LIQUIDATION-closing, REPAY-repayment, BORROW borrowing |
assets | asset list |
symbol | symbol |
debtRatio | debt ratio |
baseAsset | base asset |
quoteAsset | quote asset |
currency | currency |
borrowEnabled | Support borrow or not |
repayEnabled | Support repay or not |
transferEnabled | Support transfer or not |
liability | Liabilities |
total | Total Assets |
available | Account available assets (total assets - frozen) |
hold | Account frozen assets |
maxBorrowSize | The user's remaining maximum loan amount |