Get Order Info
HTTP request Fetch order by order ID or customizable order ID
- POST
/api/v2/trade/orderInfo
Rate limit: 10 requests/second
Request parameters
| Parameter | Parameter type | Required? | Description |
|---|---|---|---|
| orderId | String | No | Either Order ID or clientOrderId is required. |
| clientOrderId | String | No | Either Client customized ID or orderId is required. |
Request example
curl -X POST "https://api-spot.weex.com/api/v2/trade/orderInfo" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{"orderId": "602928955330134458"}'
Response parameters
| Field Name | Type | Field Description |
|---|---|---|
| accountId | String | Account ID |
| symbol | String | Trading pair |
| orderId | String | Order ID |
| clientOrderId | String | Client order ID |
| price | String | Order price |
| quantity | String | Order quantity |
| orderType | String | Order type |
| side | String | Order side |
| status | String | Order status |
| latestFillPrice | String | Latest execution price |
| maxFillPrice | String | Highest execution price |
| minFillPrice | String | Lowest execution price |
| fillQuantity | String | Filled quantity |
| fillTotalAmount | String | Total filled amount |
| cTime | String | Creation time |
| uTime | String | Update time |
Response example
{
"code": "00000",
"msg": "success",
"requestTime": 1743754256238,
"data": [{
"accountId": "590105411156181178",
"symbol": "WXTUSDT_SPBL",
"orderId": "602928955330134458",
"clientOrderId": "202504041451014391743749461316",
"price": "100.000000",
"quantity": "10",
"orderType": "limit",
"side": "sell",
"status": "open",
"latestFillPrice": "0",
"maxFillPrice": "0",
"minFillPrice": "0",
"fillQuantity": "0",
"fillTotalAmount": "0",
"cTime": "1743749464829",
"uTime": "1743749464834"
}]
}