Get Closed Orders
GET
https://api.kucoin.com/api/v3/hf/margin/orders/done
domain:Spot
api-channel:Private
api-permission:General
api-rate-limit-pool:Spot
sdk-service:Margin
sdk-sub-service:Order
sdk-method-name:getClosedOrders
api-rate-limit-weight:10
Description
Tips
Request
Query Params
symbol
string
required
Example:
BTC-USDT
tradeType
enum<string>
required
Allowed values:
MARGIN_TRADEMARGIN_ISOLATED_TRADE
Example:
MARGIN_TRADE
side
enum<string>
optional
Allowed values:
buysell
type
enum<string>
optional
Allowed values:
limitmarket
lastId
integer <int64>
optional
lastId is used to filter data and paginate. If lastId is not entered, the default is a maximum of 100 returned data items. The return results include lastId, which can be used as a query parameter to look up new data from the next page.
Example:
254062248624417
limit
integer
optional
>= 1<= 100
Default:
20
Example:
20
startAt
integer <int64>
optional
Example:
1728663338000
endAt
integer <int64>
optional
Example:
1728692138000
Request samples
Responses
Modified at 2025-04-14 10:13:20