Is there an API/subgraph that returns historical APY data for Aave v3 on Polygon?

Expert

Hey guys, is there an API/subgraph that returns historical APY data for Aave v3 on Polygon?

I see the data for v3 on Aavescan: https://aavescan.com/reserve/0x2791bca1f2de4661ed88a30c99a7a9449aa841740xa97684ead0e402dc232d5a977953df7ecbab3cdb?version=polygon%20V3

I also found found an API for Aave v2: https://aave-api-v2.aave.com/#/

But is there an API/subgraph that would return hourly/daily APY values?

Answers 1

There is no API endpoint available for Aave v3 markets yet, you can query this data using the ReserveParamsHistoryItem field from the protocol subgraphs;