# DeFi Shield Chain Yield Opportunities

> DeFi Shield Chain Yield Opportunities is a paid API for AI agents from defi-shield-hazel.vercel.app, paid per call via x402, $0.25/call, status unknown (last checked 2026-09-15).

Returns top yield opportunities on a specified blockchain chain, filtered by TVL and APY thresholds, with aggregated statistics

## Facts

- Endpoint: POST https://defi-shield-hazel.vercel.app/api/chain/yield
- Price: $0.25/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-shield-hazel-vercel-app-cd72ac70
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2Wqe-BlVj5A9IPsfUX9oi

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-cd72ac70 -d '<json body>'
```

Example prompt: Show me the top 10 yield opportunities on Arbitrum with at least $500K TVL and a minimum APY of 8% — I want to see the best options ranked by return.

## When to prefer this

Use this endpoint when an agent needs to discover and compare yield farming or liquidity pool opportunities on a specific blockchain, especially when filtering by quality signals like TVL and APY. Prefer this over generic token price endpoints when the goal is capital deployment strategy or DeFi yield research. Best suited for agents building investment summaries, portfolio recommendations, or DeFi opportunity alerts.

## Known failure modes

- Unsupported or unrecognized chain identifier returns an error or empty results
- No pools matching the TVL/APY filter thresholds returns an empty opportunities array
- External DeFi data provider unavailability causes fetch failure
- Invalid filter values (negative APY or TVL) may cause validation errors
- Rate limiting or payment failure due to missing x402 payment header

## Output

Returns a ranked list of yield opportunities on the specified chain including pool names, protocols, APY percentages, TVL values, and aggregate statistics such as average APY and total TVL across results.

## Example request

```json
{
 "input": {
  "body": {
   "chain": "arbitrum",
   "min_apy": 8,
   "min_tvl": 500000
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
 }
}
```

## 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 name to search yield opportunities"
      },
      "min_apy": {
       "type": "number",
       "description": "Minimum APY filter"
      },
      "min_tvl": {
       "type": "number",
       "description": "Minimum TVL filter in USD"
      }
     }
    },
    "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-cd72ac70/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)
