# VAPE Chain Protocols by TVL

> VAPE Chain Protocols by TVL is a paid API for AI agents from vape-x402.vapex402.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the top DeFi protocols on a blockchain (default Base) ranked by TVL, including each protocol's logo, category, and 24h/7d TVL change.

## Facts

- Endpoint: GET https://vape-x402.vapex402.workers.dev/data/chain_protocols
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vape-chain-protocols-by-tvl-e5765ded
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FhlPWpg7AIA_nlWrFb3jv

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 vape-chain-protocols-by-tvl-e5765ded
```

Example prompt: Show me the top 15 DeFi protocols on Base right now — I want their TVL, category, logo, and how much they've changed in the last 24 hours and 7 days.

## When to prefer this

Use this endpoint when you need a ranked ecosystem-level overview of a specific blockchain's DeFi protocols by TVL, including visual assets (logos) and short-term TVL momentum (24h/7d). Prefer over individual protocol lookups when the goal is a leaderboard or chain health snapshot rather than deep detail on a single protocol.

## Known failure modes

- Unknown or unsupported chain name returns an empty list or error
- Very high limit values may return fewer results than requested if fewer protocols exist on the chain
- Stale TVL data if upstream DefiLlama feed is delayed
- Payment failure (402) if USDC balance is insufficient

## How this service works

VAPE chain_protocols — Top protocols on a chain by TVL (default Base), each with its real logo, category, and 24h/7d change — the chain-ecosystem view.

## Output

An ordered list of DeFi protocols on the specified chain, each with its name, TVL, category (e.g. DEX, Lending, Yield), official logo URL, 24-hour TVL change, and 7-day TVL change — giving a full chain-ecosystem snapshot.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "chain display name, default 'Base'"
      },
      "limit": {
       "type": "number",
       "description": "how many protocols, default 20"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": "Base",
  "count": 120,
  "protocols": [
   {
    "logo": "https://...",
    "name": "Aerodrome",
    "tvl_usd": 900000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vape-chain-protocols-by-tvl-e5765ded/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from vape-x402.vapex402.workers.dev](https://www.zero.xyz/host/vape-x402.vapex402.workers.dev/llms.txt)
