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 Supply APY History

AI-generated

Summary

Retrieves historical supply APY data for a specified reserve over a chosen time window.

Inputs

  • chainId — Choose from the list, or specify an ID using an expression
  • apyReserveId (required) — Choose from the list, or specify an ID using an expression
  • timeWindow — The time window for historical data

Output shape

array of objects with timestamp and apy fields

Returns historical APY data for the reserve; may be empty if no data exists

Examples

Example 1: Fetch APY history for a user‑selected reserve over the last week

chainId: 'ethereum'; apyReserveId: 'aave.v3.WETH'; timeWindow: 'LAST_WEEK'

Example 2: Retrieve all‑time APY history for a reserve on Polygon

chainId: 'polygon'; apyReserveId: '0x...'; timeWindow: 'ALL'

Example 3: Get daily APY history for a reserve using an expression

chainId: 'avalanche'; apyReserveId: 'reserveIdExpression'; timeWindow: 'LAST_MONTH'

Links

Discussion