# DeFiRisk DeFi protocol risk assessment. Returns protocol risk score, TVL, audit history, smart contract risk signals, and counterparty exposure for major DeFi protocols. $0.10/query via x402. | Also: CascadeWatch (cascade.lonestaroracle.xyz) StakeEdge (stake.lonestaroracle.xyz) | Full catalog: lonestaroracle.xyz Base URL: https://defi.lonestaroracle.xyz Payment: x402 micropayment in USDC on Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp); a 402 response returns payment terms. ## Endpoints ### GET /risk Risk Parameters: - protocol (string, required, in query): Protocol name or slug - address (string, optional, in query): Optional contract address for GoPlus check - chain_id (string, optional, in query): Chain ID for GoPlus (default: 1 = Ethereum) ### GET /top-yields Top Yields Screener - cross-protocol risk-adjusted DeFi yield screener over the DeFiLlama pool universe. Ranks pools by REAL base APY (separated from unsustainable reward/emission APY), flags yield traps, adds a 0-10 risk overlay (emissions dependence, TVL depth, IL exposure, volatility). $0.10/query. Parameters: - asset (string, optional, in query): Token symbol filter, e.g. USDC - chain (string, optional, in query): Chain filter, e.g. Base, Ethereum, Arbitrum - stablecoin (string, optional, in query): true = stablecoin pools only - min_tvl (number, optional, in query): Minimum pool TVL in USD - category (string, optional, in query): lending or lp - risk_max (integer, optional, in query): Max risk score 0-10 - limit (integer, optional, in query): Result count (max 50) ## Topics & example queries DeFi protocol risk before allocating capital: smart-contract risk, TVL, audit status and history, counterparty and rug risk, lending and yield protocol safety. Covers major protocols (Aave, Morpho, Compound, Fluid, Pendle, Maple, Ondo, Spark, and more). Example queries: 'how risky is aave', 'defi protocol risk score', 'is this protocol safe to deposit into', 'smart contract risk for a protocol', 'best stablecoin yields right now', 'top risk-adjusted defi yields', 'is this high apy sustainable or emissions'. ## Related services Other LoneStarOracle feeds often used with this one: - RWARisk (rwa.lonestaroracle.xyz, $0.10) - RWA vault/protocol risk - StablePulse (stable.lonestaroracle.xyz, $0.05) - stablecoin peg & risk - CascadeWatch (cascade.lonestaroracle.xyz, $0.10) - contagion/cascade risk - StakeEdge (stake.lonestaroracle.xyz, $0.05) - staking yields & rates - ContractCheck (contract.lonestaroracle.xyz, $0.05) - smart-contract safety verify Agent manual (SKILL.md): https://defi.lonestaroracle.xyz/SKILL.md