Skip to main content
Version: V2

Get Current Orders

HTTP request Fetch open orders (unfilled and partially filled)

  • POST /api/v2/trade/open-orders

Rate limit: 10 requests/second

Request parameters

ParameterParameter typeRequired?Description
symbolStringYesTrading pair. For details, view:/products
limitIntegerNoNumber of records to retrieve. Must be greater than 0 and less than or equal to 100.

Request example

curl -X POST "https://api-spot.weex.com/api/v2/trade/open-orders" \
-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": 1743753174247,
"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": null,
"totals": null
}
}