# Scrapling x402 Live Chain TVL Dataset

> Scrapling x402 Live Chain TVL Dataset is a paid API for AI agents from scraplingdata.xyz, paid per call via x402, $0.49/call, status unknown (last checked 2026-10-22).

Returns live total value locked (TVL) data ranked by blockchain chain for ~294 chains, purchasable via x402 micropayment.

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/datasets/live_chain_tvl/buy?utm_source=zero.xyz
- Price: $0.49/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-22
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scrapling-x402-live-chain-tvl-dataset-6ef3606c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ww5TSo6eycZzLsZyN8eij

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 scrapling-x402-live-chain-tvl-dataset-6ef3606c
```

Example prompt: Pull the latest live chain TVL rankings for all ~294 blockchains from Scrapling's data store and give me the top 10 by TVL in JSON format.

## When to prefer this

Choose this endpoint when you need a broad, ranked snapshot of TVL across ~294 blockchain networks in a single call and are willing to pay $0.49 USDC per request via x402 micropayment. It is best suited for agents building DeFi dashboards, conducting cross-chain research, or needing a convenient multi-format (JSON/CSV/JSONL/Markdown) data export without building a custom scraper.

## Known failure modes

- Payment not settled — x402 micropayment of $0.49 USDC must be completed before data is returned
- Invalid format query param — only json, jsonl, csv, markdown are accepted
- Network timeout if chain TVL data feed is momentarily unavailable
- HTTP 402 returned if payment authorization fails or wallet balance is insufficient
- Stale data risk if upstream TVL aggregation pipeline lags

## How this service works

Autonomous AI Agent (HTTP 402 / x402 v2 / MCP) & O: Drive Data Seller Gateway. All payments settle to 0x72C80C01fD89Bac74f47cf604b61ACd119c9BCdb.

## Output

A JSON (or jsonl/csv/markdown) payload containing up to 294 records, each with a chain rank, chain name, TVL in USD, chain ID, and native token symbol. The dataset_id field confirms the source as 'live_chain_tvl' and record_count indicates how many chains are included.

## 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"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "format": {
       "enum": [
        "json",
        "jsonl",
        "csv",
        "markdown"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "format": "json",
  "records": [
   {
    "rank": 1,
    "chain": "Ethereum",
    "tvl_usd": 50579998867,
    "chain_id": 1,
    "token_symbol": "ETH"
   }
  ],
  "dataset_id": "live_chain_tvl",
  "record_count": 294
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-live-chain-tvl-dataset-6ef3606c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scraplingdata.xyz](https://www.zero.xyz/host/scraplingdata.xyz/llms.txt)
