# Vextorium DeFi Protocol Comparator

> Vextorium DeFi Protocol Comparator is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.006/call, status unknown (last checked 2026-10-19).

Compares two DeFi protocols side-by-side by TVL, audits, chains, category, native token, and 7-day TVL change, declaring which has larger TVL.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/protocol-compare?utm_source=zero.xyz
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-defi-protocol-comparator-09ca99a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4OaML963fMMPm2F71x5ST

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vextorium-defi-protocol-comparator-09ca99a4 -d '<json body>'
```

Example prompt: Can you compare Aave and Compound for me — which one has more TVL, more audits, and broader chain coverage?

## When to prefer this

Use this endpoint when you need a structured head-to-head comparison of exactly two DeFi protocols across TVL, audits, chains, and growth metrics. Prefer it over a single-protocol lookup when the user wants a relative ranking or recommendation between two options. It is sourced from DefiLlama and is best for well-known protocols with established DefiLlama entries.

## Known failure modes

- Unknown protocol name returns null fields or empty object
- Protocol slug not matching DefiLlama identifiers causes lookup failure
- Misspelled protocol names may return no data
- Newly listed protocols with insufficient history may have null TVL or change fields
- Network timeout or upstream DefiLlama API unavailability returns error

## How this service works

558 pay-per-call data APIs for AI agents: Solana and EVM on-chain data, tokenized stocks, DeFi, Hyperliquid, economy and official statistics, FX, validation, web and developer tools. Pay in USDC via x402.

## Output

Returns a JSON object with two sub-objects (a and b), each containing the protocol name, native token symbol, TVL in USD, 7-day TVL percentage change, number of security audits, number of supported chains, and DeFi category. Also includes a human-readable comparison note and a 'largest_tvl' field naming the winner by TVL. Data sourced from DefiLlama.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "name_a": {
   "type": "string",
   "description": "First protocol, e.g. aave"
  },
  "name_b": {
   "type": "string",
   "description": "Second protocol, e.g. compound"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "a": {
   "token": "AAVE",
   "audits": 2,
   "chains": 21,
   "tvl_usd": 17688749981,
   "category": "Lending",
   "protocol": "Aave V3",
   "change_7d_pct": -4.8
  },
  "b": {
   "token": "COMP",
   "audits": 2,
   "chains": 10,
   "tvl_usd": 1504261098,
   "category": "Lending",
   "protocol": "Compound V3",
   "change_7d_pct": -1.46
  },
  "note": "Comparison of two protocols. More TVL, more audits and steady growth = a better signal. Source: DefiLlama.",
  "largest_tvl": "Aave V3"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-defi-protocol-comparator-09ca99a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
