| 訂單類型 | 可查詢時間範圍 |
|---|---|
無成交的已取消 NORMAL 訂單 | 最近 2 小時 內 |
已觸發或已取消的 ADVANCED 訂單 | 最近 2 小時 內 |
有成交的 NORMAL 訂單 | 最近 168 小時 內 |
curl --location --request GET 'https://api.kucoin.com/api/ua/v2/unified/order/history?tradeType=SPOT&symbol=BTC-USDT&side=BUY&orderFilter=NORMAL&startAt=1758092129514&endAt=1758092129580&lastId=123456789&pageSize=50'{
"code": "200000",
"data": {
"tradeType": "SPOT",
"lastId": 5716,
"items": [
{
"orderId": "385529378341146624",
"symbol": "BTC-USDT",
"orderType": "LIMIT",
"side": "BUY",
"size": "0.0000216",
"price": "93000",
"timeInForce": "GTC",
"tags": "",
"orderTime": 1764730568586000020,
"stp": "",
"cancelAfter": null,
"postOnly": false,
"reduceOnly": false,
"triggerDirection": "",
"triggerPrice": "",
"triggerPriceType": "",
"tpTriggerPrice": "",
"tpTriggerPriceType": "",
"slTriggerPrice": "",
"slTriggerPriceType": "",
"status": "3",
"filledSize": "0.0000216",
"avgPrice": "92792.8",
"fee": "0.00200432448",
"feeCurrency": "USDT",
"tax": "",
"updatedTime": 1764730568593000000,
"triggerOrderId": "",
"cancelReason": "",
"cancelSize": "0",
"clientOid": "test_limit_209384512054",
"sizeUnit": "BASECCY",
"brokerTag": "KuCoinPartner"
}
]
}
}