# 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-13).

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

## Facts

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

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-38c7879b
```

Example prompt: Can you pull up the full TVL breakdown for Uniswap — I want to see how much is locked across all chains and tokens right now?

## When to prefer this

Use this endpoint when you need detailed, per-protocol TVL data including chain and token breakdowns from DeFiLlama, accessed via a pay-per-call model without needing a separate DeFiLlama API key. Prefer this over direct DeFiLlama calls when you want USDC micropayment settlement on Base via x402.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty data
- Protocol slug misspelled (e.g. 'uniswapp') results in 404 or no data
- Payment not settled in USDC on Base causes 402 rejection
- DeFiLlama upstream API outage causes stale or missing data
- Rate limits exceeded returning 429 error

## 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 detailed JSON object with the protocol's total TVL, historical TVL time series, per-chain TVL breakdown, per-token breakdown, and metadata such as protocol name, category, and description — 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-defillama-protocol-tvl-lookup-38c7879b/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)
