Skip to main content

Get Sub UID List (Unlimited)

This API is applicable to the client who has over 10k sub accounts. 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/submembers

Request Parameters

ParameterRequiredTypeComments
pageSizefalsestringData size per page. Return up to 100 records per request
nextCursorfalsestringCursor. Use the nextCursor token from the response to retrieve the next page of the result set

Response Parameters

ParameterTypeComments
subMembersarrayObject
> uidstringSub user Id
> usernamestringUsername
> memberTypeinteger1: standard 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
  • 3: Unified Trading Account
> remarkstringThe remark
nextCursorstringThe next page cursor value. "0" means no more pages

Request Example

GET /v5/user/submembers?pageSize=1 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": "100475023",
"username": "BybitmcYERjAPmMU",
"memberType": 1,
"status": 1,
"remark": "",
"accountMode": 1
}
],
"nextCursor": "126671"
},
"retExtInfo": {},
"time": 1711695552772
}