{"uid":"cap_KcSFpqVBs7votJQrG8Yv7","slug":"defi-oracle-protocol-compare-c42a0047","name":"DeFi Oracle Protocol Compare","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/protocol-compare","method":"POST","headers":{},"bodySchema":{"type":"object","required":["protocols"],"properties":{"protocols":{"type":"array","description":"Array of protocol slugs (min 2)"}}},"responseSchema":{"type":"object","properties":{"count":{"type":"number"},"comparison":{"type":"array","items":{"type":"object","properties":{"tvl":{"type":"number"},"name":{"type":"string"},"slug":{"type":"string"},"chain":{"type":"string"},"category":{"type":"string"},"change_1d":{"type":"number"},"change_7d":{"type":"number"}}}},"winner_tvl":{"type":"string"}}},"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_HG95Qkb_PMdyvH9UW4CqU","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":"Compares multiple DeFi protocols side-by-side by TVL, category, chain, and recent TVL changes to identify the dominant protocol.","exampleAgentPrompt":"Compare Aave, Compound, and MakerDAO for me — which one has the highest TVL right now, and how have they changed over the past week?","exampleUseCases":null,"resultDescription":"Returns an array of protocol objects each with TVL, name, slug, chain, category, 1-day change, and 7-day change, plus a winner field identifying the protocol with the highest TVL.","failureModes":["Invalid or unrecognized protocol slugs return empty or partial comparison results","Fewer than 2 protocol slugs provided triggers a validation error","DeFiLlama data source temporarily unavailable causes stale or missing TVL data","Protocol slugs that are valid but not tracked by DeFiLlama return null TVL entries"],"whenToPreferThis":"Use this endpoint when you need to directly compare two or more DeFi protocols on TVL metrics and recent momentum. Prefer this over generic DeFi data APIs when you need a structured head-to-head breakdown with a clear winner declared by TVL, powered by DeFiLlama data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:54.018Z","isFirstParty":false}