> ## 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.

# Step-by-step guides for common Zerion API tasks

> Task-focused guides for building portfolio trackers, NFT viewers, PnL dashboards, transaction feeds, swap flows, and wallet alerts with Zerion API.

Practical, step-by-step guides to accomplish specific tasks with Zerion API. Each recipe combines multiple endpoints to solve a real-world problem.

<CardGroup cols={2}>
  <Card title="Build a portfolio tracker" icon="chart-pie" href="/recipes/multi-chain-portfolio">
    Fetch wallet value, list token holdings, aggregate multiple wallets, and chart performance over time.
  </Card>

  <Card title="Get a wallet's transaction history" icon="clock-rotate-left" href="/recipes/transaction-history">
    Fetch and interpret a wallet's transactions with human-readable types and transfer details.
  </Card>

  <Card title="Set up wallet activity alerts" icon="bell" href="/recipes/wallet-activity-alerts">
    Use webhooks to get notified in real time when a wallet sends or receives tokens.
  </Card>

  <Card title="Build a wallet PnL tracker" icon="chart-line" href="/recipes/wallet-pnl-tracker">
    Track realized gains, unrealized gains, cost basis, and per-token performance.
  </Card>

  <Card title="Get a wallet's DeFi positions" icon="layer-group" href="/recipes/defi-positions">
    Retrieve lending, staking, and liquidity positions across DeFi protocols.
  </Card>

  <Card title="Swap tokens & bridge assets" icon="arrows-rotate" href="/recipes/swap-tokens">
    Get quotes and ready-to-sign transactions for same-chain swaps and cross-chain bridges.
  </Card>

  <Card title="Build an NFT portfolio viewer" icon="image" href="/recipes/nft-portfolio">
    Fetch a wallet's NFT holdings grouped by collection, with floor prices and chain breakdown.
  </Card>

  <Card title="Build an AI agent with onchain data" icon="robot" href="/recipes/ai-agent-integration">
    Give your AI agent access to wallet portfolios, token prices, and transaction history.
  </Card>
</CardGroup>


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