Get All Sub-Accounts Balance(V1)
This endpoint returns the account info of all sub-users.
TIP
It is recommended to use the GET /api/v2/sub-accounts
interface for paging query
HTTP REQUEST
GET /api/v1/sub-accounts
Example
GET /api/v1/sub-accounts
[
{
"subUserId": "5caefba7d9575a0688f83c45",
"subName": "kucoin1",
"mainAccounts": [
{
"currency": "BTC",
"balance": "6",
"available": "6",
"holds": "0",
"baseCurrency": "BTC",
"baseCurrencyPrice": "1",
"baseAmount": "1.1"
}
],
"tradeAccounts": [
{
"currency": "BTC",
"balance": "1000",
"available": "1000",
"holds": "0",
"baseCurrency": "BTC",
"baseCurrencyPrice": "1",
"baseAmount": "1.1"
}
],
"marginAccounts": [
{
"currency": "BTC",
"balance": "1.1",
"available": "1.1",
"holds": "0",
"baseCurrency": "BTC",
"baseCurrencyPrice": "1",
"baseAmount": "1.1"
}
]
}
]
API KEY PERMISSIONS
This endpoint requires the General permission.
REQUEST URL
This endpoint support Spot URL
REQUEST RATE LIMIT
Manage weight
:20
PARAMETERS
N/A
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. |