Review past orders
Compare a cancelled ETH limit order with a filled 20-contract market order.
Endpoint & access
GET
/api/v1/usdt/closed_order_listWhitelist Required
Request whitelist approval for your API key. This endpoint is available only after approval.
Rate limit
- 3 requests / 1 second
Query parameters
| Field | Data type | Required | Meaning |
|---|---|---|---|
| instrument_id | string | NO | Contract abbreviation, such as BTC or ETH. Omit to include all contracts. |
| next_order_id | string | NO | Order ID cursor. Defaults to empty. Results are returned in descending order of order ID. For the next page, use the last order ID minus 1. |
| limit | integer | NO | Records per request, from 1 to 100. Defaults to 20. |
Returned fields
| Field | Data type | Meaning |
|---|---|---|
| order_id | string | Order ID |
| direction | string | Direction openLong open long openShort open short closeLong close long closeShort close short |
| leverage | string | Leverage |
| order_type | string | Order type, price limit, postOnly (maker only), fok (Fill or Kill), ioc (Immediate Or Cancel) |
| quantity | string | Quantity (number of sheets) |
| order_price | string | order price |
| fee | string | handling fee |
| filled_quantity | string | Volume (sheets) |
| average_price | string | Average transaction price |
| order_time | string | order creation time |
| status | string | Order status (new: pending order, filled: completed transaction, canceled: completely canceled order, partiallyCanceled: partially canceled order) |
| profit | string | Order profit and loss |
Example request
Example result
{
"code": 200,
"message": null,
"data": [
{
"order_id": "7302100000000042003",
"direction": "openLong",
"leverage": "5",
"contract_code": "ETH-SWAP",
"order_type": "limit",
"quantity": "8",
"order_price": "2380",
"fee": "0",
"filled_quantity": "0",
"average_price": "0",
"order_time": 1795159800000,
"status": "canceled",
"profit": "0"
},
{
"order_id": "7302100000000042002",
"direction": "openLong",
"leverage": "5",
"contract_code": "ETH-SWAP",
"order_type": "market",
"quantity": "20",
"order_price": "2440",
"fee": "0.2928",
"filled_quantity": "20",
"average_price": "2440",
"order_time": 1795158000000,
"status": "filled",
"profit": "0"
}
]
}