獲取逐倉賬戶信息

{
    "code":"200000",
    "data": {
        "totalConversionBalance": "3.4939947",
        "liabilityConversionBalance": "0.00239066",
        "assets": [
            {
                "symbol": "MANA-USDT",
                "status": "CLEAR",
                "debtRatio": "0",
                "baseAsset": {
                    "currency": "MANA",
                    "totalBalance": "0",
                    "holdBalance": "0",
                    "availableBalance": "0",
                    "liability": "0",
                    "interest": "0",
                    "borrowableAmount": "0"
                },
                "quoteAsset": {
                    "currency": "USDT",
                    "totalBalance": "0",
                    "holdBalance": "0",
                    "availableBalance": "0",
                    "liability": "0",
                    "interest": "0",
                    "borrowableAmount": "0"
                }
            },
            {
                "symbol": "EOS-USDC",
                "status": "CLEAR",
                "debtRatio": "0",
                "baseAsset": {
                    "currency": "EOS",
                    "totalBalance": "0",
                    "holdBalance": "0",
                    "availableBalance": "0",
                    "liability": "0",
                    "interest": "0",
                    "borrowableAmount": "0"
                },
                "quoteAsset": {
                    "currency": "USDC",
                    "totalBalance": "0",
                    "holdBalance": "0",
                    "availableBalance": "0",
                    "liability": "0",
                    "interest": "0",
                    "borrowableAmount": "0"
                }
            }
        ]
    }
}

此接口返回當前用戶的所有逐倉賬戶

HTTP請求

GET /api/v1/isolated/accounts

API權限

此接口需要通用權限

請求URL

此接口支持現貨URL

頻率限制

現貨類權重:50

請求參數
請求參數 類型 是否必須 含義
balanceCurrency String 計價幣種,目前只支持USDTKCSBTC,不傳默認BTC
返回值
字段 含義
totalConversionBalance 逐倉賬戶總的餘額(按指定的幣種計價)
liabilityConversionBalance 逐倉賬戶總的負債(按指定的幣種計價)
assets 賬戶列表
assets.symbol 交易對,一個交易對代表一個倉位
assets.status 倉位狀態,有負債-DEBT, 無負債-CLEAR, 破產(發生穿倉後,進入破產狀態)-BANKRUPTCY,借入中-IN_BORROW, 還款中-IN_REPAY, 平倉中-IN_LIQUIDATION, 自動續借中-IN_AUTO_RENEW
assets.debtRatio 負債率
assets.baseAsset base幣種的資產信息
assets.quoteAsset quote幣種的資產信息
currency 幣種Code
totalBalance 當前幣種總資產金額
holdBalance 當前幣種凍結金額
availableBalance 可用餘額(總資產-凍結)