Skip to main content
Version: V2

Get History Orders

HTTP request Fetch order history list

  • POST /api/v2/trade/history

Rate limit: 10 requests/second

Request parameters

ParameterParameter typeRequired?Description
symbolStringYesTrading pair. For details, view: /products
afterLongNoStart timestamp (in milliseconds)
beforeLongNoEnd timestamp (in milliseconds)
pageIndexIntegerNoPage number, starting from 0 (Default: 0)
pageSizeIntegerNoPage size, must be greater than 0 and less than or equal to 100 (Default: 10)

Request example

curl -X POST "https://api-spot.weex.com/api/v2/trade/history" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"symbol": "WXTUSDT_SPBL"}'

Response parameters

Field NameTypeField Description
accountIdStringAccount ID
symbolStringTrading pair
orderIdStringOrder ID
clientOrderIdStringClient order ID
priceStringOrder price
quantityStringOrder quantity
orderTypeStringOrder type
sideStringOrder side
statusStringOrder status
latestFillPriceStringLatest execution price
maxFillPriceStringHighest execution price
minFillPriceStringLowest execution price
fillQuantityStringFilled quantity
fillTotalAmountStringTotal filled amount
cTimeStringCreation time
uTimeStringUpdate time

Response example

{
"code": "00000",
"msg": "success",
"requestTime": 1743755234949,
"data": {
"orderInfoResultList": [{
"accountId": "590105411156181178",
"symbol": "WXTUSDT_SPBL",
"orderId": "602941812964852154",
"clientOrderId": "202504040742105191743752530280",
"price": "100.000000",
"quantity": "10",
"orderType": "limit",
"side": "sell",
"status": "open",
"latestFillPrice": "0",
"maxFillPrice": "0",
"minFillPrice": "0",
"fillQuantity": "0",
"fillTotalAmount": "0",
"cTime": "1743752530328",
"uTime": "1743752530334"
}],
"nextPage": true,
"totals": 0
}
}