{"uid":"cap_G2dT6v7QwUav8NWJa2Epx","slug":"defi-api-agenticfi-wtf-f0de75f5","name":"DeFi Lending Rates API","description":"Supply & borrow rates across Aave, Compound, Morpho, Spark","url":"https://defi-api.agenticfi.wtf/api/defi/lending-rates","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{}}},"response":{"_truncated":true,"_originalSize":78873}},"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_TYxp3MQctoiu2YkIYb9cb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current supply and borrow interest rates across major DeFi lending protocols including Aave, Compound, Morpho, and Spark","exampleAgentPrompt":"What are the current supply and borrow rates across Aave, Compound, Morpho, and Spark right now? I want to compare them so I can decide where to deposit my stablecoins for the best yield.","exampleUseCases":[{"title":"Find cheapest ETH borrowing in DeFi","prompt":"I need to borrow some ETH urgently. Can you check the current borrow rates across Aave, Compound, Morpho, and Spark and tell me which one will cost me the least?"},{"title":"Optimize stablecoin yield farming strategy","prompt":"I'm looking to move my USDC around to maximize returns. Pull the latest supply rates from all the major lending protocols and show me where I'd earn the most APY right now."},{"title":"Monitor real-time DeFi lending rate changes","prompt":"I want to keep tabs on how borrowing and lending rates are shifting across the big DeFi platforms. Can you get me the current rates on Aave, Compound, Morpho, and Spark so I can see if there are any good opportunities today?"}],"resultDescription":"A JSON payload listing current supply APY and borrow APR rates for each major DeFi lending protocol (Aave, Compound, Morpho, Spark), potentially broken down by asset and chain, allowing direct comparison of yield and borrowing costs across the ecosystem.","failureModes":["Rate limit or upstream protocol data unavailable — may return partial data or 503","Payment required error (402) if x402 payment header is missing or USDC balance insufficient","Stale data if on-chain RPC providers are lagging","Empty or malformed response if all protocols are temporarily unreachable"],"whenToPreferThis":"Use this endpoint when you need a cross-protocol comparison of DeFi lending and borrowing rates in a single call, covering Aave, Compound, Morpho, and Spark simultaneously. Prefer this over querying each protocol's own API individually when you need a unified, normalized view of the lending rate landscape for decision-making or yield optimization.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:37:36.829Z","isFirstParty":false}