Skip to main content

Upgrade to Unified Account Pro

Upgrade Guidance

Check your current account status by calling this Get Account Info

  • if unifiedMarginStatus=5, then it is UTA2.0, you can call below upgrade endpoint to UTA2.0 Pro. Check Get Account Info after a while and if unifiedMarginStatus=6, then the account has successfully upgraded to UTA2.0 Pro.
info

please note belows:

  1. Please avoid upgrading during these period:
every hour50th minute to 5th minute of next hour
  1. Please ensure: there is no open orders when upgrade from UTA2.0 to UTA2.0 Pro

  2. During the account upgrade process, the data of Rest API/Websocket stream may be inaccurate due to the fact that the account-related asset data is in the processing state. It is recommended to query and use it after the upgrade is completed.

HTTP Request

POST /v5/account/upgrade-to-uta

Request Parameters

None

Response Parameters

ParameterTypeComments
unifiedUpdateStatusstringUpgrade status. FAIL,PROCESS,SUCCESS
unifiedUpdateMsgObjectIf PROCESS,SUCCESS, it returns null
> msgarrayError message array. Only FAIL will have this field

Request Example

POST /v5/account/upgrade-to-uta HTTP/1.1
Host: api-testnet.bybit.com
X-BAPI-SIGN: XXXXX
X-BAPI-API-KEY: xxxxxxxxxxxxxxxxxx
X-BAPI-TIMESTAMP: 1672125123533
X-BAPI-RECV-WINDOW: 5000
Content-Type: application/json

{}

Response Example

{
"retCode": 0,
"retMsg": "",
"result": {
"unifiedUpdateStatus": "FAIL",
"unifiedUpdateMsg": {
"msg": [
"Update account failed. You have outstanding liabilities in your Spot account.",
"Update account failed. Please close the usdc perpetual positions in USDC Account.",
"unable to upgrade, please cancel the usdt perpetual open orders in USDT account.",
"unable to upgrade, please close the usdt perpetual positions in USDT account."
]
}
},
"retExtInfo": {},
"time": 1672125124195
}