Top Builders
Explore the top contributors showcasing the highest number of app submissions within our community.
Kraken REST API
The Kraken REST API provides HTTP-based access to Kraken's spot and futures markets, account data, and trading operations. It covers public market data endpoints (no authentication required) and private endpoints for account management and order execution (HMAC-SHA512 authenticated). The API supports Spot, Futures, Custody, and Embed products, each with separate base URLs.
| General | |
|---|---|
| Developer | Kraken (Payward Inc.) |
| Type | REST API |
| License | Commercial API (free with Kraken account) |
| Documentation | docs.kraken.com |
| GitHub | krakenfx/api-go |
Core Features
- Public and private endpoints: public market data requires no authentication; private endpoints use HMAC-SHA512 signing.
- Multiple product APIs: Spot, Futures, Custody, and Embed each have dedicated endpoints.
- Tiered rate limiting: per-API-key counter with decay rates based on account tier (Intermediate or Pro).
- Subaccount support: master accounts can manage subaccounts programmatically.
- Earn and staking: endpoints for managing yield-generating positions.
Endpoints
Spot REST base URL: https://api.kraken.com/0/
| Category | Endpoints |
|---|---|
| Public | Ticker, OHLC, order book, recent trades, spreads, asset pairs, system status |
| Private: Account | Balance, trade balance, open/closed orders, trade history, ledger entries |
| Private: Trading | Add order, amend order, cancel order, cancel all orders, batch orders |
| Private: Funding | Deposit addresses, deposit methods, withdrawal info, withdraw funds |
| Private: Earn | Staking and yield positions |
Authentication
Spot REST authentication uses HMAC-SHA512:
- Generate a nonce (always-increasing unsigned 64-bit integer; millisecond UNIX timestamps recommended)
- Compute:
SHA256(nonce + POST body data) - Compute:
HMAC-SHA512(URI path + SHA256 result, base64-decoded private key) - Send
API-Keyheader (public key) andAPI-Signheader (base64-encoded HMAC result)
The private key is never transmitted directly.
Rate Limits (Spot REST)
| Tier | Max Counter | Decay Rate |
|---|---|---|
| Intermediate | 20 | 0.5 per second |
| Pro | 20 | 1 per second |
Ledger and trade history calls add 4 to the counter; all other private calls add 1. Order placement and cancellation use a separate trading rate limiter. Exceeding limits returns EAPI:Rate limit exceeded. Rate limits are shared across REST, WebSocket, and FIX for the same API key.
Tools and Resources
- API Reference Center: full endpoint documentation for all products.
- Official Go SDK: MIT-licensed, covers Spot and Derivatives REST and WebSocket.
- Python SDK (community): full-featured community SDK with async support and built-in WebSocket handlers.
- Kraken CLI: command-line access to REST endpoints without writing code.
- REST Quickstart Examples: code samples for common operations.
Ecosystem and Integrations
- API keys are generated in Kraken account settings with configurable permissions (read-only, trading, funding).
- Commercial redistribution of Kraken market data requires prior approval from marketdata@kraken.com.
- Community SDKs available for Python, Go, C++, and Julia (listed in official documentation).
Generate API keys in your Kraken account settings and follow the REST quickstart to place your first programmatic order.
kraken rest api AI technology Hackathon projects
Discover innovative solutions crafted with kraken rest api AI technology, developed by our community members during our engaging hackathons.

.png&w=3840&q=75)

