# 2s.io DeFi Chains TVL Leaderboard

> 2s.io DeFi Chains TVL Leaderboard is a paid API for AI agents from 2s.io, paid per call via x402, $0.0036/call, status unknown (last checked 2026-09-14).

Returns all blockchain networks ranked by total value locked (TVL), including each chain's native token symbol and chain ID, sourced from DefiLlama.

## Facts

- Endpoint: GET https://2s.io/api/crypto/defi-chains
- Price: $0.0036/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-defi-chains-tvl-leaderboard-8a9e0584
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-FJrA_cyhIcDRCU7CswY9

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 2s-io-defi-chains-tvl-leaderboard-8a9e0584
```

Example prompt: Show me the full DeFi TVL leaderboard across all chains — rank every blockchain by total value locked and include their native token symbols. Give me the top 50.

## When to prefer this

Use this endpoint when you need a cross-chain TVL comparison or ranked leaderboard of all blockchains by DeFi activity. Prefer this over single-chain TVL lookups when the user wants to compare multiple chains or find which chain dominates DeFi. It is keyless and pay-per-call, making it ideal for on-demand agent queries without API key management.

## Known failure modes

- Limit parameter out of range (must be 1–200) returns validation error
- DefiLlama upstream unavailable causes service error
- No chains returned if data feed is temporarily empty
- Payment not completed (x402) results in 402 status before data is returned

## How this service works

DeFi TVL leaderboard across all chains (via DefiLlama, free/keyless): every chain ranked by total value locked, with its native token symbol and chain id. Distinct from crypto.defi (which returns one chain's TVL by name) — this is the full ranked cross-chain comparison.

## Output

An ordered list of blockchain networks ranked by total value locked (TVL), each entry containing the chain name, TVL amount in USD, native token symbol, and chain ID — sourced from DefiLlama.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 200,
       "minimum": 1
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-defi-chains-tvl-leaderboard-8a9e0584/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
