| Account Mode | Trade Type | Order Status | Max Query Range |
|---|---|---|---|
| Classic Account | SPOT | Canceled | 2 days (from now back to 2 * 24 hours) |
| Classic Account | SPOT | Filled | 7 days (from now back to 7 * 24 hours) |
| Classic Account | FUTURES | Canceled / Filled | By orderId: Last 3 monthsBy clientOid: Last 7 days |
Note
If the specified time range exceeds the allowed window, the system will query data within the corresponding maximum window by default.
curl --location --request GET 'https://api.kucoin.com/api/ua/v1/classic/order/detail?tradeType=SPOT&symbol&orderId&clientOid'{
"code": "200000",
"data": {
"orderId": "695536a68b76bc0007458a4d",
"clientOid": "test20938451234982234374054",
"status": 2,
"filledSize": "0",
"avgPrice": "0",
"fee": "0",
"tax": "0",
"symbol": "BTC-USDT",
"feeCurrency": "USDT",
"side": "BUY",
"orderType": "LIMIT",
"size": "0.0001",
"sizeUnit": "BASECCY",
"price": "9000",
"timeInForce": "GTC",
"cancelSize": "0",
"cancelAfter": 0,
"postOnly": true,
"orderTime": 1767192230186000000,
"updatedTime": 1768214898194000000,
"tradeType": "SPOT"
}
}