Skip to main content
POST
/
private
/
CancelAll
Cancel All Orders
curl --request POST \
  --url https://api.kraken.com/0/private/CancelAll \
  --header 'API-Key: <api-key>' \
  --header 'API-Sign: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "nonce": 1695828436
}
'
{
  "error": [],
  "result": {
    "count": 1
  }
}

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

API-Key
string
header
required

The "API-Key" header should contain your API key.

API-Sign
string
header
required

Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.

Body

application/json
nonce
integer<int64>
required

Nonce used in construction of API-Sign header

Response

200 - application/json

Open orders cancelled.

result
OrderCancelled · object
error
string[][]

Kraken API error