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

Get Current Orders (USER_DATA)

  • GET /capi/v3/openOrders

Weight(IP): 2

Request parameters

ParameterTypeRequired?Description
symbolStringNoFilter by trading pair.
orderIdStringNoOnly return orders with ID greater than the specified value.
startTimeLongNoFilter orders created after this timestamp (ms).
endTimeLongNoFilter orders created before this timestamp (ms).
limitIntegerNoPage size, 1-100. Default 100.
pageIntegerNoPage index starting from 0. Default 0.
Request example
PowerShellCode
curl "https://api-contract.weex.com/capi/v3/openOrders?symbol=BTCUSDT&limit=50&page=0" \ -H "ACCESS-KEY:*******" \ -H "ACCESS-SIGN:*******" \ -H "ACCESS-PASSPHRASE:*****" \ -H "ACCESS-TIMESTAMP:<CURRENT_TIMESTAMP_MS>"
Response parameters

Returns an array of objects identical to Get Order Info.

Response example
JSONCode
[ { "avgPrice": "0", "clientOrderId": "open-1", "cumQuote": "0", "executedQty": "0", "orderId": 702345678901234600, "origQty": "0.02", "price": "69500", "reduceOnly": false, "side": "SELL", "positionSide": "SHORT", "status": "NEW", "stopPrice": "0", "symbol": "BTCUSDT", "time": 1764505800000, "timeInForce": "GTC", "type": "LIMIT", "updateTime": 1764505800000, "workingType": "CONTRACT_PRICE", "priceProtect": false, "priceMatch": "NONE", "selfTradePreventionMode": "NONE", "goodTillDate": 0 } ]