Aave V4 icon

Aave V4

Query Aave V4 DeFi protocol. Use this to: check supported chains, list hubs/spokes/reserves, get user positions/balances/supplies/borrows by wallet address, view transaction history, get exchange rates and APY history. Supports custom GraphQL queries for advanced use cases.

Market Data → Get Borrow APY History

AI-generated

Summary

Fetch historical borrow APY values for a specified reserve over a chosen time window.

Inputs

  • chainId — Identifier or name of the blockchain to query.
  • apyReserveId (required) — Identifier or name of the lending reserve for which to fetch borrow APY history.
  • timeWindow — Time window for the historical data, such as 'LAST_DAY' or 'LAST_SIX_MONTHS'.

Output shape

an array of objects each containing a time period label and the corresponding borrow APY value

The response may be empty if no history is available for the selected window.

Examples

Example 1: Retrieve borrow APY history for a specific reserve over the last week

chainId: "eth-mainnet", apyReserveId: "0xReserveId", timeWindow: "LAST_WEEK"

Links

Discussion