# x402 DeFi Chain TVL Ranking

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

Returns a ranked list of blockchains ordered by total DeFi value locked (TVL) across all protocols

## Facts

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

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-41362ca2
```

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 rather than TVL for a specific protocol. Prefer this over the x402 DeFi Protocol TVL endpoint when the goal is comparing chains rather than drilling into a single protocol's metrics. Ideal for macro DeFi analysis, chain dominance tracking, or deciding where to deploy capital or infrastructure.

## Known failure modes

- Invalid limit parameter (outside 1-100 range) may return an error or default behavior
- Payment failure if USDC balance insufficient for the $0.002 fee
- Stale data if upstream DeFi data source is delayed
- Network timeout if x402tap.com is temporarily unavailable

## How this service works

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

## Output

A JSON object containing a count field and a ranked array of chains, each with rank (integer), chain name (string), tvlUsd (numeric USD value), and tokenSymbol (string). Default returns top 15 chains; can return up to 100.

## 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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "count": 2,
  "chains": [
   {
    "rank": 1,
    "chain": "Ethereum",
    "tvlUsd": 65000000000,
    "tokenSymbol": "ETH"
   },
   {
    "rank": 2,
    "chain": "Solana",
    "tvlUsd": 8500000000,
    "tokenSymbol": "SOL"
   }
  ]
 }
}
```

## More

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