# Agent Hub DeFi Yield Aggregator

> Agent Hub DeFi Yield Aggregator is a paid API for AI agents from agents.torbrooknews.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-13).

Searches 16,000+ DeFi liquidity pools across chains and protocols, returning APY, TVL, IL risk and pool metadata filtered and sorted by user criteria.

## Facts

- Endpoint: GET https://agents.torbrooknews.com/v1/defi/yields?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-hub-defi-yield-aggregator-ffa1a685
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UV-LIiacNqVOfAqkhKKXD

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 agent-hub-defi-yield-aggregator-ffa1a685
```

Example prompt: Show me the top 10 stablecoin pools on Arbitrum with at least $2M TVL, sorted by APY — include the base and reward APY, 30-day mean, and any IL risk info.

## When to prefer this

Choose this endpoint when you need real-time DeFi yield discovery across many chains and protocols simultaneously — especially when filtering by token (e.g. USDC), chain (e.g. Base, Arbitrum), or protocol (e.g. Aave, Morpho), or when you want risk-adjusted comparisons including IL risk and 30-day mean APY. Prefer over manual DeFi aggregator browsing or chain-specific protocol APIs when breadth (16,000+ pools) matters.

## Known failure modes

- Invalid chain name returns empty results or error
- Unknown project/protocol name yields no matches
- min_tvl set too high filters out all results
- limit out of 1–100 range may cause validation error
- Stale data if underlying DeFi data source is delayed
- Network timeout for large result sets

## How this service works

Best DeFi yields across 16,000+ pools: filter by chain, protocol, token symbol, stablecoin-only and minimum TVL; sort by APY or TVL. Returns APY (base + reward), 30-day mean APY, TVL, IL risk and a link.

## Output

A ranked list of DeFi pool records, each containing: chain, protocol/project, token symbol(s), base APY, reward APY, combined APY, 30-day mean APY, TVL in USD, impermanent loss risk indicator, and a URL link to the pool. Returns up to 100 results (default 20).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "type": "string",
       "description": "apy (default) | tvl"
      },
      "chain": {
       "type": "string",
       "description": "e.g. Base, Ethereum, Arbitrum"
      },
      "limit": {
       "type": "integer",
       "description": "1 to 100, default 20"
      },
      "symbol": {
       "type": "string",
       "description": "e.g. USDC, ETH"
      },
      "min_tvl": {
       "type": "number",
       "description": "Default 1000000"
      },
      "project": {
       "type": "string",
       "description": "e.g. aave-v3, morpho, aerodrome"
      },
      "stablecoin": {
       "type": "boolean"
      }
     }
    }
   },
   "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/agent-hub-defi-yield-aggregator-ffa1a685/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.torbrooknews.com](https://www.zero.xyz/host/agents.torbrooknews.com/llms.txt)
