獲取賬戶詳情 - 槓桿

此接口返回當前槓桿賬戶信息

HTTP請求

GET /api/v1/margin/account

請求示例

GET /api/v1/margin/account

{
    "code": "200000",
    "data": {
        "debtRatio": "0",
        "accounts": [
            {
                "currency": "KCS",
                "totalBalance": "0.01",
                "availableBalance": "0.01",
                "holdBalance": "0",
                "liability": "0",
                "maxBorrowSize": "0"
            },
            {
                "currency": "USDT",
                "totalBalance": "0",
                "availableBalance": "0",
                "holdBalance": "0",
                "liability": "0",
                "maxBorrowSize": "0"
            },
            ...
        ]
    }
}
API權限

此接口需要通用權限

請求URL

此接口支持現貨URL

頻率限制

現貨類權重:40

返回值
字段 含義
accounts 賬戶列表
debtRatio 負債率
currency 幣種
totalBalance 賬戶總額
availableBalance 賬戶可用餘額
holdBalance 賬戶凍結金額
liability 當前總負債
maxBorrowSize 當前可借數量