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 /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. SPOT, CONTRACT, FUND, OPTION, UNIFIED. Please check above practice to understand the value

Request Example

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

Response Example

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