improved

New AAVE Datapoints on our Lending Lens' Endpoints

2024-10-16

We’re excited to announce a data enhancement to our Protocol, Asset, and Wallet Lens Lending Endpoints. This update provides insights into how the reserves of Aave V2 and V3 pools change in response to specific actions on the protocol.

Now, you can better understand fluctuations in lending and borrowing rates and gain valuable insights into liquidity risks under different market conditions.

We hope this improvement enhances your analytical capabilities. Let us know if you have any questions!

Endpoints affected

  • https://api.amberdata.com/defi/lending/{protocolId}/protocol
  • https://api.amberdata.com/defi/lending/{protocolId}/assets/{asset}
  • https://api.amberdata.com/defi/lending/{protocolId}/wallets/{walletAddress}

Datapoints added to endpoint response

 "reserve": {
    "liquidityRate":
    "stableBorrowRate":
    "variableBorrowRate":
    "liquidityIndex":
    "variableBorrowIndex":
    "totalDepositsNative":
    "totalDepositsUSD":
    "totalBorrowsNative":
    "totalBorrowsUSD":
        }

Description of datapoints

FieldTypeDescription
reserve.liquidityRatenumberThe current annualized interest rate (APY) depositors are earning on their provided liquidity
reserve.stableBorrowRatenumberThe current annualized interest rate (APY) for borrowers who have opted for a stable borrowing rate
reserve.variableBorrowRatenumberThe current annualized interest rate (APY) for borrowers who have chosen a variable borrowing rate
reserve.liquidityIndexnumberCumulative index for growth of funds in the reserve over time, accounting for accrued interest
reserve.variableBorrowIndexnumberCumulative index for growth of the debt for variable rate borrowers overtime, accounting for accrued interest
reserve.totalDepositsNativenumberThe total amount of assets deposited into the reserve, expressed in asset native units (e.g ETH, DAI..)
reserve.totalDepositsUSDnumberThe total value of assets deposited into the reserve, converted to US Dollars
reserve.totalBorrowsNativenumberThe total amount of assets borrowed from the reserve, express in the asset native units (e.g ETH, DAI..)
reserve.totalBorrowsUSDnumberThe total value of assets borrowed from the reserve, converted to US Dollars.