Skip to content

kraken-connector

A typed Python client for the Kraken cryptocurrency exchange, covering both the REST API and WebSocket API v2.

Built on httpx for HTTP, websockets for streaming, and attrs for data models.

Highlights

  • REST API with typed request/response models across 7 endpoint groups
  • WebSocket v2 async client with typed channel models and automatic reconnection
  • Trading via all 8 WS v2 methods with automatic token injection
  • Order book management with CRC32 checksum validation
  • Rate limiting matching Kraken's tier-based limits
  • Fully typed with py.typed marker and strict mypy

Install

pip install kraken-connector

Next steps

  • Getting Started


    Install and make your first API call

  • Guides


    In-depth walkthroughs for REST, WebSocket, trading, and more

  • Architecture


    How the library is structured and why

  • API Reference


    Auto-generated reference from source docstrings