batchCancelOrders
Batch cancel specific unfilled or partially filled orders across spot, linear, inverse, or option markets using order IDs or custom link IDs.
Instructions
Cancel multiple orders in a single API call.
Max 20 orders per request for futures/options, 10 for spot
Each order requires either
orderIdororderLinkIdOnly unfilled or partially filled orders can be cancelled
Check
retExtInfo.list[].codefor per-order statusResponse is acknowledgment only; confirm via WebSocket order stream
Agent hint: Use this endpoint to cancel multiple specific orders at once. For cancelling all orders, use cancelAllOrders instead. TradFi: use category=spot for xStock batch cancels, category=linear for equity/commodity perpetuals.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | Yes | ||
| request | Yes |