# DeFi Protocol TVL Lookup

> DeFi Protocol TVL Lookup is a paid API for AI agents from defi-api.agenticfi.wtf, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns Total Value Locked (TVL) for the top 50 DeFi protocols or a specific protocol with per-chain breakdown

## Facts

- Endpoint: GET https://defi-api.agenticfi.wtf/api/defi/protocol-tvl
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-api-agenticfi-wtf-bc18b38b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K8Sagc8rJBFsoHtAaGWZr

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-api-agenticfi-wtf-bc18b38b
```

Example prompt: What's the current TVL for Aave broken down by chain, and also show me the top 50 DeFi protocols by total value locked?

## When to prefer this

Use this endpoint when you need current TVL figures for specific DeFi protocols or want a ranked overview of the top 50 protocols. Ideal for comparing protocol size, tracking TVL trends, or performing chain-level TVL analysis. Prefer this over lending-rate endpoints (the sibling endpoint) when the user cares about locked capital rather than interest rates.

## Known failure modes

- Unknown protocol slug returns empty or error response
- Payment of 0.001 USDC required per call via x402 — missing payment results in 402 error
- Invalid protocol slug (e.g. typo) returns no data
- Rate limiting if too many requests sent in quick succession

## How this service works

TVL by protocol - top 50 or specific protocol with chain breakdown

## Output

Returns TVL data either for a specific protocol with a per-chain breakdown of locked value, or a ranked list of the top 50 DeFi protocols by TVL if no protocol is specified.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "protocol": "aave"
  }
 }
}
```

## 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": {
      "protocol": {
       "type": "string",
       "title": "protocol (optional)",
       "description": "Optional. Protocol slug (e.g. 'aave', 'uniswap') Examples: aave, uniswap, curve"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-api-agenticfi-wtf-bc18b38b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from defi-api.agenticfi.wtf](https://www.zero.xyz/host/defi-api.agenticfi.wtf/llms.txt)
