# BlockRun.AI DeFiLlama Protocol TVL Lookup

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

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

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/aave
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-ai-defillama-protocol-tvl-lookup-52924430
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_jeQnQV7gN3O6VL3G-0V-2

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-lookup-52924430
```

Example prompt: What's the current TVL and chain breakdown for the Aave protocol according to DeFiLlama?

## When to prefer this

Use this endpoint when you need detailed, structured TVL data for a specific DeFi protocol by its DeFiLlama slug, especially when you want chain-level and token-level breakdowns rather than just a top-level number. Prefer this over general web search when you need machine-readable, structured protocol data payable per-call in USDC with no API key required.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty data
- Protocol slug misspelling causes lookup failure
- DeFiLlama upstream outage results in stale or unavailable data
- Payment not settled (x402) causes 402 rejection before data is returned

## How this service works

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

## Output

A JSON object containing the protocol's total TVL, broken down by chain, token, and other dimensions as sourced from DeFiLlama — including historical and current locked value figures.

## 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-lookup-52924430/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)
