Hand it to your coding agent

One prompt with the typed-alchemy install command, its env vars, and a working first call. Paste it into Claude Code, Cursor, or Codex.

Typed Alchemy

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

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.