Get Order Information
Get detailed information about a specific order by order ID.
HTTP Request
POST /api/v1/spot/trade/order-info
Request Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| orderId | string | Yes | Order ID |
Request Example
curl -X POST "https://open-api.bydoxe.com/api/v1/spot/trade/order-info" \
-H "ACCESS-KEY: your-api-key" \
-H "ACCESS-SIGN: your-signature" \
-H "ACCESS-PASSPHRASE: your-passphrase" \
-H "ACCESS-TIMESTAMP: 1659076670000" \
-H "Content-Type: application/json" \
-d '{
"orderId": "123456789"
}'
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | string | Response code |
| msg | string | Response message |
| requestTime | number | Request timestamp in milliseconds |
| data | array | Array of order details |
| > symbol | string | Trading pair symbol |
| > orderId | string | Order ID |
| > price | string | Order price |
| > size | string | Order size |
| > orderType | string | Order type: "limit" or "market" |
| > side | string | Order side: "buy" or "sell" |
| > status | string | Order status |
| > priceAvg | string | Average filled price |
| > baseVolume | string | Filled volume in base currency |
| > quoteVolume | string | Filled volume in quote currency |
| > cTime | string | Creation time in milliseconds |
| > uTime | string | Last update time in milliseconds |
Response Example
Success Response
{
"code": "00000",
"msg": "success",
"requestTime": 1732000000000,
"data": [
{
"symbol": "BTCUSDT",
"orderId": "123456789",
"price": "91000.00",
"size": "0.001",
"orderType": "limit",
"side": "buy",
"status": "filled",
"priceAvg": "91000.00",
"baseVolume": "0.001",
"quoteVolume": "91.00",
"cTime": "1763459280833",
"uTime": "1763459280900"
}
]
}
Error Codes
| Code | Message |
|---|---|
| 40001 | Parameter cannot be empty |
| 40002 | Unauthorized |
| 43116 | Order does not exist |
| 50000 | System error |