Get Current Open Orders (USER_DATA)
- GET
/api/v3/openOrders
Weight(IP): 3, Weight(UID): 3
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | No | Filter by trading pair. If omitted, returns open orders for all symbols. |
Request example
curl "https://api-spot.weex.com/api/v3/openOrders?symbol=BTCUSDT" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
Each returned object contains the fields below:
| Field | Type | Description |
|---|---|---|
| symbol | String | Trading pair. |
| orderId | Long | Order ID. |
| clientOrderId | String | Client-defined order ID. |
| price | String | Order price. |
| origQty | String | Original order quantity. |
| executedQty | String | Filled quantity. |
| cummulativeQuoteQty | String | Filled amount in quote asset. |
| status | String | Order status (e.g. NEW, PARTIALLY_FILLED). |
| timeInForce | String | Time-in-force policy. |
| type | String | Order type. |
| side | String | BUY or SELL. |
| time | Long | Creation time (ms). |
| updateTime | Long | Last update time (ms). |
| isWorking | Boolean | Whether the order is currently working. |
Response example
[
{
"symbol": "BTCUSDT",
"orderId": 702345678901234567,
"clientOrderId": "my-spot-order-001",
"price": "68900",
"origQty": "0.01",
"executedQty": "0",
"cummulativeQuoteQty": "0",
"status": "NEW",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "BUY",
"time": 1764506000456,
"updateTime": 1764506000456,
"isWorking": true
}
]