Skip to main content

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.

Kraken’s Exchange APIs give you programmatic access to two separate trading engines — Spot and Derivatives — each with its own endpoints, rate limits, and authentication flows.

Markets

SpotDerivatives
Markets700+ crypto pairsPerpetuals and dated contracts on BTC, ETH, and more
Order typesLimit, market, stop, take-profit, trailing stop, IOC, post-onlyLimit, market, stop, take-profit, IOC
Base URL (REST)https://api.kraken.comhttps://futures.kraken.com
WebSocketwss://ws.kraken.com/v2wss://futures.kraken.com/ws/v1
SandboxUAT available on request via Account Managerhttps://demo-futures.kraken.com (self-service)

Protocols

All three protocols are available for both Spot and Derivatives, but with different capabilities on each engine.
ProtocolBest for
RESTAccount operations, funding, one-off queries
WebSocketReal-time market data, order management, and balance updates
FIX 4.4Institutional and HFT — deterministic sequencing, cancel-on-disconnect, colocation
See Choose your protocol for a full feature matrix, latency comparison, and guidance on which protocol to use.

Workflows

WorkflowWhat you needWhere to start
Market dataPublic endpoints — no API key neededREST GET /0/public/* or WebSocket public channels
Algorithmic tradingPrivate order endpoints + real-time execution dataREST or WebSocket v2 executions channel
Market makingLow-latency order entry, live book, cancel-on-disconnectWebSocket v2 or FIX
Account managementBalances, ledger, fundingREST private endpoints
HFTDeterministic sequencing, colocation, FIX replayFIX 4.4 or WebSocket (Spot); REST or WebSocket (Derivatives)
Sub-accountsMulti-account managementREST CreateSubaccount, FIX Tags 78/79
EarnAllocate/deallocate to staking productsREST Earn endpoints

Feature matrix

FeatureSpot RESTSpot WebSocketSpot FIXDerivatives RESTDerivatives WebSocketDerivatives FIX
Market data
Order entry
Account data
Funding
Earn
Subaccounts

Performance and hosting

For latency-sensitive strategies, Kraken offers connectivity options from AWS London (~2 ms) to direct colocation at Equinix London (~200 μs). See Colocation and connectivity for the full breakdown.

Getting started

Choose your protocol

Detailed comparison of REST, WebSocket, and FIX for each market

API key permissions

Understand which permissions to enable for your use case

Authentication

Nonce management and HMAC-SHA512 signature generation

Order lifecycle

How order states and transitions work across all protocols

Error reference

Common errors and how to fix them

Rate limits

How rate limits work across REST, WebSocket, and FIX