{"uid":"cap_fIrf1XhJeboLNvmwRQjKh","slug":"defillama-lending-rates-api-50612e34","name":"DeFiLlama Lending Rates API","description":"Lending rates right now (DeFiLlama): market, chain, asset, supply APY, borrow APY, TVL - deploy idle capital or price credit","url":"https://money-reactor.makar52nn2016.workers.dev/api/lending-rates?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","properties":{}}}},"output":{"type":"object","properties":{"example":{"ok":true,"price_usd":"0.05","description":"Lending rates right now (DeFiLlama): market, chain, asset, supply APY, borrow APY, TVL - deploy idle capital or price credit"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_FZFjZ8md3W4gmbrjxCw5Z","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current DeFi lending rates including market, chain, asset, supply APY, borrow APY, and TVL from DeFiLlama","exampleAgentPrompt":"Can you pull the current DeFiLlama lending rates and show me which markets have the highest supply APY and what the TVL looks like across chains?","exampleUseCases":[{"title":"Find best stablecoin yield","prompt":"I have some idle USDC and want to earn yield — can you check the current DeFiLlama lending rates and tell me which protocol and chain offers the highest supply APY for stablecoins right now?"},{"title":"Compare borrow costs across protocols","prompt":"I need to borrow against my ETH — can you look up the current borrow APYs across DeFi lending markets so I can find the cheapest rate available?"},{"title":"Monitor DeFi lending market health","prompt":"Give me a snapshot of the top DeFi lending markets right now — I want to see supply APY, borrow APY, and TVL for the biggest protocols across chains."}],"resultDescription":"Returns a list of DeFi lending markets with fields including market name, chain, asset, current supply APY (%), borrow APY (%), and TVL in USD — sourced live from DeFiLlama.","failureModes":["DeFiLlama upstream API unavailable — returns error or empty data","Rate limiting or payment failure for the $0.05 x402 fee — returns 402 Payment Required","Stale data if DeFiLlama indexer lags behind on-chain state","No filtering parameters mean the full dataset must be parsed client-side"],"whenToPreferThis":"Use this endpoint when you need a broad, real-time snapshot of DeFi lending rates across multiple protocols and chains sourced from DeFiLlama. Prefer it over on-chain calls when you need aggregated cross-protocol data without building your own indexer. Ideal for yield optimization agents, credit pricing tools, or DeFi dashboards that need supply/borrow APYs and TVL in one call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:30:11.003Z","isFirstParty":false,"canonicalSlug":"defillama-lending-rates-api-50612e34"}