← All Recipes

Zerion DeFi Positions

By Bazantic

zerion-defi-positions

The DeFi positions of one EVM or Solana wallet, from the Zerion API: deposits, loans, stakes and rewards grouped by protocol, with the deposited, borrowed and net totals. Hosts that support MCP Apps show it as the DeFi Desk view.

Recipe inputs
Complete fields before a run.
An EVM address (0x and 40 hexadecimal characters) or a Solana address (32 to 44 base58 characters).
Output example
Representative published output.
{
  "source": "Zerion",
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "net_usd": 61710,
  "protocols": [
    {
      "name": "Aave V3",
      "net_usd": 38900,
      "chain_id": "ethereum",
      "icon_url": "https://cdn.zerion.io/aave.png",
      "positions": [
        {
          "symbol": "USDC",
          "quantity": 61400,
          "value_usd": 61400,
          "position_type": "deposit"
        },
        {
          "symbol": "WETH",
          "quantity": 6.5,
          "value_usd": 22500,
          "position_type": "loan"
        }
      ]
    },
    {
      "name": "Lido",
      "net_usd": 18610,
      "chain_id": "ethereum",
      "icon_url": null,
      "positions": [
        {
          "symbol": "stETH",
          "quantity": 5.4321987,
          "value_usd": 18610,
          "position_type": "staked"
        }
      ]
    },
    {
      "name": "Uniswap V3",
      "net_usd": 4200,
      "chain_id": "base",
      "icon_url": null,
      "positions": [
        {
          "symbol": "ETH",
          "quantity": 1.25,
          "value_usd": 4200,
          "position_type": "deposit"
        }
      ]
    }
  ],
  "rewards_usd": 0,
  "borrowed_usd": 22500,
  "deposited_usd": 84210,
  "position_count": 4,
  "protocol_count": 3
}