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

# GET /private/cancel_all_by_currency

`GET /private/cancel_all_by_currency`

Cancels all open orders for a specific currency. This is useful for quickly clearing all orders across multiple instruments in a currency.

Orders can be optionally filtered by instrument kind (future, option, etc.) and/or order type (limit, market, stop, etc.). Use the `detailed` parameter to receive a list of all cancelled orders.

**Scope:** `trade:read_write`

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

## Query parameters

- `currency` 'BTC' | 'ETH' | 'USDC' | 'USDT' | 'EURR', required — Currency, i.e `"BTC"`, `"ETH"`, `"USDC"`
- `kind` 'future' | 'option' | 'spot' | 'future_combo' | 'option_combo' | 'combo' | 'any' — Instrument kind: `"future"`, `"option"`, `"spot"`, `"future_combo"`, `"option_combo"`, `"combo"` for any combo or `"any"` for all
- `type` 'all' | 'limit' | 'trigger_all' | 'stop' | 'take' | 'trailing_stop' — Order type: `"all"`, `"limit"`, `"stop"`, `"take"`, `"trailing_stop"`, `"trailing_take"`
- `detailed` 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-2.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api-2/versions/430b3f0bc67c/schema)
