Skip to main content

Get Sub UID List (Limited)

Get at most 10k sub UID of master account. Use master user's api key only.

tip

The API key must have one of the below permissions in order to call this endpoint..

  • master API key: "Account Transfer", "Subaccount Transfer", "Withdrawal"

HTTP Request

GET /v5/user/query-sub-members

Request Parameters

None

Response Parameters

ParameterTypeComments
subMembersarrayObject
> uidstringSub user Id
> usernamestringUsername
> memberTypeinteger1: normal sub account, 6: custodial sub account
> statusintegerThe status of the user account
  • 1: normal
  • 2: login banned
  • 4: frozen
> accountModeintegerThe account mode of the user account
  • 1: classic account
  • 2: UMA
  • 3: UTA
> remarkstringThe remark

Request Example

GET /v5/user/query-sub-members HTTP/1.1
Host: api.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1676430318405
X-BAPI-RECV-WINDOW: 5000

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"subMembers": [
{
"uid": "53888001",
"username": "xxx001",
"memberType": 1,
"status": 1,
"remark": "test",
"accountMode": 3
},
{
"uid": "53888002",
"username": "xxx002",
"memberType": 6,
"status": 1,
"remark": "",
"accountMode": 1
}
]
},
"retExtInfo": {},
"time": 1676430319452
}