Skip to main content

Get UID Wallet Type

Get available wallet types for the master account or sub account

tip
  • Master api key: you can get master account and appointed sub account available wallet types, and support up to 200 sub UID in one request.
  • Sub api key: you can get its own available wallet types

HTTP Request

GET /v5/user/get-member-type

Request Parameters

ParameterRequiredTypeComments
memberIdsfalsestring
  • Query itself wallet types when not passed
  • When use master api key to query sub UID, master UID data is always returned in the top of the array
  • Multiple sub UID are supported, separated by commas
  • This param is ignored when you use sub account api key

Response Parameters

ParameterTypeComments
accountsarrayObject
> uidstringMaster/Sub user Id
> accountTypearrayWallets array. FUND,UNIFIED

Request Example

GET /v5/user/get-member-type HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1686884973961
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"accounts": [
{
"uid": "533285",
"accountType": [
"UNIFIED",
"FUND"
]
}
]
},
"retExtInfo": {},
"time": 1686884974151
}