# DeFi Oracle TVL Tracker

> DeFi Oracle TVL Tracker is a paid API for AI agents from defi-oracle-two.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-15).

Retrieves current TVL, 30-day TVL history, and percentage change for a specified DeFi protocol, optionally filtered by chain

## Facts

- Endpoint: POST https://defi-oracle-two.vercel.app/api/tvl-tracker
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-oracle-tvl-tracker-eff80ed2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N71xUdx0Ob2RByhBXVTFE

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-oracle-tvl-tracker-eff80ed2 -d '<json body>'
```

Example prompt: What's Aave's current TVL on Ethereum and how has it changed over the last 30 days?

## When to prefer this

Use this endpoint when you need structured TVL data for a specific DeFi protocol, including historical trends and multi-chain breakdowns. Prefer this over generic web search when you need machine-readable TVL numbers, percentage changes, and time-series data for automated analysis or agent workflows.

## Known failure modes

- Unknown protocol slug returns an error or empty result
- Chain filter returns no data if protocol not deployed on that chain
- DeFiLlama upstream outage may cause stale or missing TVL data
- Malformed protocol slug causes validation error
- Rate limiting or payment failure returns 402 or 429

## How this service works

DeFi data for AI agents — yield rates, swap routes, IL calculator, liquidation risk, MEV scanner, TVL tracking. Powered by DeFiLlama + on-chain RPC data. Pay with USDC on Base via x402.

## Output

Returns the protocol's name, slug, category, list of supported chains, current TVL in USD, 30-day percentage change in TVL, and an array of historical TVL data points for the past 30 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "protocol"
 ],
 "properties": {
  "chain": {
   "type": "string"
  },
  "limit": {
   "type": "number"
  },
  "protocol": {
   "type": "string",
   "description": "Protocol slug (e.g. lido, aave)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "slug": {
   "type": "string"
  },
  "chains": {
   "type": "array",
   "items": {
    "type": "string"
   }
  },
  "category": {
   "type": "string"
  },
  "protocol": {
   "type": "string"
  },
  "current_tvl": {
   "type": "number"
  },
  "change_30d_pct": {
   "type": "number"
  },
  "tvl_history_30d": {
   "type": "array"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-oracle-tvl-tracker-eff80ed2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-oracle-two.vercel.app](https://www.zero.xyz/host/defi-oracle-two.vercel.app/llms.txt)
