# DeFi Shield Pool Compare

> DeFi Shield Pool Compare is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.5/call, status unknown (last checked 2026-09-13).

Side-by-side comparison of DeFi liquidity pools with APY, TVL, sustainability scoring, and ranked recommendations

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/defi/pool-compare
- Price: $0.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-05c5c90d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G93ZuNhUkHehgsXWOwvu5

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 defi-shield-hazel-vercel-app-05c5c90d -d '<json body>'
```

Example prompt: Can you compare Uniswap USDC/ETH, Aave USDC, and Curve 3pool side by side — show me the APY, TVL, and sustainability for each, and tell me which one you'd recommend?

## When to prefer this

Use this endpoint when an agent or user needs to evaluate and choose between multiple DeFi liquidity pools and wants a structured, ranked recommendation rather than raw protocol data. Ideal when the user has 2+ candidate pools and wants APY, TVL, and sustainability assessed together in one call rather than querying each pool individually.

## Known failure modes

- Invalid or unrecognized pool identifiers return an error
- Pools with insufficient on-chain data may have incomplete metrics
- Stale or unavailable data sources may cause partial results
- Payment of $0.50 USDC required per call; missing payment returns 402
- Too few pools submitted (need at least 2) to generate a comparison

## Output

A structured side-by-side comparison of the submitted pools including their current APY, TVL, sustainability scores, and an overall ranked recommendation indicating which pool is most attractive.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "bodyType",
    "body",
    "method"
   ],
   "properties": {
    "body": {
     "properties": {
      "chain": {
       "type": "string",
       "description": "Chain (default: base)"
      },
      "pool_addresses": {
       "type": "array",
       "description": "Array of 2-10 pool addresses to compare"
      }
     }
    },
    "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"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-shield-hazel-vercel-app-05c5c90d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-shield-hazel.vercel.app](https://www.zero.xyz/host/defi-shield-hazel.vercel.app/llms.txt)
