# DeFi Protocol TVL Lookup (DefiLlama via task-radar-x402)

> DeFi Protocol TVL Lookup (DefiLlama via task-radar-x402) is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-31).

Returns current Total Value Locked (TVL) for a DeFi protocol, with 1-day and 7-day changes and a per-chain breakdown, sourced from DefiLlama.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/tvl?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-tvl-lookup-defillama-via-task-radar-x402-9759b3c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SVSRVfo2qvL_ldVqe0HKQ

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-protocol-tvl-lookup-defillama-via-task-radar-x402-9759b3c0
```

Example prompt: What's Aave's current TVL, how has it changed over the last day and week, and how is it split across chains?

## When to prefer this

Choose this endpoint when you need real-time TVL data for a specific DeFi protocol including recent trend data (1d/7d changes) and multi-chain distribution, without setting up your own DefiLlama integration. Ideal for agents building DeFi dashboards, risk monitors, or investment research tools that need per-chain granularity alongside aggregate TVL figures.

## Known failure modes

- Unknown or misspelled protocol slug returns an error or empty result
- DefiLlama upstream API outage causes unavailability
- Protocol not indexed by DefiLlama returns no data
- Payment not received results in 402 response before data is returned
- Rate limiting if too many calls are made in quick succession

## How this service works

DeFi protocol TVL now, 1d/7d change and per-chain split (DefiLlama). 0.02 USDC/call on Base.

## Output

Returns the protocol's current total TVL in USD, the absolute or percentage change over the past 1 day and 7 days, and a breakdown of TVL allocated to each blockchain where the protocol is deployed — all sourced from DefiLlama.

## 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "protocol": {
       "type": "string",
       "description": "DefiLlama protocol slug, e.g. aave, uniswap, lido"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-tvl-lookup-defillama-via-task-radar-x402-9759b3c0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
