# DeFi Yield & TVL Data

> DeFi Yield & TVL Data is a paid API for AI agents from anibalb.duckdns.org, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns current DeFi yield (APY) and total value locked (TVL) data across pools, chains, and protocols

## Facts

- Endpoint: GET https://anibalb.duckdns.org/x402/defi-yield-tvl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-yield-tvl-data-97389d82
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hz689WNDzBG2t21t1ncZe

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-yield-tvl-data-97389d82
```

Example prompt: Pull the current DeFi yield and TVL data across pools — I want to see APY and total value locked by protocol and chain.

## When to prefer this

Use this endpoint when you need real-time DeFi yield (APY) and TVL metrics across multiple protocols and chains without requiring an API key or account. It is particularly suitable for AI agents making pay-per-call microtransactions via x402/USDC on Base. Prefer it over traditional DeFi analytics APIs when you want frictionless, keyless access for lightweight lookups.

## Known failure modes

- Upstream DeFi data source unavailable — empty or error response
- Payment not processed (x402 USDC payment failure) — 402 response with no data
- Rate or network timeout for on-chain data aggregation
- Stale data if upstream provider has not refreshed recently

## How this service works

Public data and utility APIs paid per call in USDC on Base (x402). No accounts, no API keys. 174 routes: crypto/equity data, onchain reads, DNS/email/security intel, geo/weather, x402 payment diagnostics, dev utilities and more.

## Output

A JSON array of DeFi pool objects, each containing the APY (annual percentage yield), TVL (total value locked in USD), the blockchain chain name, the pool token symbol, and the project name — e.g. [{apy: 5.2, tvl: 1000000, chain: 'Ethereum', symbol: 'ETH', project: 'Lido'}].

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "mode": "yield",
  "pools": [
   {
    "apy": 5.2,
    "tvl": 1000000,
    "chain": "Ethereum",
    "symbol": "ETH",
    "project": "Lido"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-yield-tvl-data-97389d82/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from anibalb.duckdns.org](https://www.zero.xyz/host/anibalb.duckdns.org/llms.txt)
