Skip to main content

Typed Moralis

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

PyPI version Python versions Docs License



from typed_moralis import Moralis

async with Moralis.new() as client:
  balances = await client.evm.wallet.token_balances(
    address='0xd8dA6BF26964aF9D7eed9e03E53415D37aA96045', chain='eth',
  )
  print(balances['result'])

Moralis is a cross-chain wallet/token/NFT data API. This client covers its full surface across seven product groups sharing one API key:

  • evm -- wallet balances/history/net worth, ERC20 token metadata/price/holders, NFT metadata/ownership/prices/trades, and raw block/transaction lookups, across every EVM chain Moralis indexes
  • solana -- wallet balances/portfolio and SPL token metadata/pricing
  • bitcoin -- wallet balances/history, block/transaction lookups, and BTC pricing
  • universal -- cross-chain entity search and chain/category market metrics
  • cortex -- an AI chat endpoint over indexed on-chain data (deprecated upstream)
  • auth -- Sign-In-With-Ethereum-style wallet challenge/verify flows
  • streams -- webhook stream management (create, update, and inspect server-side push subscriptions; delivery is an HTTP POST to your own endpoint, not a client-side socket)

Why Typed Moralis?

  • 🎯 Precise Types: Typed endpoint inputs and responses, not dict/Any.
  • ✅ Runtime Validation: Responses validated by default, not just typed on paper.
  • ⚡ Async First: Async HTTP, built for concurrent wallet, token, and NFT lookups.
  • 📚 Full Surface: every documented Moralis endpoint across EVM, Solana, Bitcoin, cross-chain, auth, and streams data -- not just the popular ones.

Installation

pip install typed-moralis

How To

Reference

Design Philosophy

Typed Moralis follows the principles outlined in this blog post.

Details matter. Developer experience matters.

License

MIT — see LICENSE.

Metadata

Release files for typed-moralis 0.3.1

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-moralis 0.3.1
File Size Uploaded
typed_moralis-0.3.1.tar.gz 109.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for typed-moralis 0.3.1
File Interpreter ABI Platform
typed_moralis-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 388.0 kB

Release files / typed_moralis-0.3.1.tar.gz

Download URL typed_moralis-0.3.1.tar.gz
Size 109.7 kB
Tags Source
SHA-256 checksum
How to use checksums
4e9349b964c897fdc69672d0dabfc06d69350fc270aaaa87d22439a0c08aac85
BLAKE2b-256 checksum
How to use checksums
e286760f7b4bf21bd10428366f5660a9d266e2169fad9f6952bb4ce3f239d883
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 20, 2026.

Transparency log

Release files / typed_moralis-0.3.1-py3-none-any.whl

Download URL typed_moralis-0.3.1-py3-none-any.whl
Size 278.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
945d4f5fb07347511ef92b81045796ba164f8cb2a7a5fe9f7fbbf9dd9159f836
BLAKE2b-256 checksum
How to use checksums
d85f90f5b2f2e0ac3baf88a2f3b3aea923d547c9b76f1c7e5fdf14e9d719a6fa
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 20, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

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