Get All Orders (USER_DATA)
- GET
/api/v3/allOrders
Weight(IP): 10, Weight(UID): 10
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| symbol | String | Yes | Trading pair to query. |
| startTime | Long | No | Start time in milliseconds. |
| endTime | Long | No | End time in milliseconds. Must be greater than or equal to startTime. |
| limit | Integer | No | Number of records per page (default 100, maximum 1000). |
| page | Integer | No | Page index starting from 1 (default 1). |
Request example
curl "https://api-spot.weex.com/api/v3/allOrders?symbol=BTCUSDT&limit=200&page=1" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
Returns a list of order objects with the same fields described in Get Order Details.
Response example
[
{
"symbol": "BTCUSDT",
"orderId": 702345678901234567,
"clientOrderId": "my-spot-order-001",
"price": "68900",
"origQty": "0.01",
"executedQty": "0.01",
"cummulativeQuoteQty": "689.00",
"status": "FILLED",
"timeInForce": "GTC",
"type": "LIMIT",
"side": "BUY",
"time": 1764506000456,
"updateTime": 1764506001556,
"isWorking": false
}
]