get_interest_rates
Retrieve current supply and borrow APRs across all markets in a protocol. Filter by lender or borrower side and rate type (variable, stable, or fixed).
Instructions
Current supply and borrow APRs across all markets in a protocol. Optionally filter by side (LENDER/BORROWER) or rate type (VARIABLE/STABLE/FIXED).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | Filter: LENDER (supply APR) or BORROWER (borrow APR) | |
| type | No | Filter by rate type | |
| network | No | Network filter. Use these exact values: MAINNET (Ethereum), MATIC (Polygon), ARBITRUM_ONE (Arbitrum), AVALANCHE, BASE, BSC (BNB Chain), OPTIMISM, FANTOM, GNOSIS, BLAST, SCROLL, NEAR, HARMONY, MOONBEAM, MOONRIVER, AURORA, LINEA, ZKSYNC_ERA. Omit to use the default (first) deployment. | |
| protocol | Yes | Protocol registry slug. Must be one of: aave-amm, aave-arc, aave-rwa, aave-v2, aave-v3, abracadabra, alpaca-finance-lending, banker-joe, bastion-protocol, benqi, burrow, compound-v2, compound-v3, cream-finance, dforce, euler-finance, geist-finance, goldfinch, inverse-finance, iron-bank, liquity, makerdao, maple-finance-v1, maple-finance-v2, moonwell, morpho-aave-v2, morpho-aave-v3, morpho-compound, notional-finance, pac-finance, qidao, radiant, rari-fuse, scream, seamless-protocol, seismic, sonne-finance, spark-lend, truefi, uwu-lend, venus, vesta-finance, zerolend |