Kraken Trading API

Order placement, edit, and cancellation

Operations 14

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /sendorder Place a futures order · Kraken Send Order #
Ask an LLM
“How do I place a limit order on a futures contract?”
“Can I send a reduce-only futures order?”
Tell an agent
Place a {orderType} futures order to {side} {size} {symbol}.
Buy {size} {symbol} futures with a limit at {limitPrice}.
POST /editorder Modify a resting futures order · Kraken Edit Order (Futures) #
Ask an LLM
“Can I change the size or limit price of a futures order already on the book?”
“How do I adjust the stop price on my futures order?”
Tell an agent
Change futures order {orderId} to size {size}.
Move the limit price of futures order {orderId} to {limitPrice}.
POST /cancelorder Cancel one futures order · Kraken Cancel Order (Futures) #
Ask an LLM
“How do I cancel a single futures order?”
“Can I cancel a futures order using its order ID?”
Tell an agent destructive · confirm first
Cancel futures order {order_id}.
Pull my resting futures order {order_id} off the book.
POST /cancelallorders Cancel all futures orders · Kraken Cancel All Orders (Futures) #
Ask an LLM
“How do I cancel every open futures order at once?”
“Can I cancel all my futures orders for just one contract?”
Tell an agent destructive · confirm first
Cancel all my open futures orders.
Cancel every futures order on {symbol}.
POST /cancelallordersafter Arm a futures dead man's switch · Kraken Cancel All Orders After (Futures) #
Ask an LLM
“How do I make sure my futures orders get cancelled if my bot disconnects?”
“Can I set a timeout after which all futures orders are cancelled?”
Tell an agent destructive · confirm first
Cancel all my futures orders after {timeout} seconds unless I re-arm.
Set the futures dead man's switch to {timeout} seconds.
POST /batchorder Place, edit and cancel futures orders in a batch · Kraken Batch Order (Futures) #
Ask an LLM
“Can I send several futures order changes in one request?”
“Is it possible to place and cancel futures orders together in one call?”
Tell an agent
Submit this batch of futures order instructions: {batchOrder}.
Run futures batch {batchOrder} of places, edits and cancels in one call.
POST /0/private/AddOrder Place a spot or margin order · Kraken Add Order #
Ask an LLM
“How do I place a market or limit order on a spot pair?”
“Can I place an iceberg order that only shows part of its volume?”
Tell an agent
Place a {ordertype} order to {type} {volume} {pair}.
Place a limit order to {type} {volume} {pair} at {price}.
POST /0/private/AddOrderBatch Place up to 15 spot orders at once · Kraken Add Order Batch #
Ask an LLM
“Can I submit several orders on one spot pair in a single request?”
“What is the maximum number of orders in a spot batch?”
Tell an agent
Place this batch of orders {orders} on {pair}.
Validate batch {orders} for {pair} without placing it.
POST /0/private/EditOrder Cancel and replace a spot order · Kraken Edit Order #
Ask an LLM
“Can I replace an order with a new volume or price, getting a new order ID?”
“How do I cancel-and-replace a spot order?”
Tell an agent
Replace order {txid} on {pair} with volume {volume}.
Cancel and replace order {txid} on {pair} at new price {price}.
POST /0/private/AmendOrder Amend a spot order in place · Kraken Amend Order #
Ask an LLM
“Can I change an order's quantity without losing its order ID?”
“How do I update the limit price of a resting order in place?”
Tell an agent
Amend order {txid} to quantity {order_qty} keeping the same ID.
Amend the limit price of order {txid} in place to {limit_price}.
POST /0/private/CancelOrder Cancel one spot order · Kraken Cancel Order #
Ask an LLM
“How do I cancel a single open spot order?”
“Can I cancel an order by its transaction ID?”
Tell an agent destructive · confirm first
Cancel order {txid}.
Cancel my open spot order {txid}.
POST /0/private/CancelAll Cancel all open spot orders · Kraken Cancel All Orders #
Ask an LLM
“How do I cancel every open spot order on my API key?”
“Is there a quick way to pull all my spot orders off the book?”
Tell an agent destructive · confirm first
Cancel all my open spot orders.
Cancel every open order using two-factor code {otp}.
POST /0/private/CancelAllOrdersAfter Arm a spot dead man's switch · Kraken Cancel All Orders After (Dead Man's Switch) #
Ask an LLM
“How do I auto-cancel my spot orders if my connection drops?”
“Can I disable the dead man's switch by setting the timeout to zero?”
Tell an agent destructive · confirm first
Cancel all my spot orders after {timeout} seconds unless I call again.
Arm the spot dead man's switch for {timeout} seconds.
POST /0/private/CancelOrderBatch Cancel up to 50 spot orders at once · Kraken Cancel Order Batch #
Ask an LLM
“Can I cancel a list of specific orders in one call?”
“How many spot orders can I cancel in a single batch?”
Tell an agent destructive · confirm first
Cancel these orders in one batch: {orders}.
Batch-cancel spot orders {orders}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/kraken-trading-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

kraken-trading-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kraken Trading API
  contact:
    name: Kraken API Support
    url: https://support.kraken.com/
  license:
    name: Kraken Terms of Service
    url: https://www.kraken.com/legal
  x-generated-from: documentation
  x-last-validated: '2026-05-30'
  version: '1.0'
  description: 'Operations tagged Trading across 2 of this provider''s published API definitions: kraken-futures-rest-openapi.yml, kraken-spot-rest-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://futures.kraken.com/derivatives/api/v3
  description: Kraken Futures production REST endpoint
- url: https://demo-futures.kraken.com/derivatives/api/v3
  description: Kraken Futures demo / sandbox endpoint
- url: https://colo-london.vip.futures.kraken.com/derivatives/api/v3
  description: Kraken Futures colocation endpoint (London VIP)
- url: https://api.kraken.com
  description: Kraken Spot REST production endpoint
- url: https://colo-london.vip-api.kraken.com
  description: Kraken Spot REST colocation endpoint (London VIP)
tags:


# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/kraken/refs/heads/main/openapi/kraken-trading-api-openapi.yml