{"uid":"cap_-joK0qGueZlRkHOiV_wtc","slug":"defi-oracle-lp-health-check-2660bf17","name":"DeFi Oracle LP Health Check","description":"DeFi data for AI agents — yield rates, swap routes, IL calculator, liquidation risk, MEV scanner, TVL tracking. Powered by DeFiLlama + on-chain RPC data. Pay with USDC on Base via x402.","url":"https://defi-oracle-two.vercel.app/api/lp-health","method":"POST","headers":{},"bodySchema":{"type":"object","required":["pool_id"],"properties":{"pool_id":{"type":"string","description":"DeFiLlama pool ID"}}},"responseSchema":{"type":"object","properties":{"chain":{"type":"string"},"risks":{"type":"array","items":{"type":"string"}},"metrics":{"type":"object"},"pool_id":{"type":"string"},"project":{"type":"string"},"verdict":{"type":"string"},"health_score":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.1","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.1/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.1","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Xcbe1Y57nVqrQ1LqmVmrQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.1","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes the health of a DeFiLlama liquidity pool by returning a risk assessment, health score, and key metrics for a given pool ID","exampleAgentPrompt":"Can you check the health of the DeFiLlama pool with ID 'f0a69a27-1d6b-4a5b-9b2e-3e1a2c4f8d9e' and tell me if it's safe — I want the risk factors, health score, and overall verdict before I add liquidity.","exampleUseCases":null,"resultDescription":"Returns a JSON object containing: the pool's chain, project name, a numerical health score, an array of identified risk strings, a verdict string summarizing the pool's overall status, and a metrics object with detailed pool data.","failureModes":["Invalid or unknown pool_id returns an error or empty result","Pool data not available on DeFiLlama returns a 404-like response","On-chain RPC call failure causes a 500 server error","Payment not completed via x402/USDC on Base results in 402 Payment Required","Malformed request body missing required pool_id field returns a 400 error"],"whenToPreferThis":"Use this endpoint when you need a structured, scored risk assessment for a specific DeFiLlama liquidity pool — particularly when you want a synthesized health verdict rather than raw protocol data. Ideal for pre-liquidity-provision due diligence, automated portfolio monitoring, or when you have a DeFiLlama pool ID and need actionable risk signal quickly.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:42:10.047Z","isFirstParty":false}