Get All Sub-Accounts Balance(V2)

This endpoint can be used to get paginated sub-account information. Pagination is required.

HTTP REQUEST

GET /api/v2/sub-accounts

Example

GET /api/v2/sub-accounts

{
  "code": "200000",
  "data": {
    "currentPage": 1,
    "pageSize": 10,
    "totalNum": 14,
    "totalPage": 2,
    "items": [
      {
        "subUserId": "635002438793b80001dcc8b3",
        "subName": "margin03",
        "mainAccounts": [
          {
            "currency": "00",
            "balance": "0",
            "available": "0",
            "holds": "0",
            "baseCurrency": "BTC",
            "baseCurrencyPrice": "125.63",
            "baseAmount": "0"
          }
        ]
      }
    ]
  }
}
API KEY PERMISSIONS

This endpoint requires the General permission.

REQUEST URL

This endpoint support Spot URL

REQUEST RATE LIMIT

Manage weight:20

PARAMETERS
Param Type Mandatory Description
currentPage Int No Current request page. Default is 1
pageSize Int No Number of results per request. Minimum is 1, maximum is 100, default is 10.
RESPONSES
Param Description
subUserId The user ID of the sub-user.
subName The username of the sub-user.
currency The currency of the account.
balance Total funds in the account.
available Funds available to withdraw or trade.
holds Funds on hold (not available for use).
baseCurrency Calculated on this currency.
baseCurrencyPrice The base currency price.
baseAmount The base currency amount.