Welcome to the new WEEX API documentation. Looking for the previous version?Switch to the legacy docs
WEEX

Get Order Info (USER_DATA)

  • GET /capi/v3/order

Weight(IP): 2

Request parameters

ParameterTypeRequired?Description
orderIdLongYesOrder ID to query.
Request example
PowerShellCode
curl "https://api-contract.weex.com/capi/v3/order?orderId=702345678901234567" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
FieldTypeDescription
avgPriceStringAverage fill price.
clientOrderIdStringClient-defined order ID.
cumQuoteStringCumulative filled amount in the quote asset.
executedQtyStringFilled quantity in the base asset.
orderIdLongSystem order ID.
origQtyStringOriginal order quantity.
priceStringOrder price.
reduceOnlyBooleanWhether the order can only reduce positions.
sideStringOrder side. See Order Side for possible values.
positionSideStringPosition side. See Position Mode.
statusStringOrder status. See Order Status.
stopPriceStringStop price / trigger price (if applicable).
symbolStringTrading pair.
timeLongOrder creation time (ms).
timeInForceStringTime-in-force policy. See Time in Force.
typeStringOrder type. See Order Type.
updateTimeLongLast update time (ms).
workingTypeStringTrigger price type. See Trigger Price Type.
Response example
JSONCode
{ "avgPrice": "68990.5", "clientOrderId": "my-order-0001", "cumQuote": "689.905", "executedQty": "0.01", "orderId": 702345678901234567, "origQty": "0.01", "price": "69000", "reduceOnly": false, "side": "BUY", "positionSide": "LONG", "status": "FILLED", "stopPrice": "0", "symbol": "BTCUSDT", "time": 1764505700123, "timeInForce": "GTC", "type": "LIMIT", "updateTime": 1764505701456, "workingType": "CONTRACT_PRICE" }