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
PRACTICE

"FUND" - If you never deposit or transfer capital into it, this wallet type will not be shown in the array, but your account indeed has this wallet.

  • ["SPOT","OPTION","FUND","CONTRACT"] : Classic account and Funding wallet was operated before
  • ["SPOT","OPTION","CONTRACT"] : Classic account and Funding wallet is never operated
  • ["SPOT","UNIFIED","FUND","CONTRACT"] : UMA account and Funding wallet was operated before. (No UMA account after we forced upgrade to UTA)
  • ["SPOT","UNIFIED","CONTRACT"] : UMA account and Funding wallet is never operated. (No UMA account after we forced upgrade to UTA)
  • ["UNIFIED""FUND","CONTRACT"] : UTA account and Funding wallet was operated before.
  • ["UNIFIED","CONTRACT"] : UTA account and Funding wallet is never operated.

HTTP Request

GET /user/v3/private/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, and up to 200 uids
  • This param is ignored when you use sub account api key

Response Parameters

ParameterTypeComments
accountsarrayObject
> uidstringMaster/Sub user Id
> accountTypearrayWallets array. SPOT, CONTRACT, FUND, OPTION, UNIFIED. Please check above practice to understand the value

Request Example

GET /user/v3/private/get-member-type HTTP/1.1
Host: api.bybit.com
X-BAPI-API-KEY: XXXXX
X-BAPI-TIMESTAMP: 1686882546210
X-BAPI-RECV-WINDOW: 50000
X-BAPI-SIGN: XXXXX
Content-Type: application/json

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"accounts": [
{
"uid": "XXXXX",
"accountType": [
"SPOT",
"OPTION",
"FUND",
"CONTRACT"
]
}
]
},
"retExtInfo": {},
"time": 1686880658551
}