Skip to main content

Typed Kraken

A typed, validated async client for Kraken Spot REST and WebSocket v2, plus public Futures REST and Charts.

PyPI version Python versions Docs License



from typed_kraken import Kraken

async with Kraken.new(public=True) as client:
  ticker = await client.spot.market_data.ticker(pair='XBTUSD')
  print(ticker)

Why Typed Kraken?

  • 🎯 Precise Types: every client.spot, client.streams, client.trading_ws, client.futures, and client.charts parameter and response is typed, down to TypedDicts and Literals for Kraken's own field names.
  • ✅ Runtime Validation: REST and WebSocket v2 responses are validated against their schema before you see them, not just typed on paper.
  • ⚡ Async First: async REST calls and long-lived WebSocket v2 subscriptions, built for concurrent trading workflows.
  • 📚 Full Surface: market data, account, trading, funding, and earn -- every documented Kraken Spot endpoint, not just the popular ones.

Installation

pip install typed-kraken

How To

Reference

Design Philosophy

Typed Kraken follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT -- see LICENSE.

Metadata

Release files for typed-kraken 0.6.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for typed-kraken 0.6.2
File Size Uploaded Provenance Actions
typed_kraken-0.6.2.tar.gz 102.8 kB With provenance Details for typed_kraken-0.6.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for typed-kraken 0.6.2
File Interpreter ABI Platform Actions
typed_kraken-0.6.2-py3-none-any.whl Python 3 none any Details for typed_kraken-0.6.2-py3-none-any.whl

Total release size: 288.8 kB

Release files / typed_kraken-0.6.2.tar.gz

Download URL typed_kraken-0.6.2.tar.gz
Size 102.8 kB
Tags Source
SHA-256 checksum
How to use checksums
80ba87de66f63e37873d6bac6b906e8bbc918323b4c1c6b835b3b1628871b98e
BLAKE2b-256 checksum
How to use checksums
2a0768b2fd94f895d9999e8ec4ec37739564c8ea68cdbfe4ccc294194461cf99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Release files / typed_kraken-0.6.2-py3-none-any.whl

Download URL typed_kraken-0.6.2-py3-none-any.whl
Size 186.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2075db30bca706a68a71c433bf992471d3edff8529109ea18aa76a54d2328528
BLAKE2b-256 checksum
How to use checksums
7959e0f8bb5071f5d7fe3235ddb5d7a4cf6041cbd8e0719ebca03c97281c80c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

Security for typed-kraken 0.6.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for typed_kraken-0.6.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page