---
title: "GET /private/cancel_all_by_instrument"
method: GET
path: "/private/cancel_all_by_instrument"
tags: ["Trading", "Matching Engine", "Private"]
---

# GET /private/cancel_all_by_instrument

`GET /private/cancel_all_by_instrument`

Cancels all open orders for a specific instrument. This is useful for quickly clearing all orders for a single instrument.

Orders can be optionally filtered by order type (limit, market, stop, etc.). Use the `detailed` parameter to receive a list of all cancelled orders. The `include_combos` parameter can be used to include combo orders in the cancellation.

**Scope:** `trade:read_write`

[Try in API console](https://test.deribit.com/api_console?method=%2Fprivate%2Fcancel_all_by_instrument)

## Query parameters

- `instrument_name` string, required — Unique instrument identifier
- `type` 'all' | 'limit' | 'trigger_all' | 'stop' | 'take' | 'trailing_stop' — Order type: `"all"`, `"limit"`, `"stop"`, `"take"`, `"trailing_stop"`, `"trailing_take"`
- `detailed` boolean
- `include_combos` boolean
- `freeze_quotes` boolean

## Response `200`

Success response

- PrivateCancelAllResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` number, required — Total number of successfully cancelled orders

---

[API](https://skmtc.net/deribit/apis/deribit-api.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api/revisions/78a0783dbfcc/schema)
