V5
2024-11-19
REST API
- Get Instruments Info [UPDATE]
- For category=
spot
, added response fieldstTag
- For category=
2024-11-14
REST API
- Get Long Short Ratio [UPDATE]
- Add request parameter
startTime
,endTime
, used to query historical data by filter time range
- Add request parameter
2024-11-05
- Kazakhstan users registered from "www.bybit.kz", please use "api.bybit.kz" and "stream.bybit.kz" hostnames.
2024-10-30
REST API
- Get Collateral Info [UPDATE]
- Add a new response field
otherBorrowAmount
- Add a new response field
2024-10-15
Websocket API
- Add websocket domain
stream.bybit-tr.com
for the users registered from "www.bybit-tr.com". For these users, now you can use this domain to place orders via websocket trade service.
2024-10-11
REST API
- Crypto Loan open API are released to production
2024-09-29
Websocket API
2024-09-12
REST API
Query Voucher Spec [NEW]
- Add voucher API for exchange broker clients
Issue Voucher [NEW]
- Add voucher API for exchange broker clients
Query Issued Voucher [NEW]
- Add voucher API for exchange broker clients
2024-08-29
REST API
Get Order History [UPDATE]
- Classic account Spot trading supports getting the past 2 years Filled, Triggered orders
- Support using
startTime
andendTime
Get Trade History [UPDATE]
- Classic account Spot trading supports getting the past 2 years trades
- Support using
startTime
andendTime
Get Pre-upgrade Order History [UPDATE]
- Support using
startTime
andendTime
- Support using
Get Pre-upgrade Trade History [UPDATE]
- Support using
startTime
andendTime
- Support using
2024-08-13
REST API
- Get Loan Orders [UPDATE]
- Add a new response param
reserveToken
,reserveQuantity
- Add a new response param
2024-08-07
REST API
- Request a Quote [UPDATE]
- Add two new request parameter for API broker client,
paramType
,paramValue
- Add two new request parameter for API broker client,
- Get Convert history [UPDATE]
- Add two new response
paramType
,paramValue
in the "extInfo" object
- Add two new response
2024-08-06
REST API
- Demo Trading Service [Demo trading]
- Add request param
adjustType
to determine adding or reducing the demo funds
- Add request param
2024-07-30
Websocket API
- Fast Execution [UPDATE]
- Add response field
isMaker
- Supports Spot execution
- Add response field
2024-07-25
REST API
- Get Historical Interest Rate [NEW]
- Add a new endpoint to query historical borrowing interest rate of Margin trading
2024-07-09
Websocket API
- Fast Execution [UPDATE]
- Add categorised topic,
execution.fast.linear
,execution.fast.inverse
- Add categorised topic,
2024-07-04
REST API
New feature: open api supports the conversion of crypto assets
Get Convert Coin List [NEW]
Request a Quote [NEW]
Confirm a Quote [NEW]
Get Convert Status [NEW]
Get Convert history [NEW]
2024-07-03
Get Exchange Broker Earning [UPDATE]
- Request parameter
bizType
adds a new enum value "CONVERT" - Response parameter
bizType
adds a new enum value "CONVERT" - Add new response fields
convert
- Request parameter
Get Exchange Broker Account Info [UPDATE]
- Add new response fields
convert
- Add new response fields
2024-07-01
- Integration Guidance [UPDATE]
- To obey the compliance rule, the new domain is added for Turkey region users.
2024-06-27
REST API
Get Instruments Info [UPDATE]
- Pre-market contract: add new response fields
isPreListing
,preListingInfo
,curAuctionPhase
,phases
,startTime
,endTime
,auctionFeeInfo
,auctionFeeRate
,takerFeeRate
,makerFeeRate
- Request parameter
status
supportsClosed
,Delivering
,PreLaunch
for category="inverse" and "linear" - When category=linear&status=PreLaunch, you can get pre-market perpetual
- Pre-market contract: add new response fields
Get Tickers [UPDATE]
- Pre-market contract: add new response fields
preOpenPrice
,preQty
,curPreListingPhase
- Pre-market contract: add new response fields
New error codes related to pre-market perpetual trading
110095
: You cannot create, modify or cancel Pre-Market Perpetual orders during the Call Auction.110096
: Pre-Market Perpetual Trading does not support Portfolio Margin mode.110097
: Non-UTA users cannot access Pre-Market Perpetual Trading. To place, modify or cancel Pre-Market Perpetual orders, please upgrade your Standard Account to UTA.110098
: Only Good-Till-Canceled (GTC) orders are supported during Call Auction.110099
: You cannot create TP/SL orders during the Call Auction for Pre-Market Perpetuals.110100
: You cannot place, modify, or cancel Pre-Market Perpetual orders when you are in Demo Trading.3777029
: You currently have orders for pre-market trading that can’t be bind UIDs3200419
: Unable to switch to Portfolio margin due to active pre-market Perpetual orders and positions
Websocket API
- Tickers [UPDATE]
- Pre-market contract: add new response fields
preOpenPrice
,preQty
,curPreListingPhase
- Pre-market contract: add new response fields
2024-06-20
REST API
- Place Order [UPDATE]
marketUnit
field now supports orderFilter=tpslOrder, StopOrder when placing Spot market order (UTA)
- Batch Place Order [UPDATE]
marketUnit
field now supports orderFilter=tpslOrder, StopOrder when placing Spot market order (UTA)
2024-06-18
REST API
Set Disconnect Cancel All [UPDATE]
- Add
product
request parameter, supportDERIVATIVES
,SPOT
andOPTIONS
- Add
Get Account Info [UPDATE]
- Depreciate the fields
dcpStatus
,timeWindow
- Depreciate the fields
Get DCP Info [NEW]
- Add a new API used to query dcp config data
Websocket API
- Dcp [UPDATE]
- Depreciate the topic name
dcp
- Add new topic names
dcp.future
,dcp.spot
,dcp.option
- Depreciate the topic name
2024-06-14
Websocket API
- Fast Execution [UPDATE]
orderLinkId
will be also output for a maker trade, but the value will be""
all the time.
2024-06-13
REST API
- Get Exchange Broker Earning [UPDATE]
- Changed from support query for the past 6 months to query for the past 1 month
2024-06-06
REST API
- Get Affiliate User Info [UPDATE]
- Add a new response field
KycLevel
- Add a new response field
Websocket API
- Fast Execution [NEW]
- Provide a lower latency execution event
2024-06-04
REST API
- Get Orderbook [UPDATE]
- A new response field
cts
added when category=spot, and it is matched with the "cts" from ws ob.200
- A new response field
2024-05-30
REST API
- Get Orderbook [UPDATE]
- A new response field
cts
added when category=linear & inverse, and it is matched with the "cts" from ws ob.500
- A new response field
2024-05-09
REST API
Get Risk Limit [UPDATE]
- When query category="linear", API returns 30 symbols data set each request, please add request parameter
cursor
paginate - Add new response parameter
nextPageCursor
- When query category="linear", API returns 30 symbols data set each request, please add request parameter
Withdraw [UPDATE]
- Add request parameter
beneficiary
,vaspEntityId
,beneficiaryName
, they are only used for kyc=KOR (Korean users) to fill travel rule info
- Add request parameter
Get Exchange Entity List [NEW]
- Add a new API for kyc=KOR users to query target exchange info when fill travel rule info
Create Internal Transfer [UPDATE]
- Add new response field
status
. When you get "PENDING", please call query API to check the final status after a while
- Add new response field
Create Universal Transfer [UPDATE]
- Add new response field
status
. When you get "PENDING", please call query API to check the final status after a while
- Add new response field
2024-05-06
Websocket API
- Websocket Trade Guideline [UPDATE]
- The websocket order entry feature is officially launched on 06/May/2024 8AM UTC.
2024-04-25
REST API
Get Transaction Log (UTA) [UPDATE]
- New transaction type value
ADL
- New transaction type value
Get Transaction Log (Classic) [NEW]
- New endpoint for Classic account derivatives wallet, and Unified account inverse derivatives wallet
Get Insurance [UPDATE]
- Add a new response field
symbols
- Add a new response field
2024-04-23
REST API
Get Internal Transfer Records [UPDATE]
- When
startTime
&endTime
are not passed together, API returns 30 days data by default
- When
Get Internal Transfer Records [UPDATE]
- When
startTime
&endTime
are not passed together, API returns 30 days data by default
- When
Websocket API
- Websocket Trade Guideline [UPDATE]
- Request parameter of Create/Amend/Cancel is changed from
headers
toheader
- Request parameter of Create/Amend/Cancel is changed from
2024-04-15
REST API
- Demo Trading Service [Demo trading]
- Request demo funds API update
2024-04-11
REST API
- Get Instruments Info [Futures]
- Add response fields
minNotionalValue
- Add response fields
2024-04-03
REST API
Get Sub Account Deposit Records [NEW]
- Add a new endpoint for exchange broker user to query sub account deposit records
2024-04-01
REST API
Get Sub UID List (Unlimited) [NEW]
- Add a new API to get sub uid entry. This supports pagnation.
Get Sub UID List (Limited) [UPDATE]
- Return up to 10k sub accounts
Websocket API
- Websocket Trade Guideline [UPDATE]
- URL uses
wss
as prefix
- URL uses
2024-03-28
Websocket API
- Websocket Trade Guideline [UPDATE]
- Create/Amend/Cancel request adds required header parameter
X-BAPI-TIMESTAMP
- Create/Amend/Cancel request adds required header parameter
2024-03-22
Integration Guidance [UPDATE]
- To obey the compliance rule, two new domains are added for Netherland users and Hong Kong users repectively.
Create Internal Transfer [UPDATE]
- API rate limit is increase from 20req/min to 60req/min
2024-03-21
- Get Orderbook [UPDATE]
- linear & inverse supports up to limit=500
- linear & inverse, field
u
is matched with theu
in ws 500 level
2024-03-13
REST API
Set Deposit Account [UPDATE]
OPTION
(USDC Contract wallet) is no longer supported to set for classic account
Get Announcement [UPDATE]
- Add a new response field
publishTime
- Add a new response field
2024-03-12
REST API
- Set Risk Limit [DEPRECIATE]
- Since auto risk limit has been launched, it is meaningless to use this API
2024-03-11
REST API
- Get Order History [UPDATE]
- UTA(spot, linear, option) can only query last 24 hours full cancelled orders records
2024-03-06
REST API
Batch Place Order [UPDATE]
- Support Spot trading (UTA, UTA Pro)
Batch Amend Order [UPDATE]
- Support Spot trading (UTA, UTA Pro)
Batch Cancel Order [UPDATE]
- Support Spot trading (UTA, UTA Pro)
2024-03-05
REST API
- Get Position Info [UPDATE]
- Add new response field
sessionAvgPrice
for USDC contracts - Add new response field
curRealisedPnl
for Perps, Futures and Option cumRealisedPnl
is deprecated for Option- Add new response fields
delta
,vega
,theta
,gamma
for Option
- Add new response field
Websocket API
- Position [UPDATE]
- Add new response field
sessionAvgPrice
for USDC contracts - Add new response field
curRealisedPnl
for Perps, Futures and Option cumRealisedPnl
is deprecated for Option- Add new response fields
delta
,vega
,theta
,gamma
for Option
- Add new response field
2024-03-04
REST API
- Get Public Recent Trading History
- Add new response fields for Option only.
mP
,iP
,mIv
,iv
- Add new response fields for Option only.
Websocket API
- Trade
- Add new stream fields for Option only.
mP
,iP
,mIv
,iv
- Add new stream fields for Option only.
2024-03-01
REST API
- All C2C-Lending APIs are abandoned due to the merge between Lending and Flexible Savings
2024-02-29
REST API
Get Borrow History [UPDATE]
startTime
&endTime
are restricted to 30 days time range- Support getting up to 2 years data
Get Delivery Record [UPDATE]
- Add query parameter
startTime
&endTime
, and 30 days times range per request - Support getting up to 2 years data
- Add query parameter
Get USDC Session Settlement [UPDATE]
- Add query parameter
startTime
&endTime
, and 30 days times range per request - Support getting up to 2 years data
- Add query parameter
Get Orderbook [UPDATE]
- Add a new response field
seq
for linear, inverse & spot
- Add a new response field
2024-02-28
REST API
- Get Withdrawal Records [UPDATE]
- New withdraw status enum value
MoreInformationRequired
- New withdraw status enum value
2024-02-21
REST API
- Get Instruments Info [Futures]
- Add response fields
maxMktOrderQty
postOnlyMaxOrderQty
is useless, usemaxOrderQty
for Limit and PostOnly order
- Add response fields
2024-02-06
REST API
- Get Instruments Info [Futures]
- Add response fields
upperFundingRate
andlowerFundingRate
- Add response fields
2024-02-05
REST API
- Get Order History [UPDATE]
- UTA (linear,spot,option) does not support querying open status orders any more
- Add a new error code: "181017", error message: "OrderStatus must be final status"
2024-01-18
REST API
- Get Instruments Info [Spot]
- Add new response fields
riskParameters
,limitParameter
,marketParameter
- Add new response fields
2024-01-16
REST API
Get Withdrawal Records [UPDATE]
- Add a new request param
txID
- The withdrawal between Bybit account returns
txID
- Add a new request param
Get Internal Deposit Records (off-chain) [UPDATE]
- Add a new request param
txID
- Add a new response field
txID
- Add a new request param
2024-01-15
REST API
Place Order [UPDATE]
- Spot(UTA) can use
takeProfit
,stopLoss
,tpLimitPrice
,slLimitPrice
,tpOrderType
,slOrderType
to set Market TPSL or Limit TPSL when creating Spot limit order.
- Spot(UTA) can use
Amend Order [UPDATE]
- Spot(UTA) can amend
takeProfit
,stopLoss
,tpLimitPrice
,slLimitPrice
if the original order has related attributes
- Spot(UTA) can amend
Cancel All Orders [UPDATE]
- Add new enums "OcoOrder", "BidirectionalTpslOrder" for
orderFilter
. You can only cancel all untriggered "BidirectionalTpslOrder"
- Add new enums "OcoOrder", "BidirectionalTpslOrder" for
Get Open Orders [UPDATE]
- Add new enum "BidirectionalTpslOrder" for
orderFilter
- Add new enum "BidirectionalTpslOrder" for
stopOrderType
- Add new enum "BidirectionalTpslOrder" for
Get Order History [UPDATE]
- Add new enum "BidirectionalTpslOrder" for
orderFilter
- Add new enum "BidirectionalTpslOrder" for
stopOrderType
- Add new enum "BidirectionalTpslOrder" for
Websocket API
- Order [UPDATE]
- Add new enum "BidirectionalTpslOrder" for
stopOrderType
- Add new enum "BidirectionalTpslOrder" for
2024-01-11
REST API
- Get Transaction Log [UPDATE]
- new type enums
FLEXIBLE_STAKING_SUBSCRIPTION
,FLEXIBLE_STAKING_REDEMPTION
,FIXED_STAKING_SUBSCRIPTION
- new type enums
2024-01-09
REST API
- Batch Set Collateral Coin [NEW]
- Add a new endpoint to batch set collateral coin for Unified account
2024-01-08
REST API
- Get Trade History [UPDATE]
- Add a new response field
feeCurrency
for UTA Spot trading fee currency
- Add a new response field
2024-01-02
REST API
Move Position [NEW]
- Add a new endpoint to move your positions between the main-sub, sub-sub accounts
Get Move Position History [NEW]
- Add a new endpoint to query move position history
Get Status And Leverage [UPDATE]
- Add a new response param
effectiveLeverage
.
- Add a new response param
Add error codes for transfer endpoints:
New error code | Description |
---|---|
131231 | Transfers into this account are not supported |
131232 | Transfers out this account are not supported |
2023-12-28
REST API
Get Loan Orders [UPDATE]
- Add a new response param
deferredLiquidationLine
,deferredLiquidationTime
- Add a new response param
Get LTV [UPDATE]
- Add a new response param
rst
.
- Add a new response param
Get Product Info [UPDATE]
- Add a new response param
deferredLiquidationLine
,deferredLiquidationTime
- Add a new response param
2023-12-22
REST API
Place Order [UPDATE]
- Add a new request param
marketUnit
, the value arebaseCoin
,quoteCoin
. It can be used to selectqty
unit for Spot market order (Unified account)
- Add a new request param
Get Open Orders [UPDATE]
- Add a new response param
marketUnit
- Add a new response param
Get Order History [UPDATE]
- Add a new response param
marketUnit
- Add a new response param
Websocket API
- Order [UPDATE]
- Add a new response param
marketUnit
- Add a new response param
2023-12-20
REST API
- Get Account Info [UPDATE]
smpGroup
is deprecated, please use Get SMP Group ID
2023-12-14
Websocket API
- Orderbook [UPDATE]
- Add a new field
cts
- Add a new field
2023-12-12
REST API
Get Order History [UPDATE]
- Add a response field
createType
- Add a response field
Get Open Orders [UPDATE]
- Add a response field
createType
- Add a response field
Get Trade History [UPDATE]
- Add a response field
createType
- Add a response field
Get SMP Group ID [NEW]
- Add a new endpoint to get smp group ID
Websocket API
2023-12-07
REST API
- Repay Liability [NEW]
- Add a new endpoint to repay the liability of Unified Account
2023-12-04
REST API
Get Broker Earning [deprecated]
- deprecated, replaced by Get Exchange Broker Earning
Get Exchange Broker Earning [NEW]
- Add a new endpoint to query exchange broker earning information
Get Exchange Broker Account Info [NEW]
- Add a new endpoint to query exchange broker main account information
2023-11-16
REST API
Set Spot Hedging [NEW]
- Add a new endpoint to enable or disable Spot hedging function for Portfolio margin mode
Get Wallet Balance [UPDATE]
- Add a new response field
spotHedgingQty
- Add a new response field
Get Account Info [UPDATE]
- Add a new response field
spotHedgingStatus
- Add a new response field
Websocket API
- Wallet [UPDATE]
- Add a new response field
spotHedgingQty
- Add a new response field
2023-11-14
REST API
- Withdraw [UPDATE]
- The rate limit is changed from 10 req/min to 1 req/s
2023-11-09
REST API
Get Open Orders [UPDATE]
- Classic account Spot can use
orderFilter
="OcoOrder"
- Classic account Spot can use
Get Order History [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params - Classic account Spot can use
orderFilter
="OcoOrder"
- Add the time range limitation for
Get Trade History [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params
- Add the time range limitation for
Get Closed PnL [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params - Classic account data is sort by
updatedTime
- Add the time range limitation for
Get Transaction Log [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params
- Add the time range limitation for
Get Pre-upgrade Order History [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params
- Add the time range limitation for
Get Pre-upgrade Trade History [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params
- Add the time range limitation for
Get Pre-upgrade Closed PnL [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params - Classic account data is sort by
updatedTime
- Add the time range limitation for
Get Pre-upgrade Transaction Log [UPDATE]
- Add the time range limitation for
startTime
andendTime
request params
- Add the time range limitation for
Get Sub Account All API Keys [NEW]
- Add new endpoint for master account to query all api keys of a sub UID
2023-11-08
REST API
- Bind Or Unbind UID [NEW]
- Add a new endpoint to bind or unbind UID for OTC loan products
2023-11-02
REST API
Amend Order [UPDATE]
- Add
tpslMode
in the request parameter
- Add
Batch Amend Order [UPDATE]
- Add
tpslMode
in the request parameter
- Add
Get Borrow Quota (Spot) [UPDATE]
- Add new response fields
spotMaxTradeQty
,spotMaxTradeAmount
- Add new response fields
Withdraw [UPDATE]
- Add new enum value for
forceChain
parameter. You can withdraw between Bybit main accounts via inputting UID
- Add new enum value for
Delete Sub UID [NEW]
- Add new endpoint to delete sub account
2023-11-01
REST API
- Amend Order [UPDATE]
- Spot supports amending order, category=
spot
- Spot supports amending order, category=
2023-10-26
REST API
Get Trade History [UPDATE]
- UTA Spot:
stopOrderType
,""
for normal order,tpslOrder
for TP/SL order,Stop
for conditional order,OcoOrder
for OCO order
- UTA Spot:
Get Open Orders [UPDATE]
- UTA Spot: add new response field
ocoTriggerBy
, and the value can beOcoTriggerByUnknown
,OcoTriggerByTp
,OcoTriggerBySl
- UTA Spot: add new response field
Get Order History [UPDATE]
- UTA Spot: add new response field
ocoTriggerBy
, and the value can beOcoTriggerByUnknown
,OcoTriggerByTp
,OcoTriggerBySl
- UTA Spot: add new response field
Websocket API
- Order [UPDATE]
- UTA Spot: add new response field
ocoTriggerBy
, and the value can beOcoTriggerByUnknown
,OcoTriggerByTp
,OcoTriggerBySl
- UTA Spot: add new response field
2023-10-25
REST API
Get Position Info [UPDATE]
- Add response field
isReduceOnly
,mmrSysUpdatedTime
,leverageSysUpdatedTime
- Add response field
Confirm New Risk Limit [NEW]
- Add a new endpoint
Websocket API
- Position [UPDATE]
- Add response field
isReduceOnly
,mmrSysUpdatedTime
,leverageSysUpdatedTime
- Add response field
2023-10-17
REST API
Get API Key Information [UPDATE]
- Add a new response field
kycLevel
,kycRegion
- Add a new response field
Get Borrow History [UPDATE]
- Add new response fields
borrowAmount
,unrealisedLoss
,freeBorrowedAmount
- Add new response fields
2023-10-09
Websocket API
- Orderbook [Spot]
- Add a new level 200 data with frequency 200ms
2023-09-28
REST API
- Get Long Short Ratio [NEW]
- Add a new endpoint to query long short ratio market data
2023-09-25
REST API
Get Open Orders [UPDATE]
stopOrderType
has new enumeration value:OcoOrder
, used to indicate the Spot OCO Order (Unified Trading Account)
Get Order History [UPDATE]
stopOrderType
has new enumeration value:OcoOrder
, used to indicate the Spot OCO Order (Unified Trading Account)
Get Trade History [UPDATE]
execType
has new enumeration value:MovePosition
, used to indicate the position movement execution (Unified Trading Account)
Get Transaction Log [UPDATE]
type
has new enumeration values:TRANSFER_IN_INS_LOAN
,TRANSFER_OUT_INS_LOAN
(Unified Trading Account)
Get Transaction Log [UPDATE]
type
has new enumeration values:SPOT_REPAYMENT_SELL
,SPOT_REPAYMENT_BUY
(Unified Trading Account)
Websocket API
- Order [UPDATE]
stopOrderType
has new enumeration value:OcoOrder
, used to indicate the Spot OCO Order (Unified Trading Account)
2023-09-21
REST API
- Get Trade History [UPDATE]
- Add response field
seq
- Add response field
- Get Position Info [UPDATE]
- Add response field
seq
- Add response field
- Get Collateral Info [UPDATE]
- Added "freeBorrowAmount" field: This field represents the amount of borrowing within your total borrowing amount that is exempt from interest charges
- deprecated "freeBorrowingAmount" field: The value of this field has been migrated to "freeBorrowingLimit", and it keeps empty string.
- Added "freeBorrowingLimit" field: This field indicates the maximum limit for interest-free borrowing. If the unrealized loss portion exceeds this limit, all borrowings will be subject to interest.
WebSocket API
- Position [UPDATE]
- Add response field
seq
- Can subscribe specific category position
- Add response field
- Execution [UPDATE]
- Add response field
seq
- Can subscribe specific category position
- Add response field
- Order [UPDATE]
- Can subscribe specific category position
2023-09-18
REST API
- Create Sub UID API Key [UPDATE]
- Request parameter
ips
is actually string type. array can be used, but string is more explicit - Request parameter
Derivatives
has been deprecated due to auto identification by system
- Request parameter
- Modify Master API Key [UPDATE]
- Request parameter
ips
is actually string type. array can be used, but string is more explicit - Request parameter
Derivatives
has been deprecated due to auto identification by system
- Request parameter
- Modify Sub API Key [UPDATE]
- Add a new request param
apikey
, which can be used for Master account to manage sub account api key - Request parameter
ips
is actually string type. array can be used, but string is more explicit - Request parameter
Derivatives
has been deprecated due to auto identification by system
- Add a new request param
- Delete Sub API Key [UPDATE]
- Add a new request param
apikey
, which can be used for Master account to delete sub account api key
- Add a new request param
2023-09-14
REST API
- Get Product Info [UPDATE]
- Add a new response field
spotMarginTrading
- You can use api key and secret to call this endpoint to get your private data if you are eligible.
- Add a new response field
- Get Margin Coin Info [UPDATE]
- You can use api key and secret to call this endpoint to get your private data if you are eligible.
- Get Loan Orders [UPDATE]
- Add a new response field
spotMarginTrading
- The meaning of
parentUid
is changed. After the change, it represents the uid that bound with OTC loan product
- Add a new response field
- Get LTV [NEW]
- The meaning of
parentUid
is changed. After the change, it represents the uid that bound with OTC loan product
- The meaning of
2023-09-07
REST API
- Get Open Orders [UPDATE]
- By
/v5/order/realtime?category=inverse
, you can get all inverse contracts opening orders
- By
- Get Position Info [UPDATE]
- By
/v5/position/list?category=inverse
, you can get all inverse contracts holding positions symbol
supports multiple values for category=inverse
- By
2023-09-04
REST API
- Batch Place Order [UPDATE]
- UTA Pro: support USDT perp, USDC perp & USDC Futures batch place orders
- Batch Amend Order [UPDATE]
- UTA Pro: support USDT perp, USDC perp & USDC Futures batch amend orders
- Batch Cancel Order [UPDATE]
- UTA Pro: support USDT perp, USDC perp & USDC Futures batch cancel orders
2023-08-31
REST API
- Cancel All Orders [UPDATE]
- add new request params
stopOrderType
- enumerations
Order
andStopOrder
for orderFilter support linear and inverse product types
- add new request params
- Get Deposit Records (on chain) [UPDATE]
- Add a new response field
depositType
. You can process deposit assets when the deposit has daily deposit limit or abnormal deposit issue.
- Add a new response field
- Get Sub Deposit Records (on chain) [UPDATE]
- Add a new response field
depositType
. You can process deposit assets when the deposit has daily deposit limit or abnormal deposit issue.
- Add a new response field
2023-08-30
REST API
- Get API Key Information [UPDATE]
- Add a new response field
parentUid
- Add a new response field
2023-08-25
REST API
- Enable Universal Transfer for Sub UID [Depreciate]
- Depreciate this endpoint due to business logic is updated
2023-08-24
REST API
- Get VIP Margin Data [NEW]
- Add new endpoint used to query margin data for different VIP levels (Unified Account)
- Toggle Margin Trade [UPDATE]
- Adjust error code
Old error code | New error code | Msg |
---|---|---|
182021 | Cannot enable spot margin while in isolated margin mode. Please switch to cross margin mode or portfolio margin mode to trade spot with margin. |
2023-08-22
REST API
- Get Transaction Log [UPDATE]
- Add a new response field
id
, which is a unique id for each transaction log
- Add a new response field
- Get Status And Leverage [NEW]
- Add a new endpoint to query margin trade status and leverage of Unified account
2023-08-17
REST API
- Get Deposit Records (on chain) [UPDATE]
- Add a new response field
batchReleaseLimit
, which means the daily deposit limit amount
- Add a new response field
- Get Sub Deposit Records (on chain) [UPDATE]
- Add a new response field
batchReleaseLimit
, which means the daily deposit limit amount
- Add a new response field
- Get Master Deposit Address [UPDATE]
- Add a new response field
batchReleaseLimit
, which means the daily deposit limit amount
- Add a new response field
- Get Sub Deposit Address [UPDATE]
- Add a new response field
batchReleaseLimit
, which means the daily deposit limit amount
- Add a new response field
2023-08-15
REST API
- Get VIP Margin Data [NEW]
- Add new endpoint used to query margin data for different VIP levels (Classic Account)
2023-08-11
REST API
- Get Wallet Balance [UPDATE]
availableToBorrow
always returns""
because main-sub uids share borrow quota
- Get Collateral Info [UPDATE]
- Add new response field
borrowUsageRate
availableToBorrow
is a shared value across main-sub uids
- Add new response field
Websocket API
- Wallet [UPDATE]
availableToBorrow
always returns""
because main-sub uids share borrow quota
2023-08-10
REST API
- Set Collateral Coin [NEW]
- Add a new endpoint to set collateral coin in the Unified account
- Get Account Info [UPDATE]
- Add a new response field
isMasterTrader
to indicate if the account is master trader (copytrading)
- Add a new response field
2023-08-08
REST API
- Upgrade to Unified Account [UPDATE]
- Supports account upgraded to UTA Pro
- Get Account Info [UPDATE]
- "unifiedMarginStatus" has a new enum
4
to indicate UTA Pro
- "unifiedMarginStatus" has a new enum
2023-08-07
REST API
- Place Order [UPDATE]
- Spot supports conditional order, orderFilter adds a new enum value
StopOrder
- Spot supports conditional order, orderFilter adds a new enum value
- Cancel Order [UPDATE]
- Spot supports conditional order, orderFilter adds a new enum value
StopOrder
- Spot supports conditional order, orderFilter adds a new enum value
- Cancel All Orders [UPDATE]
- Spot supports conditional order, orderFilter adds a new enum value
StopOrder
- Spot supports conditional order, orderFilter adds a new enum value
- Get Open Orders [UPDATE]
- Spot supports conditional order, orderFilter adds a new enum value
StopOrder
, stopOrderType reusesStop
for Futures and Spot conditional order
- Spot supports conditional order, orderFilter adds a new enum value
- Get Order History [UPDATE]
- Spot supports conditional order, orderFilter adds a new enum value
StopOrder
, stopOrderType reusesStop
for Futures and Spot conditional order
- Spot supports conditional order, orderFilter adds a new enum value
Websocket API
- Order [UPDATE]
- stopOrderType reuses
Stop
for Futures and Spot conditional order - Add new field
feeCurrency
, which is used to identify Spot trading fee asset updatedTime
has value for classic account Spot trading
- stopOrderType reuses
2023-07-31
REST API
- Get Position Info
- Get Collateral Info
- Add new response field
collateralSwitch
- Add new response field
- Get Wallet Balance
- Add new response field
collateralSwitch
- Add new response field
WebSocket API
2023-07-24
REST API
- Get Product Info
- Add new Response fields:
USDTPerpetualOpenLine``USDCContractOpenLine
,USDCOptionsOpenLine
,USDTPerpetualCloseLine
,USDCContractCloseLine
,USDCOptionsCloseLine
,USDCContractSymbols
,USDCOptionsSymbols
,marginLeverage
,USDTPerpetualLeverage
,symbol
,leverage
,USDCContractLeverage
- Add new Response fields:
- Get Loan Orders
- Add new Response fields:
USDTPerpetualOpenLine
,USDCContractOpenLine
,USDCOptionsOpenLine
,USDTPerpetualCloseLine
,USDCContractCloseLine
,USDCOptionsCloseLine
,USDCContractSymbols
,USDCOptionsSymbols
,marginLeverage
,USDTPerpetualLeverage
,symbol
,leverage
,USDCContractLeverage
- Add new Response fields:
- Get Single Coin Balance
- Add new request param:
toAccountType
,toMemberId
,withLtvTransferSafeAmount
- Add new response field:
ltvTransferSafeAmount
- Add new request param:
- Add error codes for UTA with OTC loan when trade Spot, Futures and Option
New error code | Description |
---|---|
30133 | USDT Perp: When the trading pair is not in the whitelist |
30134 | USDC Contract: When the trading pair is not in the whitelist |
30135 | USDT Perp: When you try to change a leverage higher than the maximum leverage in OTC loan |
30136 | USDC Contract: When you try to change a leverage higher than the maximum leverage in OTC loan |
3200316 | Option: restrict to trade |
3200317 | Option: restrict to buy |
170709 | Spot: When the trading pair is not in the whitelist |
170215 | Spot: restrict to buy |
170216 | Spot: margin leverage exceeded |
170220 | Spot: restrict to trade |
2023-07-13
REST API
- Get Sub UID List
- Add a new response field
accountMode
to distinguish the account mode
- Add a new response field
- Get Kline
- Increase max limit from 200 to 1000
- Get Mark Price Kline
- Increase max limit from 200 to 1000
- Get Index Price Kline
- Increase max limit from 200 to 1000
- Get Premium Index Price Kline
- Increase max limit from 200 to 1000
2023-07-04
REST API
- Get Bybit Sever Time
- Add a new API to get server time
- Set Disconnect Cancel All [Option]
- Expand configurable disconnection window time from [10, 300] to [3, 300] seconds
2023-06-26
WebSocket API
- Orderbook [Spot]
- Improve the push frequency from 100ms to 20ms of level 50
2023-06-24
REST API
- Get Instruments Info [UPDATE]
- When category=linear, add a new response params
copyTrading
to indicate this trading pair supporting copy trade or not for UTA and normal account
- When category=linear, add a new response params
2023-06-15
REST API
- Get Pre-upgrade Transaction Log [NEW]
- A brand new endpoint to for Unified account to query pre-upgrade USDC Derivatives transaction logs
- Get Pre-upgrade Delivery Record [NEW]
- A brand new endpoint to for Unified account to query pre-upgrade Option delivery records
- Get Pre-upgrade USDC Session Settlement [NEW]
- A brand new endpoint to for Unified account to query pre-upgrade USDC Perpetual session settlement
- Create Sub UID [UPDATE]
- Support to create a UTA sub account
- Modify Master API Key [UPDATE]
- "permissions" becomes non-mandatory param
- Modify Sub API Key [UPDATE]
- "permissions" becomes non-mandatory param
- Get UID Wallet Type [NEW]
- A brand new endpoint to check the wallet types supported
2023-06-14
REST API
- Get Broker Earning [NEW]
- A brand new endpoint for exchange broker to get the earnings.
2023-06-08
REST API
- Get Fee Rate [UPDATE]
- Support to get USDC perp & USDC futures trading fee rate
2023-06-07
REST API
- Withdraw [UPDATE]
- Add new request param
feeType
, which is used to select the withdrawal fee operation type when withdraw
- Add new request param
2023-06-02
REST API
- Get Affiliate User Info [New]
- A brand new endpoint, which is used for affiliate to check the basic information of their users
2023-06-01
REST API
- Set Margin Mode [UPDATE]
- UTA account supports isolated margin, a new enum
ISOLATED_MARGIN
for request param "setMarginMode"
- UTA account supports isolated margin, a new enum
- Switch Position Mode [UPDATE]
- UTA account supports Hedge mode for USDT Perp when it is isolated margin or cross margin mode
- Get Position Info [UPDATE]
- Add new response field
positionBalance
- Add new response field
- Get Account Info [UPDATE]
- "marginTrade" field has a new enum value -
ISOLATED_MARGIN
- "marginTrade" field has a new enum value -
- Set Auto Add Margin [UPDATE]
- add category enum
linear
for UTA
- add category enum
- Add Or Reduce Margin [UPDATE]
- A brand new endpoint is used to add or reduce specific margin you want
WebSocket API
- Position [UPDATE]
- Add new response param
positionBalance
- Add new response param
2023-05-30
REST API
- Get Instruments Info [UPDATE]
- When category=spot, add a new response params
marginTrading
to indicate this trading pair supporting margin trade or not for UTA and normal account
- When category=spot, add a new response params
2023-05-23
REST API
- Place Order [UPDATE]
- Add new request params for new TP/SL
tpslMode
,tpLimitPrice
,slLimitPrice
,tpOrderType
,slOrderType
- Add new request params for new TP/SL
- Amend Order [UPDATE]
- Add new request params for new TP/SL
tpLimitPrice
,slLimitPrice
- Add new request params for new TP/SL
- Get Open Orders [UPDATE]
- Add new response params for new TP/SL
tpslMode
,tpLimitPrice
,slLimitPrice
- Add new response params for new TP/SL
- Get Order History [UPDATE]
- Add new response params for new TP/SL
tpslMode
,tpLimitPrice
,slLimitPrice
- Add new response params for new TP/SL
- Get Position Info [UPDATE]
tpslMode
in the position is deprecated
- Set Trading Stop [UPDATE]
- Add new request params for new TP/SL
tpslMode
,tpLimitPrice
,slLimitPrice
,tpOrderType
,slOrderType
- Add new request params for new TP/SL
WebSocket API
- Position [UPDATE]
tpslMode
in the position is deprecated
- Order [UPDATE]
- Add new response params for new TP/SL
tpslMode
,tpLimitPrice
,slLimitPrice
- Add new response params for new TP/SL
2023-05-10
REST API
- Set Risk Limit [UPDATE]
- Adjust the error code
Old error code | New error code | Msg |
---|---|---|
110075 | RiskId is not modified |
2023-05-05
REST API
- Get Margin Coin Info With Conversion Rate [NEW]
- add new endpoint to query Margin Coin Info With Conversion Rate
- Get LTV with Ladder Conversion Rate [NEW]
- add new endpoint to query LTV With Conversion Rate
2023-05-04
REST API
- Get Trade History [UPDATE]
symbol
is no longer mandatory for normal account when get derivatives
- Get Closed PnL [UPDATE]
symbol
is no longer mandatory for normal account when get derivatives
2023-04-20
REST API
- Place Order [UPDATE]
- add new request param
smpType
used to select SMP execution type
- add new request param
- Get Open Orders [UPDATE]
- add new response fields
smpType
,smpOrderId
,smpGroup
- add new enum
cancelBySmp
ofcancelType
- add new response fields
- Get Order History [UPDATE]
- add new response fields
smpType
,smpOrderId
,smpGroup
- add new enum
cancelBySmp
ofcancelType
- add new response fields
- Get Account Info [UPDATE]
- add new response fields
dcpStatus
,timeWindow
,smpGroup
- add new response fields
WebSocket API
- Order [UPDATE]
- add new response fields
smpType
,smpOrderId
,smpGroup
- add new enum
cancelBySmp
ofcancelType
- add new response fields
2023-04-06
REST API
- Get Instruments Info [UPDATE]
- add request param
status
to filter symbol status
- add request param
2023-04-04
REST API
- Get Instruments Info [UPDATE]
- add request param
startTime
endTime
, effective for UTA mode - add response param
placeType
, used for option
- add request param
2023-04-04
REST API
- Get Order History [UPDATE]
- add request param
startTime
endTime
, effective for UTA mode - add response param
placeType
, used for option
- add request param
- Get Trade History [UPDATE]
- add response param
closedSize
- add response param
- Get Position Info [UPDATE]
- add response param
adlRankIndicator
- add response param
WebSocket API
- Position [UPDATE]
- add response param
adlRankIndicator
category
field is added to UTA stream
- add response param
- Order [UPDATE]
- add response param
placeType
, used for option
- add response param
- Execution [UPDATE]
- add response param
closedSize
- add response param
2023-03-24
REST API
- Get Fee Rate [UPDATE]
- Support to get Spot fee rate
2023-03-23
REST API
- Get Wallet Balance [UPDATE]
- Add a new response field
accountLTV
- Add a new response field
- Create Sub UID API Key [UPDATE]
- Add a new permission value
SubMemberTransferList
for Sub account Wallet
- Add a new permission value
- Create Universal Transfer [UPDATE]
- Support to use Sub acct api key to request
- Get Universal Transfer List [UPDATE]
- Support to use Sub acct api key to request
WebSocket API
- Wallet [UPDATE]
- Add a new response field
accountLTV
- Add a new response field
2023-03-22
REST API
- Get Announcement [NEW]
- A brand new API to get Bybit announcements
2023-03-15
REST API
- Get Single Coin Balance [UPDATE]
- Add a new request param
withTransferSafeAmount
and a new response fieldtransferSafeAmount
- Add a new request param
2023-03-10
REST API
- Get Instruments Info [UPDATE]
- Unify the enums of
status
for Spot, Derivatives and Options. UseTrading
,Closed
,Settling
,PreLaunch
,Deliverying
- Remove duplicate
category
field in the Options response
- Unify the enums of
- Get Fee Rate [UPDATE]
- Support to get Options trading fee rate
2023-03-09
REST API
- Set Leverage [UPDATE]
- UTA user can set up to 10X for margin trade
- Get Wallet Balance [UPDATE]
- Before adjustment: normal account gets error code and message when call accountType=UNIFIED.
After adjustment: normal account gets http code 400 when call accountType=UNIFIED
- Before adjustment: normal account gets error code and message when call accountType=UNIFIED.
2023-02-28
REST API
- IP Rate Limit [UPDATE]
- Due to the switch to CloudFront, the IP limit rules have been adjusted appropriately
- Get Wallet Balance [UPDATE]
- Add a new response field
bonus
- Add a new response field
- Get Transaction Log [UPDATE]
- Add a new response field
bonusChange
- Add a new response field
- Get Coin Information [UPDATE]
- Add a new response field
withdrawPercentageFee
- Add a new response field
- Create Sub UID [UPDATE]
- Add a new request param
password
- Add a new request param
- Get API Key Information [UPDATE]
- Add a new response field
isMaster
- Add a new response field
- Get Delay Withdraw Amount [NEW]
- New api to know that how much amount cannot be withdrawn temporarily due to risk
- Get Internal Deposit Records (across Bybit) [NEW]
- New api to get internal deposit on Bybit platform
WebSocket API
- Wallet [UPDATE]
- Add a new field
bonus
- Add a new field
2023-02-20
REST API
- Set Deposit Account [NEW]
- You can set auto-transfer-to account type after deposit
- Get API Key Information [UPDATE]
- Add a new response filed:
rsaPublicKey
- Add a new response filed:
- Create Universal Transfer [UPDATE]
- Change rate limit from 20 req/min to 1 req/sec
- Get Universal Transfer List [UPDATE]
- Change rate limit from 60 req/min to 2 req/sec
2023-02-15
REST API
- User [NEW]
- Add a set of user & api key related endpoints for V5
2023-02-14
REST API
- Get Fee Rate (Derivatives) [NEW]
- Get the trading fee rate for derivatives
- Withdraw [UPDATE]
- Select the wallet to be withdrawn from
- The default withdrawn wallet is Spot wallet
Req param | Required | Type | Comments |
---|---|---|---|
accountType | false | string | Select the wallet to be withdrawn from
|
2023-02-09
REST API
- Get All Coins Balance [NEW]
- Get all coins balance of a specified account in one request
- Set Disconnect Cancel All [NEW]
- Set DCP for Options trade
- Set MMP [NEW]
- Set MMP for Options tarde
- Reset MMP [NEW]
- To release MMP frozen status
- Get MMP State [NEW]
- Get MMP settings info
2023-01-19
REST API
- Set Margin Mode [UPDATE]
- Portfolio margin mode supports USDT Perpetual
- Get Position Info [UPDATE]
- For portfolio margin mode,
positionIM
,positionMM
,leverage
,riskLimitValue
returns "",riskId
returns 0
- For portfolio margin mode,
- Get Wallet Balance [UPDATE]
- For portfolio margin mode,
totalOrderIM
,totalPositionIM
,totoalPositionMM
returns ""
- For portfolio margin mode,
WebSocket API
- Position [UPDATE]
- For portfolio margin mode,
positionIM
,positionMM
,leverage
,riskLimitValue
returns "",riskId
returns 0
- For portfolio margin mode,
- Wallet [UPDATE]
- For portfolio margin mode,
totalOrderIM
,totalPositionIM
,totoalPositionMM
returns ""
- For portfolio margin mode,
2023-01-16
REST API
- Get Tickers [spot]
usdIndexPrice
has been added to response. It means USD index price, which can be empty.
WebSocket API
- Tickers [spot]
usdIndexPrice
has been added to stream. It means USD index price, which can be empty.
- Orderbook [linear contract & inverse contract]
- Add 500 level depth, push frequency is 100ms
2023-01-09
WebSocket API
- Tickers [linear contract & inverse contract]
nextFundingTime
has been changed from dataTime2023-01-05T08:00:00Z
to timestamp (ms)1672905600000
predicatedFundingRate
has been removed from stream