A fully typed, validated async client for the Moralis API.
- Documentation: https://tribulnation.com/typed/moralis
- Source Code: https://github.com/tribulnation/typed/tree/main/packages/moralis
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 indexessolana-- wallet balances/portfolio and SPL token metadata/pricingbitcoin-- wallet balances/history, block/transaction lookups, and BTC pricinguniversal-- cross-chain entity search and chain/category market metricscortex-- an AI chat endpoint over indexed on-chain data (deprecated upstream)auth-- Sign-In-With-Ethereum-style wallet challenge/verify flowsstreams-- 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
- Fetch Wallet Data
- Fetch Token Data
- Fetch NFT Data
- Fetch Solana Data
- Fetch Bitcoin Data
- Explore Cross-Chain Data
- Authenticate a Wallet
- Manage Webhook Streams
- Paginate Through Results
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)
| File | Size | Uploaded | |
|---|---|---|---|
| typed_moralis-0.3.1.tar.gz | 109.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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