Get Account Detail - Margin

Request via this endpoint to get the info of the margin account.

HTTP REQUEST

GET /api/v1/margin/account

Example

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 KEY PERMISSIONS

This endpoint requires the General permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Spot weight:40

RESPONSES
Param Description
accounts Margin account list
debtRatio Debt ratio
currency Currency
totalBalance Total funds in the account
availableBalance Available funds in the account
holdBalance Funds on hold in the account
liability Total liabilities
maxBorrowSize Available size to borrow