Skip to main content

Typed Alchemy

A fully typed, validated async client for the Alchemy API.

PyPI version Python versions Docs License



from typed_alchemy import Alchemy

async with Alchemy.new() as client:
  prices = await client.prices.by_symbol(symbols=['ETH', 'BTC'])
  transfers = await client.transfers(network='ethereum').get_asset_transfers(
    from_block='0x0',
    to_address='0x5c43B1eD97e52d009611D89b74fA829FE4ac56b1',
    category=['external'],
    max_count='0x2',
  )

Why Typed Alchemy?

  • 🎯 Precise Types: Typed request and response models across Portfolio, Prices, NFT, Token, Transfers, Utility, and Simulation endpoints.
  • ✅ Runtime Validation: Responses validated by default, not just typed on paper.
  • ⚡ Async First: One shared async HTTP transport, ready for concurrent requests.
  • 📚 Full Surface: Every supported network exposed uniformly, not just Ethereum.

Installation

pip install typed-alchemy

How To

Reference

Design Philosophy

Typed Alchemy follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Release files for typed-alchemy 2.1.0

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-alchemy 2.1.0
File Size Uploaded
typed_alchemy-2.1.0.tar.gz 40.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typed-alchemy 2.1.0
File Interpreter ABI Platform
typed_alchemy-2.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 120.4 kB

Release files / typed_alchemy-2.1.0.tar.gz

Download URL typed_alchemy-2.1.0.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
7b187fd125c9b37c5dfeec075095a6b16c4f17fc63c860a763eb9e41964eee0c
BLAKE2b-256 checksum
How to use checksums
1d3bd8bf2fe4d559deef5c1c75e3756399726f7e4c23bbb8b58660ebeb9af3f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 10, 2026.

Transparency log

Release files / typed_alchemy-2.1.0-py3-none-any.whl

Download URL typed_alchemy-2.1.0-py3-none-any.whl
Size 79.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a380c7690f492cfbd30c3aab69f611ad214e481635059a08462e30a1b3b8e6e3
BLAKE2b-256 checksum
How to use checksums
2d2f48f11011db8555050ad0cd399f3e314e6355e7ce05b25fdbdeb6d56641db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 10, 2026.

Transparency log

Release history Release notifications | RSS feed

2.2.1

2 release files

2.2.0

2 release files

This release

2.1.0 This release

2 release files

2.0.0

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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