{"uid":"cap_mF36lw_4-QuArFTep0f-R","slug":"defi-protocol-comparator-via-defillama-3b4d2293","name":"DeFi Protocol Comparator via DefiLlama","description":"Compare two DeFi protocols side by side: TVL, category, number of chains, 7d change, native token and audits, plus which one has more TVL. Live from DefiLlama.","url":"https://api.vextorium.com/protocolo-comparar-pago?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":["nombre_a","nombre_b"],"properties":{"nombre_a":{"type":"string","description":"First protocol, e.g. aave"},"nombre_b":{"type":"string","description":"Second protocol, e.g. 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","null"],"properties":{"a":{"type":["object","null"],"properties":{"token":{"type":["string","null"]},"cadenas":{"type":["number","null"]},"tvl_usd":{"type":["number","null"]},"categoria":{"type":["string","null"]},"protocolo":{"type":["string","null"]},"auditorias":{"type":["number","null"]},"cambio_7d_pct":{"type":["number","null"]}}},"b":{"type":["object","null"],"properties":{"token":{"type":["string","null"]},"cadenas":{"type":["number","null"]},"tvl_usd":{"type":["number","null"]},"categoria":{"type":["string","null"]},"protocolo":{"type":["string","null"]},"auditorias":{"type":["number","null"]},"cambio_7d_pct":{"type":["number","null"]}}},"nota":{"type":["string","null"]},"mayor_tvl":{"type":["string","null"]}}}}}}},"responseSchema":{"type":"json","example":{"a":{"token":"AAVE","cadenas":21,"tvl_usd":17688749981,"categoria":"Lending","protocolo":"Aave V3","auditorias":2,"cambio_7d_pct":-4.8},"b":{"token":"COMP","cadenas":10,"tvl_usd":1504261098,"categoria":"Lending","protocolo":"Compound V3","auditorias":2,"cambio_7d_pct":-1.46},"nota":"Comparativa de dos protocolos. Más TVL, más auditorías y crecimiento estable = mejor señal. Fuente: DefiLlama.","mayor_tvl":"Aave V3"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jzyEzWzjL9wEOP9brfALb","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares two DeFi protocols side by side, returning TVL, category, chain count, 7-day TVL change, native token, and audit count for each, plus which protocol has higher TVL — all sourced live from DefiLlama.","exampleAgentPrompt":"Can you compare Aave and Compound side by side — I want to see their TVL, how many chains they're on, their 7-day TVL change, native token, number of audits, and which one has more TVL overall?","exampleUseCases":[{"title":"DeFi investment due diligence","prompt":"I'm deciding between investing in Aave or MakerDAO. Can you compare them — TVL, category, number of chains, 7-day change, native token, and audits — and tell me which one has more TVL?"},{"title":"Yield strategy protocol selection","prompt":"Before I park my funds somewhere, compare Curve and Convex for me: TVL, chains supported, 7-day TVL trend, their tokens, and which one is bigger."},{"title":"DeFi ecosystem research report","prompt":"I'm writing a report on lending protocols. Can you pull a comparison of Compound vs Morpho — TVL, category, chains, 7-day change, native token, audit count, and which has higher TVL?"}],"resultDescription":"Returns a structured JSON object with two sub-objects (a and b), each containing: protocol name, TVL in USD, DeFi category, number of chains, 7-day TVL change percentage, native token ticker, and audit count. Also includes a 'mayor_tvl' field naming the protocol with higher TVL and an optional explanatory note.","failureModes":["Protocol name not found on DefiLlama — returns null fields for that protocol","Misspelled or unofficial protocol name — returns empty or partial data","DefiLlama upstream unavailable — request may fail or return stale data","Both protocols return null — likely both names are unrecognized"],"whenToPreferThis":"Use this endpoint when you need a structured, side-by-side DeFi protocol comparison with live DefiLlama data. Ideal when the user wants to evaluate two specific protocols across multiple dimensions (TVL, chains, token, audits, trend) simultaneously rather than fetching each protocol's data separately. Best for research, investment due diligence, or automated reporting workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T06:30:02.530Z","isFirstParty":false,"canonicalSlug":"defi-protocol-comparator-via-defillama-3b4d2293"}