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
feeCoinSTRINGUSDTThe Coin to be charged as commission fee.
feeAmountSTRING0.006The commission fee to be charged for the last filled trade without Platform Coin deduction.. The unit is number of the "feeCoin"
sumFeeAmountSTRING0.006Accumulated commission to be charged for all trades of the order without Platform Coin deduction. The unit is number of the "feeCoin"
platformFeeCoinSTRINGHSKPlatform Coin used for commission deduction for the order
sumPlatformFeeAmountSTRING0.01710699553165824Accumulated Platform Coin spent as Commission fee deduction for the order
The unit is number of the platform coin.
ordCxlReasonSTRINGOrder cancel reason
Language
Credentials
Header
Click Try It! to start a request and see the response here!