{"uid":"cap_5OxwUZyCbYd0UNkJ88b-x","slug":"defi-yield-rankings-via-defillama-fe484411","name":"DeFi Yield Rankings via DefiLlama","description":"Best DeFi yields (APY) across lending/liquidity pools, highest first, source DefiLlama. Optional parameters: ?chain=<slug> (e.g. base), ?min_tvl=<usd> (minimum pool TVL), ?limit=<n> (default 20, max 100).","url":"https://x402-seller-0ay3.onrender.com/api/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"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"chain":{"type":"string","description":"Filter by chain name (e.g. base, ethereum). Optional."},"limit":{"type":"integer","description":"Number of pools to return (1-100, default 20)."},"min_tvl":{"type":"number","description":"Minimum pool TVL in USD. Optional."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":20,"pools":[{"apy":4.2,"chain":"Base","symbol":"USDC","project":"aave-v3","tvl_usd":85000000,"stablecoin":true}],"source":"https://yields.llama.fi/pools","fetched_at":"2026-09-01T12:00:00.000Z"}},"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__i2YnVcVZNn-eKsafcYqJ","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 the highest-APY DeFi lending and liquidity pool yields across chains, sourced from DefiLlama, with optional filtering by chain, minimum TVL, and result count.","exampleAgentPrompt":"What are the top 10 DeFi yield opportunities on Base right now, only showing pools with at least $5 million in TVL?","exampleUseCases":[{"title":"Stablecoin yield comparison across chains","prompt":"Find me the top 20 highest-APY stablecoin pools in DeFi right now — I want to see which chains and protocols are offering the best returns."},{"title":"Chain-specific yield scouting for Base","prompt":"What are the best DeFi yields available on Base chain right now? Show me up to 50 pools, and only include ones with at least $1 million in TVL."},{"title":"High-TVL protocol yield monitoring","prompt":"Pull the top 5 DeFi pools by APY that have at least $50 million in TVL — I only want established, liquid pools, not tiny farms."}],"resultDescription":"A JSON object containing a list of DeFi pools ranked by APY (highest first), each with the pool's APY percentage, chain name, token symbol, project name, TVL in USD, and whether it's a stablecoin pool. Also includes the total count of results, the DefiLlama source URL, and the timestamp of when data was fetched.","failureModes":["Invalid chain slug returns empty results or error","Limit exceeding 100 is capped or rejected","DefiLlama upstream API unavailability causes timeout or stale data","Very high min_tvl values may return zero pools","Payment of $0.005 USDC not provided results in 402 response"],"whenToPreferThis":"Use this endpoint when you need a ranked, up-to-date list of DeFi yield opportunities sourced from DefiLlama without building your own aggregation. Prefer it over direct DefiLlama API calls when you need pay-per-use access without API key management, or when you want chain-filtered and TVL-filtered results in a single call. Ideal for agents making DeFi investment recommendations or portfolio yield comparisons.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:44:52.493Z","isFirstParty":false}