API Reference

Query Order

Check a single order information

📘

Request parameter either orderId or origClientOrderId must be sent

Weight: 1

Request Parameters


PARAMETERPARAMETERReq'dDESCRIPTION
orderIdLONGCOrder ID
origClientOrderIdSTRINGCClient order ID
accountIdSTRINGAccount ID
timestampLONGYTimestamp

Response Content


PARAMETERTYPEExample valuesDESCRIPTION
accountIdLONG1453450776554918656Account number
exchangeIdLONG301Exchange number
symbolSTRINGBTCUSDTTrading pair
symbolNameSTRINGBTCUSDTTrading pair name
clientOrderIdSTRING168803658506716316An ID defined by the client for the order, it will be automatically generated if it is not sent in the request
orderIdLONG1453750674374393344System generated order ID
priceSTRING (decimal)28000Price
origQtySTRING (decimal)0.01Quantity
executedQtySTRING (decimal)0Traded volume
cumulativeQuoteQtySTRING (decimal)0Cumulative volume. Commonly known as Transaction Amount
avgPriceSTRING (decimal)0Average traded price
statusENUMNEWSee Enumeration Definition: Order status for details
timeInForceENUMGTCDuration of the order before expiring
typeENUMLIMITOrder Type
sideENUMSELLBUY or SELL
stopPriceSTRING (decimal)0.0Not used
icebergQtySTRING (decimal)0.0Not used
timeSTRING
(decimal)
1688036585077Order creation Timestamp
updateTimeSTRING
(decimal)
1688036585084Latest update Timestamp according to status
isWorkingBOOLEANTRUENot used
reqAmountLONG0Requested Cash amount
feeCoinSTRINGUSDT(Deprecated, will return Null) Fee Currency Name
feeAmountSTRING0.006(Deprecated, will return 0) Fee amount
sumFeeAmountSTRING0.006(Deprecated, will return 0) Sum fee amount
ordCxlReasonSTRINGOrder cancel reason
Language
Credentials
Header
Click Try It! to start a request and see the response here!