# 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.006/call, status unknown (last checked 2026-09-14).

Returns detailed Total Value Locked (TVL) data and breakdown for a single DeFi protocol by slug, sourced from DeFiLlama.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/aerodrome
- 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-lookup-1b18f9c0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9V8sekVwQD7aN_JP52HJ2

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-1b18f9c0
```

Example prompt: Pull up the full TVL breakdown for Aerodrome from DeFiLlama — I want to see how much is locked across chains and by token.

## When to prefer this

Use this endpoint when you need detailed, structured TVL data for a single DeFi protocol including chain-level and token-level breakdowns. Prefer this over generic DeFi data sources when you need DeFiLlama-sourced protocol analytics via a pay-per-call x402 model without setting up a DeFiLlama API key directly.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty data
- Protocol slug casing mismatch may cause lookup failure
- Network or upstream DeFiLlama API unavailability causes 5xx errors
- Payment not processed results in 402 response blocking data access

## 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, a breakdown by chain, a breakdown by token, historical TVL data, and other protocol-level metadata sourced from 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-lookup-1b18f9c0/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)
