# x402-crypto-data DeFi Yield Pools

> x402-crypto-data DeFi Yield Pools is a paid API for AI agents from x402-crypto-data.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Returns top DeFi yield pools with APY and TVL data, filterable by chain, sort order, and stablecoin type, sourced from DefiLlama.

## Facts

- Endpoint: GET https://x402-crypto-data.vercel.app/api/yields
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-crypto-data-defi-yield-pools-b3903130
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sS0XUaBPERNapuqEydi3l

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 x402-crypto-data-defi-yield-pools-b3903130
```

Example prompt: Show me the top 20 DeFi yield pools on Ethereum sorted by APY, stablecoins only, with at least $500,000 TVL.

## When to prefer this

Use this endpoint when you need current DeFi yield pool data (APY/TVL) filtered by specific blockchain network or stablecoin preference, especially when DefiLlama is the trusted data source. Prefer over manual scraping or broader crypto data APIs when you specifically need yield/liquidity pool rankings.

## Known failure modes

- Invalid chain name returns empty results or error
- limit out of range (must be 1-50) returns validation error
- Unknown sortBy value returns error
- minTvlUsd as non-numeric causes schema validation failure
- Payment not included or insufficient USDC results in 402 Payment Required

## How this service works

Top DeFi yield pools with APY/TVL, filterable by chain (DefiLlama).

## Output

A list of DeFi yield pools (up to 50) with fields including pool name, protocol, chain, APY percentage, and TVL in USD, sourced from DefiLlama data.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "chain": "Ethereum",
   "limit": 20,
   "sortBy": "apy",
   "minTvlUsd": 500000,
   "stablecoinOnly": "true"
  }
 }
}
```

## 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": {
      "chain": {
       "type": "string",
       "description": "e.g. Base, Ethereum, Solana"
      },
      "limit": {
       "type": "number",
       "maximum": 50,
       "minimum": 1
      },
      "sortBy": {
       "enum": [
        "apy",
        "tvl"
       ],
       "type": "string"
      },
      "minTvlUsd": {
       "type": "number"
      },
      "stablecoinOnly": {
       "enum": [
        "true",
        "false"
       ],
       "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/x402-crypto-data-defi-yield-pools-b3903130/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-crypto-data.vercel.app](https://www.zero.xyz/host/x402-crypto-data.vercel.app/llms.txt)
