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

# Recipes

> Task-focused guides for common use cases with the Zerion API.

Practical, step-by-step guides to accomplish specific tasks with the 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>
