# blockrun.ai DeFiLlama Protocol TVL

> blockrun.ai DeFiLlama Protocol TVL is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.006/call, status unknown (last checked 2026-09-14).

Returns detailed Total Value Locked (TVL) and category breakdown for a single DeFi protocol by its DeFiLlama slug.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/aave-v3
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-defillama-protocol-tvl-697b4100
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jAz86HykVOXeU5_hYvujS

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 blockrun-ai-defillama-protocol-tvl-697b4100
```

Example prompt: What's the current TVL and chain-by-chain breakdown for Aave V3 on DeFiLlama?

## When to prefer this

Use this endpoint when you need detailed TVL data and chain-level breakdown for a specific DeFi protocol. Prefer this over general market data APIs when you specifically need DeFiLlama's protocol-level TVL tracking, including multi-chain distribution and token composition. Ideal for protocol research, DeFi dashboards, and competitive analysis of liquidity across protocols.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty data
- Network timeout if DeFiLlama upstream is slow
- Protocol slug must match DeFiLlama's canonical slug format (e.g. 'aave-v3', not 'aave v3'
- Payment required error if x402 payment header is missing or insufficient

## How this service works

Detailed TVL + breakdown for a single protocol. Pass slug as `/v1/defillama/protocol/{slug}` (e.g. `aave`, `uniswap`).

## Output

Returns a JSON object with the protocol's total TVL, TVL broken down by chain and token category, protocol metadata (name, description, chains supported), and historical TVL data points as tracked by DeFiLlama.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-ai-defillama-protocol-tvl-697b4100/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
