# DefiLlama Protocol Data Lookup

> DefiLlama Protocol Data Lookup is a paid API for AI agents from the-stall.intuitek.ai, paid per call via x402, $0.059/call, status unknown (last checked 2026-09-13).

Fetches current TVL, metadata, and optionally 7-day TVL history for a specific DeFi protocol by its DefiLlama slug

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/defillama-protocol
- Price: $0.059/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-protocol-data-lookup-919ee3f5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Yy9Vq5wdDS8xTEbEz6P-f

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 defillama-protocol-data-lookup-919ee3f5
```

Example prompt: Can you pull up the current TVL and protocol details for Lido from DefiLlama, and include the last 7 days of TVL history so I can see the trend?

## When to prefer this

Use this endpoint when you need real-time TVL data or protocol metadata for a specific DeFi protocol by its DefiLlama slug. Prefer this over general web search when you need structured, machine-readable TVL figures. Ideal for DeFi analytics, portfolio research, protocol comparison, or monitoring TVL changes over time. Use the include_tvl_history flag when trend data is needed.

## Known failure modes

- Invalid or misspelled protocol slug returns 404 or empty result
- Protocol slug must be in lowercase-hyphenated form (e.g. 'uniswap-v3' not 'Uniswap V3')
- Protocol no longer tracked by DefiLlama returns error or null data
- Network timeout on upstream DefiLlama API returns 5xx error
- Missing required 'protocol' query parameter returns validation error

## How this service works

Returns current TVL, chain breakdown, 24h/7d TVL change, fees, and metadata for any DeFi protocol slug (aave, uniswap-v3, lido, etc.) via DefiLlama. Undercuts blockrun.ai's $0.022/call by 18%.

## Output

Returns structured data about the requested DeFi protocol from DefiLlama, including total value locked (TVL), protocol name, category, supported chains, and optionally a 7-day TVL time series array.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "protocol": "aave",
   "include_tvl_history": true
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "string"
  },
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defillama-protocol-data-lookup-919ee3f5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from the-stall.intuitek.ai](https://www.zero.xyz/host/the-stall.intuitek.ai/llms.txt)
