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 Borrow APY History
AI-generatedSummary
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"