{"uid":"cap_P6KKV-cbapyudgvIPOMdg","slug":"defi-shield-hazel-vercel-app-7aa04f6f","name":"DeFi Shield Yield Analysis","description":"","url":"https://defi-shield-hazel.vercel.app/api/defi/yield-analysis","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","bodyType","body","method"],"properties":{"body":{"properties":{"chain":{"type":"string","description":"Chain (default: base)"},"pool_address":{"type":"string","description":"Liquidity pool address"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":{"request":{"input":{"body":{"chain":"base","pool_address":"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"},"type":"http","method":"POST","bodyType":"json"}},"response":{"chain":"base","found":false,"message":"Pool not found in DeFiLlama database. Try the full pool ID (chain-project-pair format).","analyzed_at":"2026-06-12T02:03:18.629Z","pool_address":"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"}},"exampleRequest":{"chain":"base","pool_address":"0x88e6a0c2ddd26feeb64f039a2c41296fcb3f5640"},"tags":["x402"],"displayCostAmount":"0.75","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.75/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.75","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_KUIJ6rRiFaT1UPT0FxD0M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.75","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Decomposes DeFi yield (APY) into its components, scores sustainability, and detects wash trading to assess whether returns are genuine","exampleAgentPrompt":"Can you break down the yield on the USDC-ETH pool on Uniswap v3 — I want to know what's driving the APY, whether it's sustainable, and if there's any wash trading inflating those numbers?","exampleUseCases":null,"resultDescription":"Returns a structured breakdown of APY components (e.g. trading fees, token emissions, incentives), a sustainability score indicating how durable the yield is, and a wash trading detection result flagging whether pool volume or returns appear artificially inflated.","failureModes":["Unknown or unsupported protocol/pool address returns 404 or empty result","Insufficient on-chain data for yield decomposition returns partial result or low confidence score","Malformed pool address causes 400 validation error","Wash trading signal unavailable if volume history is too short","Service timeout on complex multi-source yield decomposition"],"whenToPreferThis":"Use this endpoint when an AI agent needs to evaluate the quality and authenticity of DeFi yields before recommending or investing in a pool. Prefer this over generic APY aggregators when sustainability scoring and wash trading detection are required, not just raw APY numbers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:46:22.654Z","isFirstParty":false}