{"uid":"cap_7FBW02QiBwHmlxxU4kKzG","slug":"defi-shield-hazel-vercel-app-fe43a0a3","name":"DeFi Shield Protocol Risk Assessment","description":"","url":"https://defi-shield-hazel.vercel.app/api/protocol/risk","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":{"protocol_name":{"type":"string","description":"Protocol name (e.g. aave, uniswap, compound)"}}},"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":{"protocol_name":"aave"},"type":"http","method":"POST","bodyType":"json"}},"response":{"tvl":11805496579.190788,"slug":"aave-v3","chains":["Ethereum","Plasma","Arbitrum","Base","Avalanche","Binance","Polygon","MegaETH","Mantle","X Layer","xDai","Optimism","Linea","Sonic","Celo","Scroll","zkSync Era","Metis","Soneium","Fantom","Harmony"],"category":"Lending","protocol":"Aave V3","audit_info":{"status":"audited","audit_count":2,"audit_links":["https://aave.com/security"]},"risk_level":"low","risk_score":25,"chain_count":21,"risk_factors":["2 audits recorded","Well-diversified across 21 chains","1 known exploit(s) in history","Large TVL (>$1B) — battle-tested"],"tvl_change_1d":0.6937024756044252,"tvl_change_7d":3.014994309686543,"exploit_history":[{"date":1773273600,"name":"Aave V3","technique":"CAPO Oracle Misconfiguration","amount_usd":862000,"classification":"Ecosystem"}],"response_time_ms":445}},"exampleRequest":{"protocol_name":"aave"},"tags":["x402"],"displayCostAmount":"0.5","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.5/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.5","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yAey4sc_2J0dsgTTlNvK0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.5","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Assesses risk level of a DeFi protocol by analyzing TVL trends and audit status","exampleAgentPrompt":"Can you run a risk assessment on the Aave protocol — I want to know if the TVL trends look healthy and whether it's been properly audited before I move funds in?","exampleUseCases":null,"resultDescription":"Returns a structured risk assessment including TVL trend analysis, audit status, and an overall risk score or risk level classification for the specified DeFi protocol.","failureModes":["Unknown or unrecognized protocol identifier returns an error or null result","Protocol with insufficient TVL history may produce low-confidence assessment","Missing or outdated audit data results in incomplete risk profile","Rate limiting or payment failure returns 402 or 429 status","Malformed request body returns 400 validation error"],"whenToPreferThis":"Use this endpoint when you need a combined risk signal from both TVL trend data and audit status for a DeFi protocol, especially before committing funds or recommending a protocol to users. Prefer this over a generic TVL lookup when you want an integrated risk score rather than raw figures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:50:46.631Z","isFirstParty":false}