Get Order Info
- GET
/capi/v3/order
Weight(IP): 2, Weight(UID): 3
Request parameters
| Parameter | Type | Required? | Description |
|---|---|---|---|
| orderId | Long | Yes | Order ID to query. |
Request example
curl "https://api-contract.weex.com/capi/v3/order?orderId=702345678901234567" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*******" \
-H "ACCESS-PASSPHRASE:*****" \
-H "ACCESS-TIMESTAMP:1659076670000" \
Response parameters
| Field | Type | Description |
|---|---|---|
| avgPrice | String | Average fill price. |
| clientOrderId | String | Client-defined order ID. |
| cumQuote | String | Cumulative filled amount in the quote asset. |
| executedQty | String | Filled quantity in the base asset. |
| orderId | Long | System order ID. |
| origQty | String | Original order quantity. |
| price | String | Order price. |
| reduceOnly | Boolean | Whether the order can only reduce positions. |
| side | String | Order side. See Order Side for possible values. |
| positionSide | String | Position side. See Position Mode. |
| status | String | Order status. See Order Status. |
| stopPrice | String | Stop price / trigger price (if applicable). |
| symbol | String | Trading pair. |
| time | Long | Order creation time (ms). |
| timeInForce | String | Time-in-force policy. See Time in Force. |
| type | String | Order type. See Order Type. |
| updateTime | Long | Last update time (ms). |
| workingType | String | Trigger price type. See Trigger Price Type. |
Response example
{
"avgPrice": "68990.5",
"clientOrderId": "my-order-0001",
"cumQuote": "689.905",
"executedQty": "0.01",
"orderId": 702345678901234567,
"origQty": "0.01",
"price": "69000",
"reduceOnly": false,
"side": "BUY",
"positionSide": "LONG",
"status": "FILLED",
"stopPrice": "0",
"symbol": "BTCUSDT",
"time": 1764505700123,
"timeInForce": "GTC",
"type": "LIMIT",
"updateTime": 1764505701456,
"workingType": "CONTRACT_PRICE"
}