Skip to main content

Place limit order (USER_DATA)

API Description#

Enable users to place a limit order

HTTP Request#

POST /sapi/v1/convert/limit/placeOrder

Request Weight#

500(UID)

Request Parameters#

NameTypeMandatoryDescription
baseAssetSTRINGYESbase asset (use the response fromIsBase from GET /sapi/v1/convert/exchangeInfo api to check which one is baseAsset )
quoteAssetSTRINGYESquote asset
limitPriceDECIMALYESSymbol limit price (from baseAsset to quoteAsset)
baseAmountDECIMALNOBase asset amount. (One of baseAmount or quoteAmount is required)
quoteAmountDECIMALNOQuote asset amount. (One of baseAmount or quoteAmount is required)
sideENUMYESBUY or SELL
walletTypeENUMNOSPOT or FUNDING or SPOT_FUNDING. It is to use which type of assets. Default is SPOT.
expiredTypeENUMYES1_D, 3_D, 7_D, 30_D (D means day)
recvWindowLONGNO
timestampLONGYES
  • baseAsset or quoteAsset can be determined via exchangeInfo endpoint.
  • Limit price is defined from baseAsset to quoteAsset.
  • Either baseAmount or quoteAmount is used.

Response Example#

{   "quoteId":"12415572564",   "ratio":"38163.7",   "inverseRatio":"0.0000262",   "validTimestamp":1623319461670,   "toAmount":"3816.37",   "fromAmount":"0.1"}