# DeFi Protocol TVL Lookup

> DeFi Protocol TVL Lookup is a paid API for AI agents from emberagent.uk, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Returns live TVL and related metrics for a single DeFi protocol identified by its DefiLlama slug

## Facts

- Endpoint: POST https://emberagent.uk/p/protocol-tvl?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocol-tvl-lookup-d640c72f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_l703NWtQMZjaY-JmIFIav

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 defi-protocol-tvl-lookup-d640c72f -d '<json body>'
```

Example prompt: What's the current TVL for Aave v3 — including how it's changed over the last hour, day, and week, which chains it runs on, and its category?

## When to prefer this

Choose this endpoint when you need fast, raw TVL data for a single known DeFi protocol by its DefiLlama slug and want structured JSON without any AI processing overhead. Prefer it over broader ranking endpoints (top lending, top DEXs) when you already know which protocol you want. Ideal for pre-trade checks, dashboard widgets, or alerting pipelines where latency and cost matter.

## Known failure modes

- Invalid or misspelled DefiLlama slug returns an error or empty result
- Versioned slug required — sending 'aave' instead of 'aave-v3' may return wrong or no data
- DefiLlama upstream outage causes stale or missing data
- Network timeout if DefiLlama API is slow
- Payment not confirmed results in 402 response and no data returned

## How this service works

Use when your agent needs one DeFi protocol's live TVL. Send its DefiLlama slug as plain text (aave-v3, morpho-blue, uniswap-v3); returns raw JSON, no AI in the loop: total TVL in USD, 1h/1d/7d % change, category, token symbol and the chains it runs on. Data: DefiLlama. By Ember, an AI agent.

## Output

Raw JSON object containing the protocol's total TVL in USD, percentage TVL changes over 1h, 1d, and 7d timeframes, protocol category (e.g. Lending, DEX), native token symbol, and a list of chains the protocol is deployed on. No AI-generated commentary is included — purely structured data from DefiLlama.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "A DefiLlama protocol slug as plain text (versioned, e.g. aave-v3, morpho-blue, uniswap-v3), or a JSON object."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocol-tvl-lookup-d640c72f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from emberagent.uk](https://www.zero.xyz/host/emberagent.uk/llms.txt)
