Skip to main content

API Public Parameters

side(order direction)

FieldDescription
sellSell order
buyBuy order

orderType (Order Type)

FieldDescription
limitLimit order
marketMarket order

force (Order Type)

FieldDescription
normalDefault order, no special controls needed
postOnlyPost-only order
fokFill-Or-Kill order
iocImmediate-Or-Cancel order

status (Order Status)

FieldDescription
newUnfilled
partial_fillPartially filled
full_fillAll Filled
cancelledCanceled

groupType (Major transaction types)

FieldDescription
depositDeposit
withdrawWithdraw
transactionTrade
transferTransfer
otherOthers

bizType (Account capital flow operation type)

FieldDescription
depositDeposit
withdrawWithdraw
buyBuy
sellSell
transfer-inInbound transfer
transfer-outOutbound transfer

status (Order status)

FieldDescription
cancelCanceled
rejectRejected
successSuccess
wallet-failWallet failed
wallet-processingWallet is processing
first-auditFirst review
recheckSecond review
first-rejectFirst review rejected
recheck-rejectSecond review rejected

type (Withdrawal address query)

FieldDescription
chain-onOn-chain
inner-transferInternal address

accountType (Account type)

Not case-sensitive

FieldDescription
EXCHANGESpot account
OTC_SGDOTC account
CONTRACTFutures account
USD_MIXQuanto swap account
USDT_MIXUSDT-M perpetual futures account

Candlestick intervals (granularity)

  • 1min (1 minute)
  • 5min (5 minutes)
  • 15min (15 minutes)
  • 30min (30 minutes)
  • 1h (1 hour)
  • 4h (4 hours)
  • 12h (12 hours)
  • 1day (1 day)
  • 1week (1 week)