Get Total Members Assets
Query total assets across all member accounts (master and sub-accounts), with optional coin-denominated valuation.
HTTP Request
GET/v5/asset/total-members-assetsRequest Parameters
| Parameter | Required | Type | Comments |
|---|---|---|---|
| coin | false | string | Coin name, e.g. BTC, USDT. If not specified, defaults to BTC. If specified, total assets will be quoted in this coin |
Response Parameters
| Parameter | Type | Comments |
|---|---|---|
| total | string | Total asset value |
| quoteTotal | string | Total asset value in quoted coin |
| stat | integer | Whether there was an exception when requesting downstream data. 0: normal, non-zero: exception occurred |
| list | array<object> | Account asset list |
| > uid | long | User ID |
| > isM | boolean | Whether it is a master account. Only returned when the account is a master account |
| > type | integer | Sub-account type. Only returned when the account is a sub-account. 1: Normal sub-account, 2: MT4 sub-account, 3: Trading Bot sub-account, 4: Copy trading leader sub-account, 5: Copy trading follower sub-account, 6: Custodial sub-account, 7: Fund custodial sub-account, 8: Demo sub-account, 9: Copy Pro sub-account, 10: MT5 follow sub-account, 11: Earn vendor sub-account, 12: Earn fund sub-account |
| > stat | integer | Whether there was an exception when requesting downstream data. 0: normal, non-zero: exception occurred |
| > origb | string | Original balance in USD |
| > quoteb | string | Balance in quoted coin (the coin specified in the request parameter) |
| > items | array<object> | Sub-account type breakdown |
| >> type | string | Account type, e.g. ACCOUNT_TYPE_FUND, ACCOUNT_TYPE_UNIFIED |
| >> origb | string | Original balance in USD |
| >> quoteb | string | Balance in quoted coin (the coin specified in the request parameter) |
| >> stat | integer | Whether there was an exception when requesting downstream data. 0: normal, non-zero: exception occurred |
Request Example
- HTTP
- Python
- Node.js
GET /v5/asset/total-members-assets?coin=BTC HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1773230920000
X-BAPI-RECV-WINDOW: 5000
Response Example
{
"retCode": 0,
"retMsg": "Success",
"result": {
"total": "7369376.9136310276027477088095516543224115696",
"stat": 0,
"quoteTotal": "126.18796084984636306",
"list": [
{
"origb": "7252396.5385745423203887154762334543224115696",
"uid": 1001796602,
"isM": true,
"stat": 0,
"items": [
{
"origb": "7180203.788461284230524983",
"stat": 0,
"type": "ACCOUNT_TYPE_FUND",
"quoteb": "122.948695007898702577"
},
{
"origb": "17.467024256661260423",
"stat": 0,
"type": "ACCOUNT_TYPE_UNIFIED",
"quoteb": "0.000299092881107213"
},
{
"origb": "17920.161",
"stat": 0,
"type": "ACCOUNT_TYPE_CONTRACT",
"quoteb": "0.306782556651556862"
}
]
}
]
},
"retExtInfo": {},
"time": 1773230927614
}