{"uid":"cap_B8kzDFtka0O3DnQXvPaKH","slug":"myworker-agent-api-defi-yield-data-c626c7c5","name":"Myworker Agent API – DeFi Yield Data","description":"Servis berbayar untuk bot/agen (x402): data pasaran Solana via Jupiter + RPC, dan servis AI via Workers AI. Bayar per panggilan dengan USDC di Solana, USDC di Base, atau SOL.","url":"https://crypto-micro-agent.mykira.workers.dev/api/agent/yield-defi?utm_source=zero.xyz","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","example":{"jumlah":5,"stabil":false},"properties":{"jumlah":{"type":"integer","description":"Bilangan pool (1-10, lalai 5)"},"stabil":{"type":"boolean","description":"Hanya pool stablecoin (cth Aave, Compound)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"hasil":{"hasil":[{"projek":"Pendle","stabil":true,"simpbol":"USDe/Ethena PT","tvl_usd":210000000,"rangkaian":"Ethereum","apy_peratus":15.4,"apy_asas_peratus":15.4,"apy_bonus_peratus":null},{"projek":"Aave","stabil":true,"simpbol":"ABUSD-C","tvl_usd":560000000,"rangkaian":"Polygon","apy_peratus":8.1,"apy_asas_peratus":6.2,"apy_bonus_peratus":1.9}],"sumber":"defillama-yields","tapis_stabil":false,"jumlah_diminta":2,"disungi_tvl_usd":10000000},"servis":"yield-defi"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_G1nzDRKISe5rV1yIMIww7","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns top DeFi yield/APY opportunities across protocols and chains, sourced from DeFiLlama, filterable by pool count and stablecoin-only preference.","exampleAgentPrompt":"Show me the top 5 DeFi yield pools right now, including both stablecoin and non-stablecoin pools, so I can see the highest APY opportunities across protocols.","exampleUseCases":[{"title":"Find top stablecoin yield pools","prompt":"Can you pull up the top 3 stablecoin DeFi yield pools right now? I want to see which protocols like Aave or Compound are offering the best APY for stable assets."},{"title":"Compare highest-yield DeFi pools","prompt":"Show me the 10 best DeFi yield opportunities across all pool types — I want to compare APY, TVL, and which blockchain each one is on so I can decide where to put my funds."},{"title":"Monitor DeFi yields for rebalancing","prompt":"Fetch the current top 5 DeFi yield pools including any bonus APY, so I can check if any of them beat my current position and whether I should rebalance."}],"resultDescription":"A JSON array of DeFi pool objects, each containing the protocol name (projek), pool symbol (simpbol), TVL in USD (tvl_usd), total APY (apy_peratus), base APY (apy_asas_peratus), bonus APY (apy_bonus_peratus), blockchain network (rangkaian), and whether it is a stablecoin pool (stabil). Also includes metadata: data source (DeFiLlama), stablecoin filter status, number of results requested, and minimum TVL threshold applied.","failureModes":["DeFiLlama upstream outage returns empty or error result","Invalid jumlah value (outside 1-10 range) may return default or error","Payment failure via x402 protocol returns 402 status and no data","Network timeout if DeFiLlama API is slow"],"whenToPreferThis":"Choose this endpoint when you need real-time DeFi yield data aggregated across multiple protocols and chains, especially when you want to filter for stablecoin-only pools. It is well-suited for agents doing portfolio rebalancing recommendations, yield comparison, or DeFi opportunity discovery. Prefer this over manual DeFiLlama scraping when you need a pay-per-call, agent-ready API with structured JSON output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-23T18:37:44.316Z","isFirstParty":false,"canonicalSlug":"myworker-agent-api-defi-yield-data-c626c7c5"}