$npx skillfedfor your agent

python-kraken-sdk

Command-line tool and collection of REST and websocket clients to interact with the Kraken Crypto Asset Exchange.

With conditionsPyPI Python ModulesReleased Jul 2026131.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — python_kraken_sdk-3.3.0-py3-none-any.whl
v3.3.0 · released 2026-07-07 · Python >=3.11 · 6 runtime deps: requests, websockets, click, cloup, orjson, aiohttp

Yes, with conditions. Install if you are building a Kraken trading application and want a maintained, low-friction SDK with both sync and async support. Do not install if you require guaranteed official support or cannot tolerate third-party software risk—this is explicitly unofficial and the authors disclaim liability for losses. Pin the version to avoid unexpected behavior on new releases, as recommended in the documentation.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Kraken API keys (generated at https://www.kraken.com/u/security/api for Spot or https://futures.kraken.com/trade/settings/api for Futures) and Python >=3.11.
  • Low friction install with six common runtime dependencies (requests, websockets, click, cloup, orjson, aiohttp).
  • Package is actively maintained with a release 38 days ago and recent commits; supports current Python versions (3.11–3.14).

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

last release 2026-07-07 (38 days) · last repo commit 2026-08-01 · 83 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 131,136 downloads/mo, #11,602 on PyPI

Verify before relying

pip install python-kraken-sdk

from kraken.spot import SpotClient

client = SpotClient(key="<api-key>", secret="<secret-key>")
print(client.request("POST", "/0/private/Balance"))
  • Whether all Kraken Spot and Futures API endpoints are fully implemented or if some require direct request() calls.
  • Rate-limiting behavior and retry logic when hitting Kraken's API throttles.
  • Whether xStocks capability is feature-complete or still in development.
Same gist for agents: .md · .json

What it is and what it does

This is an unofficial Python SDK for the Kraken Crypto Asset Exchange, providing both programmatic and command-line access to Spot, xStocks, and Futures trading. It wraps Kraken's REST and WebSocket APIs with synchronous and asynchronous clients, custom exception handling, and a CLI tool that handles authentication in the background. The package supports public endpoints (market data, server time) and private endpoints (account balances, trading) across both Spot and Futures markets.

The SDK is built on standard async libraries (aiohttp, websockets) and includes example scripts and pytest test coverage. It is actively maintained and tested against live API endpoints. The authors explicitly disclaim responsibility for trading losses and note this is independent third-party software not endorsed by Kraken or Payward Ltd.

Use it for

  • Build automated trading bots that monitor Spot or Futures markets and execute orders programmatically.
  • Query account balances, open positions, and trade history without writing raw HTTP requests.
  • Stream real-time order book or trade data via WebSocket for low-latency market monitoring.
  • Access Kraken's public market data (candles, ticker, spreads) for backtesting or analysis.
  • Prototype trading strategies using the async client for concurrent API calls.
  • Use the CLI to manually query Kraken endpoints for debugging or ad-hoc operations.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, with conditions.

Install if you are building a Kraken trading application and want a maintained, low-friction SDK with both sync and async support. Do not install if you require guaranteed official support or cannot tolerate third-party software risk—this is explicitly unofficial and the authors disclaim liability for losses. Pin the version to avoid unexpected behavior on new releases, as recommended in the documentation.

Install

python-kraken-sdk on PyPI

Before you install

Low friction install with six common runtime dependencies (requests, websockets, click, cloup, orjson, aiohttp). Package is actively maintained with a release 38 days ago and recent commits; supports current Python versions (3.11–3.14).

Requires Kraken API keys (generated at https://www.kraken.com/u/security/api for Spot or https://futures.kraken.com/trade/settings/api for Futures) and Python >=3.11.

License in practice

Licensed under Apache-2.0 (permissive), allowing commercial and private use with minimal restrictions.

Quickstart

pip install python-kraken-sdk

from kraken.spot import SpotClient

client = SpotClient(key="<api-key>", secret="<secret-key>")
print(client.request("POST", "/0/private/Balance"))

Verify before relying

  • Whether all Kraken Spot and Futures API endpoints are fully implemented or if some require direct request() calls.
  • Rate-limiting behavior and retry logic when hitting Kraken's API throttles.
  • Whether xStocks capability is feature-complete or still in development.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.11
Install frictionLow. Pure-Python wheel
Runtime dependencies
6 packages
requestswebsocketsclickclouporjsonaiohttp
MaintenanceActively maintained 38 days since the last release
Last repo commit
First released
Downloads131,136 / month, #11,602 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: MacOSOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Office/Business :: FinancialTopic :: Office/Business :: Financial :: InvestmentTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: python_kraken_sdk-3.3.0-py3-none-any.whl

Tags

Capabilities
kraken api client pythoncrypto trading sdkspot futures websocketkraken rest clientexchange api wrapperasync crypto tradingkraken cli tool
Topics
kraken-exchangetrading-automationasync-client
PyPI keywords
cryptotradingkrakenexchangeapisdkautomation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “kraken api client python”

  • python-kraken-sdkProvides REST and WebSocket clients for trading on Kraken's Spot and…
  • krakenexProvides a minimal Python interface to the Kraken.com cryptocurrency…
  • twentyc.rpcA client library for consuming 20c's RESTful API, built on top of the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also krakenex · python-okx · python-binance · moonraker-api · binance-connector · ebaysdk · freqtrade · alpaca-py · coinbase-advanced-py · ccxt