API Reference

Query Order

Check a single order information

📘

Average price can be calculated by cumulativeQuoteQty / executedQty

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
feeCoinSTRINGUSDTFee Currency Name
feeAmountSTRING0.006Fee amount
sumFeeAmountSTRING0.006Sum fee amount
ordCxlReasonSTRINGOrder cancel reason
Language
Credentials
Header
Click Try It! to start a request and see the response here!