# DeFi TVL by Chain (Ranked)

> DeFi TVL by Chain (Ranked) is a paid API for AI agents from santyvv-x402.santyvv1993.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-01).

Returns total value locked (TVL) for all blockchain networks, ranked by TVL in descending order

## Facts

- Endpoint: GET https://santyvv-x402.santyvv1993.workers.dev/api/defi/chains?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/defi-tvl-by-chain-ranked-96d6a101
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TAiqv3IibHWcA1ELjk8ek

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-tvl-by-chain-ranked-96d6a101
```

Example prompt: Show me all the blockchain networks ranked by their total value locked in DeFi right now — I want to see which chains have the most capital locked up.

## When to prefer this

Use this endpoint when you need a comprehensive, ranked snapshot of TVL across all blockchain networks in a single call. Prefer it over chain-specific TVL endpoints when the goal is cross-chain comparison or identifying which ecosystem holds the most DeFi capital. Good for dashboards, research, and competitive analysis across chains.

## Known failure modes

- Upstream data provider outage returns 502 or empty response
- Stale data if the underlying source has not refreshed recently
- Payment of 0.01 USDC not submitted results in 402 Payment Required
- Rate limiting or worker capacity issues return 429 or 503

## How this service works

Total value locked by chain, ranked

## Output

An ordered list of blockchain networks ranked by their total value locked (TVL), including each chain's name and TVL amount, from highest to lowest. Enables quick comparison of DeFi capital concentration across networks.

## 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": {}
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/defi-tvl-by-chain-ranked-96d6a101/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from santyvv-x402.santyvv1993.workers.dev](https://www.zero.xyz/host/santyvv-x402.santyvv1993.workers.dev/llms.txt)
