# x402 DeFi Chain TVL Ranking

> x402 DeFi Chain TVL Ranking is a paid API for AI agents from agentx402pay.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-20).

Returns blockchains ranked by total DeFi value locked (TVL) across all protocols, with a configurable result limit

## Facts

- Endpoint: GET https://agentx402pay.com/api/defi-chains?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-defi-chain-tvl-ranking-4052cd0c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tp5_XGYWnzP6fF5Wewbrs

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 x402-defi-chain-tvl-ranking-4052cd0c
```

Example prompt: Show me the top 20 blockchains ranked by total DeFi value locked right now.

## When to prefer this

Use this endpoint when you need a cross-chain TVL leaderboard — i.e. comparing multiple blockchains by aggregate DeFi locked value. Prefer this over the sibling DeFi Protocol TVL endpoint when the user wants chain-level rankings rather than a specific protocol's TVL breakdown. Best for DeFi ecosystem analysis, chain selection research, or market share comparisons.

## Known failure modes

- Invalid limit parameter (outside 1-100 range) may return an error or be clamped
- Data may be slightly delayed if upstream DeFi data providers are lagging
- Payment failure (insufficient USDC balance) results in 402 response blocking data access
- Network timeout if upstream aggregation is slow

## How this service works

Rank blockchains by total DeFi value locked (TVL) across all protocols

## Output

A ranked list of blockchains sorted by descending total DeFi value locked (TVL), including chain name, TVL amount, and rank position. The number of chains returned is configurable from 1 to 100 (default 15).

## 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",
     "properties": {
      "limit": {
       "type": "string",
       "description": "Number of top chains to return, 1-100 (default 15)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-defi-chain-tvl-ranking-4052cd0c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentx402pay.com](https://www.zero.xyz/host/agentx402pay.com/llms.txt)
