Skip to main content

V5

2023-03-24

REST API

2023-03-23

REST API

WebSocket API

  • Wallet [UPDATE]
    • Add a new response field accountLTV

2023-03-22

REST API

2023-03-15

REST API

  • Get Single Coin Balance [UPDATE]
    • Add a new request param withTransferSafeAmount and a new response field transferSafeAmount

2023-03-10

REST API

  • Get Instruments Info [UPDATE]

    • Unify the enums of status for Spot, Derivatives and Options. Use Trading, Closed, Settling, PreLaunch, Deliverying
    • Remove duplicate category field in the Options response
  • 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

2023-02-28

REST API

WebSocket API

  • Wallet [UPDATE]
    • Add a new field bonus

2023-02-20

REST API

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 paramRequiredTypeComments
accountTypefalsestringSelect the wallet to be withdrawn from
  • SPOT:spot wallet (default)
  • FUND:Funding wallet

2023-02-09

REST API

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
  • Get Wallet Balance [UPDATE]
    • For portfolio margin mode, totalOrderIM, totalPositionIM, totoalPositionMM returns ""

WebSocket API

  • Position [UPDATE]
    • For portfolio margin mode, positionIM, positionMM, leverage, riskLimitValue returns "", riskId returns 0
  • Wallet [UPDATE]
    • For portfolio margin mode, totalOrderIM, totalPositionIM, totoalPositionMM returns ""

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 dataTime 2023-01-05T08:00:00Z to timestamp (ms) 1672905600000
    • predicatedFundingRate has been removed from stream