{"uid":"cap_M-DOpToxNQoyhpEWwtcbO","slug":"2s-io-defi-yield-lending-rates-91ce1e73","name":"2s.io DeFi Yield & Lending Rates","description":"DeFi yield & lending rates across protocols (via DefiLlama, free/keyless). Returns pools ranked by APY or TVL with base vs reward APY, TVL, 1d/7d/30d APY trend, stablecoin flag, and IL-risk. Filter by chain, project (aave, compound, lido…), symbol (USDC, ETH…), minApy, minTvlUsd. The yield/lending-rate layer beyond crypto.defi's TVL headline.","url":"https://2s.io/api/crypto/defi-yields","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"type":"object","properties":{"sort":{"enum":["apy","tvl"],"type":"string"},"chain":{"type":"string","maxLength":40},"limit":{"type":"integer","maximum":100,"minimum":1},"minApy":{"type":"number","minimum":0},"symbol":{"type":"string","maxLength":40},"project":{"type":"string","maxLength":60},"minTvlUsd":{"type":"number","minimum":0}},"additionalProperties":false}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0036","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.0036/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0036","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_umFE343FWdmjT9MvI8dQ8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0036","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns DeFi pool yield and lending rates across protocols, ranked and filtered by APY, TVL, chain, project, and symbol with trend data.","exampleAgentPrompt":"Show me the top 20 USDC pools on Ethereum sorted by APY, only ones with at least $5 million TVL and a minimum 4% APY — I want to see base vs reward APY and the 7-day trend.","exampleUseCases":null,"resultDescription":"A ranked list of DeFi liquidity pools or lending markets, each with pool name, project, chain, token symbol, base APY, reward APY, total APY, TVL in USD, 1-day/7-day/30-day APY trends, stablecoin flag, and impermanent loss risk indicator.","failureModes":["Invalid chain or project name returns empty result set or 400 error","minApy or minTvlUsd filters too restrictive — returns empty array","Limit exceeds maximum of 100 — validation error","Upstream DefiLlama data temporarily unavailable — 502 or timeout","Unknown symbol returns empty results with no error"],"whenToPreferThis":"Use this endpoint when you need live DeFi yield or lending rate data across multiple protocols and chains — especially when filtering by specific assets (USDC, ETH), projects (Aave, Compound, Lido), or chains, and when APY trend history (1d/7d/30d) matters. Prefer over generic crypto price APIs when the goal is yield optimization or DeFi rate comparison.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:58:34.824Z","isFirstParty":false}