Suggested

Aave: How to Track Your Deposits and Loans

Learn how to track Aave deposits, loans, and transactions with Zerion Wallet and Zerion API.

Vladimir Shamanov Vladimir Shamanov Published 7 min read
Aave: How to Track Your Deposits and Loans

Aave is the largest DeFi protocol that lets you put your crypto assets to work or borrow against them.

Zerion Wallet can help you track your Aave deposits and loans alongside the rest of your crypto portfolio. You can also look up any public address in the Zerion web app without connecting a wallet. And if you’re building an app, Zerion API gives you the same deposit-and-debt view in a single wallet positions request. This blog post will give you everything you need to track your Aave positions.

How Aave lending works

Founded in 2020, Aave is one of the oldest and most established non-custodial liquidity protocols.

Aave loans are overcollateralized. To borrow, you supply an eligible asset and enable it as collateral. The asset’s loan-to-value ratio (LTV) determines how much borrowing power it adds. The liquidation threshold determines when that collateral can be seized to repay debt. With multiple collateral assets, Aave uses a weighted threshold for the account.

Aave has several versions of the protocol.

On Aave V3, you receive aTokens that represent your share of the pool and accrue interest. When you borrow, Aave V3 records what you owe as variable debt tokens. Their balance reflects the principal plus accrued interest. In V3, account health is calculated per market.

Aave V4 uses liquidity hubs and lending spokes. Spokes can draw from the same hub, but each spoke has its own risk parameters and health factor. Collateral in one V3 market or V4 spoke can’t protect debt in another.

How to deposit and borrow on Aave, step by step

  1. Supply an asset. Connect your wallet in the Aave app, choose a network and a market or spoke, and confirm the supply transaction. The asset appears as Deposited in Zerion.
  2. Enable it as collateral. Check that the asset is eligible in that market or spoke, then enable it if needed. Zerion continues to show the supplied balance. Aave shows whether it’s enabled as collateral and how much borrowing power it adds.
  3. Borrow. Choose the asset and amount, review the variable rate and projected health factor, and confirm. Zerion shows the outstanding loan as Debt and any borrowed tokens you still hold under Wallet.
  4. Monitor. Check the health factor for the specific market or spoke in Aave. In Zerion, you can see the current value of your deposits and how much you owe alongside your other holdings.
  5. Repay and withdraw. Repay part or all of the loan in Aave, then withdraw the amount your remaining collateral requirements and available liquidity allow. Zerion reflects the reduced debt and any withdrawn tokens that return to your wallet.

Borrowing against AAVE tokens. You can also use AAVE, the governance token, as collateral where it’s enabled. One example is the Aave V4 Main Spoke on Ethereum. Check the reserve before supplying because eligibility and borrowing power vary by market or spoke.

What to track on an Aave loan

Deposits, debt and net position value

Start with the amounts you supplied and borrowed. If you’ve supplied $10,000 worth of WETH and owe $4,000 in USDC, your net Aave position is $6,000. For liquidation risk, check which deposits are actually enabled as collateral.

Borrowed tokens you still hold count toward your wallet balance. Keep the matching loan as a liability when you calculate net worth, even after the borrowed tokens move to another address.

Health factor and liquidation settings

A health factor below 1 makes a position eligible for liquidation.

It can fall as collateral loses value, borrowed assets gain value or interest increases your debt. A higher reading gives you more room. How much room you need depends on the volatility of both assets and how closely their prices move together. Check the health factor before adding debt or withdrawing collateral, and monitor it per market or spoke.

Supply APY and borrow APY

Supply APY is the annualized rate you earn on deposits. Borrow APY is the annualized rate you pay on debt.

To estimate the net interest earned or paid, apply each rate to its own balance in the same currency, then subtract the borrowing cost from the supply income. At 2% on $10,000 supplied and 5% on $4,000 borrowed, both sides come to $200 a year at those balances and rates, before rewards and fees. To express net interest as a percentage of your position, divide the annual estimate by the net position value when it’s positive. Rates and balances change, so revisit the estimate over time.

How to track Aave deposits and loans in Zerion Wallet

Zerion groups Aave positions by protocol and shows both sides of the loan in the same view. Here’s how to find them in the web app.

  1. Open the wallet. In the Zerion web app, use Search to enter a public address or ENS name and select the wallet. You can also connect your own wallet.
  2. Group positions by app. Open Tokens and select By App. Scroll past the Wallet section to see the portfolio grouped by protocol.
  3. Open the Aave card. Select the Aave heading to see the underlying assets, token amounts and USD values. Look for Deposited and Debt. The amount in the card heading is the net value of those positions. Use the link to Aave to check the market’s health factor.
  4. Filter by network. Use All Networks to see the portfolio across supported chains, or pick a chain to isolate the positions held there.
  5. Review activity. Open Activity to find past transactions and see what moved in or out of the wallet. Select a transaction to inspect its details.

Zerion tracks Aave positions on networks including Ethereum, Arbitrum and Monad. If you manage multiple wallets, use the web or mobile app to view them together. You can also open any individual address to see which wallet holds a particular loan. Explore Zerion’s DeFi portfolio tracker · Track other lending, staking, liquidity pool and vault positions · Aave tracking on Monad

How to fetch Aave lending positions with Zerion API

AaveKit’s GraphQL API exposes Aave-native market data and risk settings.

Zerion API is built for the wallet view. It normalizes deposits and loans across supported chains and protocols, identifies the underlying assets, and returns values in USD by default.

If you’re adding Aave to a portfolio alongside Morpho or other lending protocols, the same endpoint and response schema cover them.

Fetch deposits and loans

Call GET /v1/wallets/{address}/positions/ with filter[positions]=only_complex and filter[position_types]=deposit,loan. Here’s a request for the public address used in the screenshots. Set ZERION_API_KEY in your environment before running it.

curl --get \
  --user "${ZERION_API_KEY}:" \
  --data-urlencode 'filter[positions]=only_complex' \
  --data-urlencode 'filter[position_types]=deposit,loan' \
  --data-urlencode 'currency=usd' \
  'https://api.zerion.io/v1/wallets/0xdea611a2f605fe63962e0151e724e9ce4c8a1d5c/positions/'

To narrow future requests to Aave, collect the dApp IDs for the versions you support from relationships.dapp.data.id, then pass those IDs as a comma-separated list in filter[dapp_ids]. Use the IDs returned for your target deployments and add them to the list as you expand coverage. DeFi position requests count toward your plan’s advanced request quota. Wallet positions endpoint reference

Response fieldWhat to use it for
attributes.position_typeTreat deposit as supplied assets and loan as debt.
attributes.valueShow the value in the request currency. It can be null when pricing is unavailable.
relationships.chain.data.idIdentify the network on which the position is held.
relationships.dapp.data.idIdentify the dApp. Use attributes.application_metadata.name for its display name when available.
attributes.group_id and attributes.market_idGroup related rows for display and identify the lending market when its ID is present. Keep the chain and dApp with the group.
attributes.health_factorShow the borrow’s health factor when the field is present. Related rows can carry the same reading, so display it once for the borrow.

Use Aave’s market data for reserve-specific LTV, liquidation settings and APYs. For a missing health factor, display it as unavailable and direct the user to the corresponding Aave market or spoke.

Add transaction history and updates

Use GET /v1/wallets/{address}/transactions/ to backfill wallet history. Match the relevant Aave transactions using the application and decoded transfers, especially when a call is bundled with other actions.

You can also subscribe to wallet transactions with Zerion API’s webhooks. This is helpful for refreshing positions after onchain activity. A health factor can change between transactions as prices move and interest accrues, so refresh positions independently if your product displays liquidation risk.

When could Zerion API help with tracking Aave

Tracking Aave deposits, loans, and activity can be useful for a range of apps:

  • Wallets and portfolio apps show deposits, debt and net worth next to token balances.
  • Lending and credit apps show existing borrower exposure across supported protocols. Check Aave’s market data when you need the exact collateral backing a particular loan.
  • DAO treasuries monitor outstanding debt and deposits across managed addresses and networks.
  • Tax tools use transaction history to trace deposits, borrows, repayments and withdrawals.
  • AI agents use wallet positions to answer questions such as how much a wallet owes and which market has the lowest reported health factor.

Track your next Aave position in Zerion

Look up a wallet in Zerion to see what’s supplied, what’s owed and how much the position is worth today.

Building a wallet or dashboard? Create a free Zerion API key and make your first DeFi positions request.


Frequently asked questions

What is a safe health factor on Aave?

Aim to stay comfortably above 1. A position below 1 becomes eligible for liquidation. The buffer you need depends on how volatile the collateral and borrowed assets are and how closely their prices move together.

What is the liquidation penalty on Aave?

It’s the extra collateral taken on top of the amount used to repay debt in a liquidation. The percentage depends on the collateral and market settings. In Aave V4, the bonus can also change with the position’s health factor.

How do I borrow on Aave step by step?

Connect your wallet to Aave, choose a market or spoke, supply an eligible asset and enable it as collateral. Then choose what to borrow, review the rate and projected health factor, and confirm the transaction.

Can I borrow against AAVE tokens?

Yes, where the reserve accepts AAVE as collateral and gives it borrowing power. The Aave V4 Main Spoke on Ethereum is one example.

Why does my Aave loan balance keep increasing?

Borrow interest accrues while the loan is open, even when you make zero new transactions. The balance in the borrowed token grows with interest, and its USD value can also change with the token’s price.

Can I track an Aave position without connecting my wallet?

Yes. Paste a public address or ENS name into Zerion’s web app, open the wallet, and select By App under Tokens to find its Aave positions.

What API returns Aave deposits and loans for a wallet address?

Zerion API’s wallet positions endpoint returns both. Request complex positions, filter for deposits and loans, and use the dApp IDs for the Aave versions you want to track.

Keep reading

The self-custody wallet built on the data you just saw

Every asset, every position, every trade across 58+ chains — in one wallet you own.

Get Zerion Wallet →

Power your app with the same data that drives Zerion

Real-time wallet data across 58+ chains. No indexing, no infrastructure — just one API call.

Start building →