# BlockRun DeFiLlama Protocol TVL Lookup

> BlockRun 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-15).

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

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/yield-yak
- Price: $0.006/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-defillama-protocol-tvl-lookup-3cc57418
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gmTSiwEKv2ikBMGVXYPDd

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-defillama-protocol-tvl-lookup-3cc57418
```

Example prompt: What's the current TVL breakdown for Yield Yak on DeFiLlama — how much is locked and across which chains or tokens?

## When to prefer this

Use this endpoint when you need detailed TVL data and breakdowns for a specific DeFi protocol by its DeFiLlama slug, especially in a pay-per-call, no-API-key context via BlockRun's x402 gateway. Prefer this over direct DeFiLlama API calls when operating in an autonomous agent context that uses USDC micropayments on Base for access.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty data
- Network timeout if DeFiLlama upstream is slow or unavailable
- Payment failure if 0.005 USDC x402 transaction is not settled
- Protocol slug misspelling causes a 404 or empty response
- Rate limiting if too many calls are made in quick succession

## 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 structured JSON object containing the protocol's total TVL figure and a detailed breakdown, likely including chain-level TVL, token-level TVL, historical data points, and other DeFiLlama protocol metadata for the requested slug (e.g. 'yield-yak').

## 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-defillama-protocol-tvl-lookup-3cc57418/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)
