Returns the latest APY and APR rates for a specified token on Aave, for both deposits and loans.
Annual percentage yield (APY) is the yearly return/cost after continuous compounding of the per-second rate stored on-chain. This value is the same value as seen the on app.aave.com but more up-to-date as it is taken directly from the blockchain every time this endpoint is called.
Annual percentage rate (APR) is the yearly simple interest rate (no compounding).
For APY/APR on loans Aave offers both stable and fixed rates on certain tokens.
arbitrum, base, ethereum Optional block number (defaults to latest).
The symbol or address of the token to fetch the user's position on.. A token identifier - either a supported symbol (e.g., USDC, WETH) or a valid Ethereum address (0x...)
"USDC"
"WETH"
"0xA0b86a33E6441ccF30EE5DdEF1E9b652C91ac1c8"
Successful Response
Variable rate APY for deposits.
Variable rate APR for deposits.
Variable rate APY for loans.
Variable rate APR for loans.
Fixed rate APY for loans.
Fixed rate APR for loans.