# Chain TVL Lookup

> Chain TVL Lookup is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-31).

Returns total value locked (TVL) in USD for one or all blockchain networks, optionally filtered by chain name and paginated.

## Facts

- Endpoint: GET https://skinwinking.com/api/v1/data/chain-tvl?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/chain-tvl-lookup-7ec0930e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WBD9s1DJTJLD-9V8EV2o_

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 chain-tvl-lookup-7ec0930e
```

Example prompt: What's the current total value locked on Solana — pull the top 50 chains by TVL so I can see where it ranks?

## When to prefer this

Choose this endpoint when you need quick, pay-per-call TVL data for one or many blockchains without managing a DeFi data subscription. Ideal for agents needing real-time on-chain capital metrics at low cost ($0.002/call). Prefer this over building a custom DeFiLlama integration when you want a single aggregated API covering crypto market data alongside other agent tools.

## Known failure modes

- Unknown chain name returns empty or error response
- Limit parameter outside 1–100 range returns validation error
- Network or upstream data provider outage causes 5xx error
- Payment failure via x402 (insufficient USDC balance) blocks the call

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

A JSON array of blockchain chains, each with a name and TVL in USD (e.g. {name: 'Ethereum', tvlUsd: 61000000000}). Results can be filtered to a specific chain and limited to 1–100 entries.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "chain": {
       "type": "string",
       "description": "Optional chain name, e.g. Solana, Base"
      },
      "limit": {
       "type": "integer",
       "default": 20,
       "maximum": 100,
       "minimum": 1
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "chains": [
   {
    "name": "Ethereum",
    "tvlUsd": 61000000000
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/chain-tvl-lookup-7ec0930e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
