# BlockRun DeFiLlama Protocol TVL

> BlockRun 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) data and chain/token breakdowns for a single DeFi protocol by slug.

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/curve-finance
- 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-defillama-protocol-tvl-457047e5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4kKwAkyQ8OC_XkMs4K1n4

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-457047e5
```

Example prompt: What's the current TVL for Curve Finance, including how it breaks down across chains and tokens?

## When to prefer this

Use this endpoint when you need comprehensive TVL data for a specific DeFi protocol including chain and token breakdowns. Prefer this over generic DeFiLlama API access when you want a pay-per-call model with no API key management, settled in USDC on Base.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty response
- Protocol slug mismatch (e.g. using display name instead of slug) causes lookup failure
- DeFiLlama upstream outage results in stale or unavailable data
- Payment failure (insufficient USDC balance via x402) blocks the request

## How this service works

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

## Output

A detailed JSON object with total TVL, chain-by-chain TVL breakdown, token-level TVL breakdown, and protocol metadata such as name, category, and historical TVL data — 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-457047e5/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)
