Trading

Cancel Order

Cancel a particular open order (or set of open orders) by txid, userref or cl_ord_id

API Key Permissions Required: Orders and trades - Create & modify orders or Orders and trades - Cancel & close orders

post/private/CancelOrder

Request

  • Base URL: https://api.kraken.com/0
  • URL: https://api.kraken.com/0/private/CancelOrder
  • Auth: API key in header API-Key and API key in header API-Sign

Request body

nonceinteger required

Nonce used in construction of API-Sign header

cl_ord_idstring

An alphanumeric client order identifier which uniquely identifies an open order for each client.

Example request

{
  "nonce": 1695828490,
  "pair": "XBTUSD",
  "txid": "OHYO67-6LP66-HMQ437"
}

Response

Open order cancelled.

Example response

{
  "error": [],
  "result": {
    "count": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.