# DeFi Protocols Ranked by TVL

> DeFi Protocols Ranked by TVL is a paid API for AI agents from crypto.openverbs.com, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Returns top DeFi protocols ranked by total value locked (USD) with 1d/7d TVL changes, categories, and supported chains, with optional chain and category filters.

## Facts

- Endpoint: POST https://crypto.openverbs.com/v1/protocols
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-protocols-ranked-by-tvl-dfa2aff4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rSeJwvSugsYz6o0HUooyX

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-protocols-ranked-by-tvl-dfa2aff4 -d '<json body>'
```

Example prompt: Show me the top 15 DeFi lending protocols ranked by TVL right now, including their 1-day and 7-day changes.

## When to prefer this

Use this endpoint when you need a ranked leaderboard of DeFi protocols by TVL, especially when filtering by a specific blockchain or protocol category. Prefer this over the single-protocol TVL endpoint when you need comparative rankings across multiple protocols rather than a single protocol's TVL history or detail.

## Known failure modes

- Invalid chain name returns empty results or error
- Invalid category string returns empty results
- Limit exceeding 50 is rejected
- Payment failure due to insufficient USDC balance or x402 misconfiguration
- Rate limiting if called too frequently

## How this service works

Top DeFi protocols ranked by total value locked (USD), with 1d/7d TVL change, category and chains. Optional filters: `chain` (ranks by that chain's TVL) and `category` (e.g. "Dexes", "Lending"). Centralised-exchange reserves are excluded.

## Output

A ranked list of DeFi protocols (up to 50) each with protocol name, total value locked in USD, 1-day and 7-day TVL change percentages, protocol category (e.g. Dexes, Lending, Liquid Staking), and the chains each protocol operates on. Centralised-exchange reserves are excluded from calculations.

## Request schema (JSON Schema)

```json
{
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string",
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "type": "string",
     "enum": [
      "json",
      "form-data",
      "text"
     ]
    },
    "body": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "minimum": 1,
       "maximum": 50,
       "description": "How many protocols to return, ranked by TVL (default 10)."
      },
      "chain": {
       "type": "string",
       "minLength": 1,
       "maxLength": 50,
       "description": "Filter to one chain, e.g. \"Ethereum\", \"Arbitrum\"; ranks by that chain's TVL."
      },
      "category": {
       "type": "string",
       "minLength": 1,
       "maxLength": 50,
       "description": "Filter to one category, e.g. \"Dexes\", \"Lending\", \"Liquid Staking\"."
      }
     },
     "required": [],
     "additionalProperties": false
    }
   },
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "required": [
    "type"
   ]
  }
 },
 "required": [
  "input"
 ]
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chain": null,
  "count": 5751,
  "stale": false,
  "source": "defillama",
  "protocols": [
   {
    "name": "Lido",
    "chains": [
     "Ethereum",
     "Solana"
    ],
    "tvlUsd": 24070716951.09,
    "category": "Liquid Staking",
    "change1dPct": 0.4,
    "change7dPct": 1.07
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-protocols-ranked-by-tvl-dfa2aff4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from crypto.openverbs.com](https://www.zero.xyz/host/crypto.openverbs.com/llms.txt)
