# Blockchain TVL Ranking by Chain (DefiLlama)

> Blockchain TVL Ranking by Chain (DefiLlama) is a paid API for AI agents from task-radar-x402.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-31).

Returns a ranked list of blockchains by Total Value Locked (TVL) sourced from DefiLlama, optionally limited to a specified number of results.

## Facts

- Endpoint: GET https://task-radar-x402.vercel.app/api/chains?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockchain-tvl-ranking-by-chain-defillama-e6dae496
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZLgLRtFw-158DNnkfD6Nd

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 blockchain-tvl-ranking-by-chain-defillama-e6dae496
```

Example prompt: Can you pull the top 20 blockchains ranked by total value locked (TVL) from DefiLlama so I can see which chains dominate DeFi right now?

## When to prefer this

Use this endpoint when you need a quick, ranked overview of blockchains by TVL sourced from DefiLlama without needing to integrate directly with DefiLlama's API. Prefer this over direct DefiLlama calls when operating in a pay-per-call agent context on Base, or when you want chain TVL rankings alongside other DeFi data (DEX volumes, token prices) in a unified micro-payment API ecosystem.

## Known failure modes

- Invalid limit parameter (outside 1-100 range) may return an error or be clamped
- Payment failure on Base network results in 402 response and no data returned
- DefiLlama upstream outage may cause stale or empty responses
- Limit parameter passed as non-integer string may be rejected

## How this service works

Blockchain TVL ranking (DefiLlama). 0.01 USDC/call on Base.

## Output

A ranked list of blockchains with their TVL figures sourced from DefiLlama. Each entry typically includes the chain name, TVL amount, and related ranking metadata. Results default to 25 chains and can be configured 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": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "string",
       "description": "1-100 (default 25)"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockchain-tvl-ranking-by-chain-defillama-e6dae496/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from task-radar-x402.vercel.app](https://www.zero.xyz/host/task-radar-x402.vercel.app/llms.txt)
