# DeFi Protocol TVL Lookup

> DeFi Protocol TVL Lookup is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-10-10).

Returns the current Total Value Locked, chain distribution, category, audit status, and metadata for any DeFi protocol using DeFi Llama data.

## Facts

- Endpoint: GET https://api.strale.io/x402/protocol-tvl-lookup?utm_source=zero.xyz
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-0f4304c4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_7pAHOWaFYMarpp4mOqlXM

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 api-strale-io-0f4304c4
```

Example prompt: What's the current TVL for Aave — and which chains is it deployed on and is it audited?

## When to prefer this

Use this endpoint when you need current TVL, chain distribution, category, or audit information for any DeFi protocol. Covers 7,000+ protocols via DeFi Llama, making it the broadest DeFi protocol metadata source available. Prefer over manual DeFi Llama web scraping or on-chain queries when you need structured, aggregated cross-chain TVL data quickly.

## Known failure modes

- Unknown protocol slug returns 404 or empty result
- Protocol name ambiguity may return wrong protocol if slug is not exact
- Stale TVL data if DeFi Llama upstream is delayed
- Rate limiting or payment failure returns 402
- Network timeout for obscure protocols with complex chain distributions

## How this service works

Get the current Total Value Locked (TVL), chain distribution, category, audit status, and metadata for any DeFi protocol. Covers 7,000+ protocols across 500+ chains via DeFi Llama.

## Output

Returns a structured object containing the protocol's current Total Value Locked in USD, a breakdown of TVL across each chain, the protocol's DeFi category (e.g. lending, DEX), audit status, and general metadata such as description, website, and token info. Coverage spans 7,000+ protocols across 500+ chains via DeFi Llama.

## Example request

```json
{
 "protocol": "aave"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "protocol"
     ],
     "properties": {
      "protocol": {
       "type": "string",
       "description": "Protocol name or DeFi Llama slug (e.g., 'aave', 'uniswap', 'compound')"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-0f4304c4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
