{"uid":"cap_SX4rpAgPo1W6-efWIANRp","slug":"defi-yields-by-chain-defillama-b384104b","name":"DeFi Yields by Chain (DefiLlama)","description":"Best DeFi yields (APY) on a given blockchain, across all protocols and tokens, highest first, source DefiLlama — for an agent asking 'where's the best yield on Base/Ethereum/Arbitrum/...?'. Parameter: ?chain=<slug> (e.g. base, required). Optional: ?limit=<n> (1-100, default 10).","url":"https://x402-seller-0ay3.onrender.com/api/defi/yields/by-chain","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":["chain"],"properties":{"chain":{"type":"string","description":"DefiLlama chain slug/name (e.g. base, ethereum, arbitrum)."},"limit":{"type":"integer","description":"Number of pools to return (1-100, default 10)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_0FuyXn9GuVN420nOpDYQq","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 best DeFi yield opportunities (APY) on a specified blockchain, ranked highest first, sourced from DefiLlama.","exampleAgentPrompt":"What are the top 10 DeFi yield opportunities on Base right now — show me the highest APY pools across all protocols?","exampleUseCases":[{"title":"Best yield for idle stablecoins","prompt":"I have some USDC sitting idle — what are the top 5 highest-APY pools on Ethereum right now where I could put it to work?"},{"title":"Comparing DeFi opportunities across a chain","prompt":"Show me the best DeFi yields available on Arbitrum across all protocols and tokens, highest APY first, top 10 results."},{"title":"Scouting new chain for yield farming","prompt":"I'm thinking of moving some funds to Base — what are the highest-yielding DeFi pools there right now?"}],"resultDescription":"A ranked list of DeFi pools/opportunities on the specified chain, ordered by APY descending. Each result typically includes pool name, protocol, token(s), APY percentage, and pool metadata sourced from DefiLlama.","failureModes":["Invalid or unrecognized chain slug returns an error or empty results","Chain slug misspelled (e.g. 'eth' instead of 'ethereum') may yield no results","Limit parameter outside 1-100 range may be rejected or clamped","DefiLlama upstream data unavailable causes service error","Very new or obscure chains may have sparse or no yield data"],"whenToPreferThis":"Use this endpoint when you need chain-specific DeFi yield rankings and want results filtered to a single blockchain. Prefer this over the global yields endpoint when the user has already specified a chain (Base, Ethereum, Arbitrum, etc.) and wants the best opportunities within that ecosystem. Ideal for agents helping users decide where to deploy capital on a particular network.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:47.869Z","isFirstParty":false}