WebSocketCrypto

Kraken Spot WebSocket API v2

Kraken Spot WebSocket API v2 is a websocket from Kraken providing crypto data. Kraken's Spot WebSocket v2 streams real-time public market data (ticker, OHLC candles, trades, and Level 2/3 order books) for hundreds of crypto/USD pairs over wss://ws.kraken.com/v2. For a Polymarket bot, it provides a second independent USD spot venue for redundancy and price-source averaging on "will BTC close above $X" hourly/daily markets.

At a glance

ProviderKraken
TypeWebSocket
CategoryCrypto
Real-timeYes — streaming
AuthNone — open endpoint
PricingFree for public market data (no API subscription fee; trading fees apply only when placing orders) — Public market data (ticker, OHLC, book, trade): free, no auth or subscription, Private/trading channels: free to use; standard spot taker/maker trading fees apply per fee schedule, No paid data plan or per-message data billing for public feeds

What data it provides

  • OHLC candles per interval (open, high, low, close, vwap, volume, trade count, interval_begin)
  • Supported OHLC intervals (minutes): 1, 5, 15, 30, 60, 240, 1440, 10080, 21600
  • Real-time ticker (last/bid/ask/volume) for crypto-USD and other pairs
  • Level 2 (book) and Level 3 order book streams with per-order queue priority
  • Per-trade tape (trade channel)
  • Endpoints: public wss://ws.kraken.com/v2, authenticated wss://ws-auth.kraken.com/v2

Features

  • Realtime push streaming with subscribe/unsubscribe and optional snapshot on subscribe
  • Public market data needs no authentication; private channels use a REST-minted WebSocket token
  • Connection limits: idle sockets closed after ~1 min; Cloudflare ~150 connect attempts per rolling 10 min
  • Broad spot coverage including BTC/ETH and major altcoin USD pairs
  • Second independent USD venue suitable for redundancy and multi-source price averaging
  • Documented under the Kraken API hub (REST, WebSocket v1/v2, FIX) with code examples

Links

Use it in a bot

Other crypto data sources

Listed, not endorsed. Pricing and capabilities change without notice — check the provider's own documentation before you depend on anything here. Browse the full data resources directory or the strategy database.
Join Discord