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

# Lending Metrics

> Multi-chain DeFi Metrics show aggregates of DeFi lending and give visibility into how wallets interact with protocols.

# Definition

[**Lending Protocol Summary Metrics**](/http/defi/lending-metrics-summary): Multi-chain daily aggregate insights like borrows, deposits, liquidations, and revenue for a specified lending protocol.

[**Lending Asset Summary Metrics**](/http/defi/lending-assets-metrics-summary): Understand how an asset performs within a lending protocol with multi-chain aggregate metrics for a specified asset.

[**Track Lending Wallet Positions**](/http/defi/lending-wallets-portfolio): Shows complete visibility into a wallet's breakout positions across lending and borrowing protocols. Understand historical balances, track lending and borrowing history, and evaluate asset exposure.

***

# Details

Multi-chain coverage includes Compound v2 and v3, MakerDAO, and Aave v2 and v3.

| Protocol    | Ethereum | Polygon | Arbitrum | Optimism | Avalanche |
| ----------- | -------- | ------- | -------- | -------- | --------- |
| Aave v2     | X        | X       |          |          | X         |
| Aave v3     | X        | X       | X        | X        | X         |
| MakerDAO    | X        |         |          |          |           |
| Compound v2 | X        |         |          |          |           |
| Compound v3 | X        | X       | X        |          |           |

***

# API Endpoints

[/defi/lending/\{protocolId}/metrics/summary](/http/defi/lending-metrics-summary)

[/defi/lending/\{protocolId}/assets/\{assetId}/metrics/summary](/http/defi/lending-assets-metrics-summary)

[/defi/lending/\{protocolId}/wallets/\{address}/portfolio](/http/defi/lending-wallets-portfolio)

***

# Availability

DeFi lending metrics endpoints are available via REST API for historical (time series) data and AWS S3 for bulk downloads.

Sample files are available to [download here](/cloudsync/cloudsync-blockchain-data-and-defi-analytics).

***
