# DefiLlama Protocol TVL Pack

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

Fetches DeFi protocol Total Value Locked (TVL) and related metrics from DefiLlama for one or more specified protocols.

## Facts

- Endpoint: GET https://the-stall.intuitek.ai/cap/defillama-pack
- Price: $0.024/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defillama-protocol-tvl-pack-76198f64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hmJ1HK-eT5yhJuQb01SF9

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-tvl-pack-76198f64
```

Example prompt: Pull the current TVL and metrics for Aave and Uniswap from DefiLlama — I want to compare how much value is locked in each protocol right now.

## When to prefer this

Use this endpoint when you need structured TVL and protocol metrics for specific DeFi protocols without setting up API keys. Ideal for AI agents that need to compare DeFi liquidity across protocols on demand, paying micro-fees per call via x402 on Base.

## Known failure modes

- Unknown protocol slug returns empty or error response
- Misspelled protocol name yields no results
- DefiLlama upstream unavailability causes timeout
- Payment of 0.024 USDC on Base mainnet fails if wallet is underfunded

## How this service works

DeFi research pack: returns TVL, chain breakdown, fees, and native token price for 1–3 protocols in one call. Collapses the defillama-protocol + defillama-coin-price 2-call chain at 70% of combined cost ($0.034→$0.024). Same DefiLlama upstreams, zero auth.

## Output

Returns TVL figures and protocol-level DeFi metrics for the requested protocols, sourced from DefiLlama's aggregated on-chain data.

## Example request

```json
{
 "protocols": "aave"
}
```

## 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-tvl-pack-76198f64/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)
