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

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

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/defillama/protocol/bedrock
- 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-5300f7fe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_K-A0SFw-IDldv1jDuVBpX

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-5300f7fe
```

Example prompt: Can you pull the full TVL breakdown for the Aave protocol from DeFiLlama, including how it's distributed across chains?

## When to prefer this

Choose this endpoint when you need structured, detailed TVL data for a specific DeFi protocol including chain and token breakdowns. Prefer it over generic web search when you need machine-readable on-chain financial data aggregated by DeFiLlama. Ideal when building DeFi dashboards, research tools, or automated monitoring pipelines that require per-protocol financial metrics.

## Known failure modes

- Invalid or unknown protocol slug returns an error or empty result
- Protocol not indexed by DeFiLlama returns no data
- Network timeout or upstream DeFiLlama API unavailability
- Malformed slug (e.g. spaces or wrong casing) causes lookup failure
- Payment not processed (x402) results in 402 response 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

Returns a detailed JSON object containing the protocol's total TVL, historical TVL data, and a breakdown by chain, token, and pool — sourced from DeFiLlama's aggregated on-chain data.

## 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-5300f7fe/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)
