> ## Documentation Index
> Fetch the complete documentation index at: https://developers.zerion.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Zerion API documentation

> Zerion API is a REST API for onchain wallet data: portfolios, DeFi positions, NFTs, transactions, PnL, prices, and swaps across EVM chains and Solana.

Build on blockchain data you can trust

[Get your API key](https://dashboard.zerion.io)
[API reference](https://developers.zerion.io/api-reference/wallets/get-wallet-portfolio.md)

Real-time balances, positions, and history for any wallet, normalized into one schema across EVM chains and Solana. It's the same data that powers the Zerion app.

## Build onchain apps

[Portfolio Total wallet value, broken down by token and chain.](https://developers.zerion.io/recipes/multi-chain-portfolio.md)
[DeFi positions Lending, staking, and liquidity positions across protocols.](https://developers.zerion.io/recipes/defi-positions.md)
[Transaction history Every transaction decoded into trades, transfers, and approvals.](https://developers.zerion.io/recipes/transaction-history.md)
[PnL Wallet-level and per-token profit and loss.](https://developers.zerion.io/recipes/wallet-pnl-tracker.md)
[NFTs Collections and tokens with metadata, floor prices, and media.](https://developers.zerion.io/recipes/nft-portfolio.md)
[Notifications Webhooks on wallet activity, no polling needed.](https://developers.zerion.io/recipes/wallet-activity-alerts.md)

## Build with AI

Connect your agent
One command installs the [Zerion CLI](https://developers.zerion.io/build-with-ai/zerion-cli.md) and skill for Claude Code, Cursor, and Codex.

\$npx zerion-cli\@latest init

[MCP server Connect Zerion to Claude, Cursor, Windsurf, VS Code, and more.](https://developers.zerion.io/build-with-ai/mcp.md)
[Pay per request Let agents pay per call with x402 or MPP, no API key needed.](https://developers.zerion.io/build-with-ai/x402.md)

## Migrating from another provider

Endpoint-by-endpoint mapping, field translations, and code samples for each provider.

[![](https://mintcdn.com/zerion-f99485ad/Swl5SsX6BrOlR7mZ/images/providers/zapper.png?fit=max\&auto=format\&n=Swl5SsX6BrOlR7mZ\&q=85\&s=21a00ea779b40748b36601f781f3f49a)Zapper](https://developers.zerion.io/migrate-from-zapper.md)
[![](https://mintcdn.com/zerion-f99485ad/Swl5SsX6BrOlR7mZ/images/providers/dune.png?fit=max\&auto=format\&n=Swl5SsX6BrOlR7mZ\&q=85\&s=7822f8142cf9da783922536fb7330edc)Dune SIM](https://developers.zerion.io/migrate-from-sim.md)
[![](https://mintcdn.com/zerion-f99485ad/AebfaJF49uxSfFzx/images/providers/moralis.png?fit=max\&auto=format\&n=AebfaJF49uxSfFzx\&q=85\&s=05a93893ebf1fd0cb0e32e81f6fa50ec)Moralis](https://developers.zerion.io/migrate-from-moralis.md)
[![](https://mintcdn.com/zerion-f99485ad/Swl5SsX6BrOlR7mZ/images/providers/debank.png?fit=max\&auto=format\&n=Swl5SsX6BrOlR7mZ\&q=85\&s=9c5f7a9530345f8f245729f51e9ec10c)DeBank](https://developers.zerion.io/migrate-from-debank.md)
[![](https://mintcdn.com/zerion-f99485ad/AebfaJF49uxSfFzx/images/providers/goldrush.png?fit=max\&auto=format\&n=AebfaJF49uxSfFzx\&q=85\&s=3f9401253774ebd76d2a596e21f7c75b)GoldRush](https://developers.zerion.io/migrate-from-goldrush.md)
[![](https://mintcdn.com/zerion-f99485ad/Swl5SsX6BrOlR7mZ/images/providers/allium.png?fit=max\&auto=format\&n=Swl5SsX6BrOlR7mZ\&q=85\&s=7257a5166d065f666f072842c5c8bcdc)Allium](https://developers.zerion.io/migrate-from-allium.md)
[![](https://mintcdn.com/zerion-f99485ad/ifYgWc5t7gobuXDX/images/providers/mobula.png?fit=max\&auto=format\&n=ifYgWc5t7gobuXDX\&q=85\&s=7e582947fbf19b353a74b764b8e31efd)Mobula](https://developers.zerion.io/migrate-from-mobula.md)
[![](https://mintcdn.com/zerion-f99485ad/Swl5SsX6BrOlR7mZ/images/providers/onebalance.png?fit=max\&auto=format\&n=Swl5SsX6BrOlR7mZ\&q=85\&s=388273efddc3c164734f624512c07d46)OneBalance](https://developers.zerion.io/migrate-from-onebalance.md)

## Quick links

[Supported blockchains Every chain the API covers.](https://developers.zerion.io/supported-blockchains.md)
[Endpoints and schema How endpoints and responses are structured.](https://developers.zerion.io/endpoints-and-schema.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.