Actions61
- Activity Actions
- Asset Actions
- Custom Query Actions
- Hub Actions
- Lending Actions
- Market Data Actions
- Position Management Actions
- Position Swap Actions
- Protocol Actions
- Reserve Actions
- Spoke Actions
- Swap Actions
- User Position Actions
Market Data → Get Supply APY History
AI-generatedSummary
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'