Kraken API
Kraken API
Kraken Exchange API provides programmatic access to Kraken crypto exchange — spot, futures, margin trading; known for stability (no hack since 2011 founding).
11-year no-hack record (rare among crypto exchanges)
Strict rate limits (Basic 15/min)
Enable API in kraken.com to create key + private key. GET https://api.kraken.com/0/public/Ticker?pair=XBTUSD for BTC/USD ticker.
Uptime · 30-day window
About this API
Kraken is a US crypto exchange founded in 2011, one of the originals — a year before Coinbase, 6 years before Binance. Differentiator is stability and reliability: 11 years without being hacked (rare in crypto), high-quality customer service (many crypto exchanges suffer from automated CS), preferred by institutions and old-money players. Rich fiat onramp — beyond USD also supports EUR/GBP/CAD/AUD/CHF and other major fiats; European users particularly like it. API design is somewhat dated (pairs use XBTUSD instead of BTCUSD, idiosyncratic naming) but stable. Note: tight rate limits (Basic 15 calls/min); high-frequency trading needs tier upgrade or WebSocket.
What you can build
- 1Professional crypto trading strategies
- 2Institutional-grade spot + margin
- 3Futures derivatives trading
- 4EU/US compliance-friendly option
Strengths & limitations
Strengths
- 11-year no-hack record (rare among crypto exchanges)
- US/EU compliance
- Many fiat onramp options (USD/EUR/GBP/CAD/AUD/CHF)
- High-quality customer service
Limitations
- Strict rate limits (Basic 15/min)
- UI and docs feel dated
- Fewer coins than Binance
Example request
curl https://www.kraken.com/<endpoint> \
-H "Authorization: Bearer $API_KEY"
# Some providers use X-Api-Key instead — verify in the docs.Getting started
Enable API in kraken.com to create key + private key. GET https://api.kraken.com/0/public/Ticker?pair=XBTUSD for BTC/USD ticker.
FAQ
Why is the pair named XBT instead of BTC?+
XBT is BTC's ISO 4217 standard code (BTC resembles country code BT-Cn, doesn't fit ISO). Kraken uses XBT to maintain standards.
Kraken's compliance status?+
US MSB (Money Services Business) registered entity; some states have trust bank charters. Multiple EU country licenses.
Technical details
- Auth type
- api_key
- Pricing
- free
- Rate limit
- 基础 tier 15 calls/分;高 tier 提升到 225 calls/分。
- Protocols
- REST, WebSocket
- SDKs
- python, javascript, go, java, csharp, rust
- Response time
- 427 ms
- Last health check
- 5/12/2026, 7:37:44 AM