Query Order (USER_DATA)
Check an order's status.
- Either orderId or origClientOrderId must be sent.
- For some historical orders cummulativeQuoteQty will be < 0, meaning the data is not available at this time.
Weight(IP): 4
Query parameters
Trading symbol, e.g. BNBUSDT
Order id
Order id from client
The value cannot be greater than 60000
UTC timestamp in ms
Signature
Response
Order details
Example response
{
"symbol": "LTCBTC",
"orderId": 1,
"orderListId": -1,
"clientOrderId": "myOrder1",
"price": "0.1",
"origQty": "1.0",
"executedQty": "0.0",
"cummulativeQuoteQty": "0.0",
"status": "NEW",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "BUY",
"stopPrice": "0.0",
"icebergQty": "0.0",
"time": 1499827319559,
"updateTime": 1499827319559,
"workingTime": 1499827319559,
"origQuoteOrderQty": "0.00000000",
"selfTradePreventionMode": "NONE",
"preventedQuantity": "1.200000"
}Changes
Changed in 3 of the 26 revisions of this API.326
- ○
added the optional property
preventedMatchIdto the response with the200statusresponse-optional-property-added
- ○
added the optional property
preventedQuantityto the response with the200statusresponse-optional-property-added
- ○
- ○
added the required property
selfTradePreventionModeto the response with the200statusresponse-required-property-added
- ○
added the required property
workingTimeto the response with the200statusresponse-required-property-added
- ○
- ▲
for the
queryrequest parameterorderId, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parameterrecvWindow, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ▲
for the
queryrequest parametertimestamp, the type/format was changed frominteger/tointeger/int64request-parameter-type-changed
- ○
the response property
clientOrderIdbecame required for the status200response-property-became-required
- ○
the response property
codebecame required for the status400response-property-became-required
- ○
the response property
codebecame required for the status401response-property-became-required
- ○
the response property
cummulativeQuoteQtybecame required for the status200response-property-became-required
- ○
the response property
executedQtybecame required for the status200response-property-became-required
- ○
the response property
icebergQtybecame required for the status200response-property-became-required
- ○
the response property
isWorkingbecame required for the status200response-property-became-required
- ○
the response property
msgbecame required for the status400response-property-became-required
- ○
the response property
msgbecame required for the status401response-property-became-required
- ○
the response property
orderIdbecame required for the status200response-property-became-required
- ○
the response property
orderListIdbecame required for the status200response-property-became-required
- ○
the response property
origQtybecame required for the status200response-property-became-required
- ○
the response property
origQuoteOrderQtybecame required for the status200response-property-became-required
- ○
the response property
pricebecame required for the status200response-property-became-required
- ○
the response property
sidebecame required for the status200response-property-became-required
- ○
the response property
statusbecame required for the status200response-property-became-required
- ○
the response property
stopPricebecame required for the status200response-property-became-required
- ○
the response property
symbolbecame required for the status200response-property-became-required
- ○
the response property
timebecame required for the status200response-property-became-required
- ○
the response property
timeInForcebecame required for the status200response-property-became-required
- ○
the response property
typebecame required for the status200response-property-became-required
- ○
the response property
updateTimebecame required for the status200response-property-became-required
- ▲