Skip to main content
Version: V3

Get All Orders (USER_DATA)

  • GET /api/v3/allOrders

Weight(IP): 10

Request parameters

ParameterTypeRequired?Description
symbolStringYesTrading pair to query.
startTimeLongNoStart time in milliseconds.
endTimeLongNoEnd time in milliseconds. Must be greater than or equal to startTime.
limitIntegerNoNumber of records per page (default 100, maximum 200).
  • If startTime and endTime are not provided, the default query range is the last 7 days.
  • The interval between startTime and endTime cannot exceed 90 days.
  • Only data from the last 1 year can be queried.

Request example

curl "https://api-spot.weex.com/api/v3/allOrders?symbol=BTCUSDT&limit=200" \
-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
}
]