# Scrapling x402 Live DEX Volumes Dataset

> Scrapling x402 Live DEX Volumes 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 a ranked list of up to 400 decentralized exchanges with 24h, 7d, and 30d trading volume data and chain coverage.

## Facts

- Endpoint: GET https://scraplingdata.xyz/v1/datasets/live_dex_volumes/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-dex-volumes-dataset-4c9209cc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RfdkszT8vi9lZio9ums1x

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-dex-volumes-dataset-4c9209cc
```

Example prompt: Pull the latest live DEX volume rankings — I want to see the top decentralized exchanges by 24-hour trading volume, including their 7-day and 30-day volumes and which chains they're on, returned as JSON.

## When to prefer this

Choose this endpoint when you need a broad, ranked snapshot of decentralized exchange trading volumes across multiple chains and time horizons (24h, 7d, 30d) in a single call. It returns up to 400 DEX records with percent-change signals, making it useful for market dashboards, research, or anomaly detection. Prefer it over chain-specific on-chain queries when you need cross-chain aggregated DEX data quickly without building your own scraping pipeline.

## Known failure modes

- Invalid format query param returns error or defaults to json
- Payment not included or rejected causes HTTP 402 response
- Stale data if upstream scraping is delayed
- Empty records array if data pipeline is down
- Rate limiting if too many requests are made in a short window

## 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) response containing up to 400 DEX records, each with: DEX name, rank, supported chains, category, 24h USD volume, 7d USD volume, 30d USD volume, 1-day percent change, and 7-day percent change, plus dataset ID and total record count.

## 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": [
   {
    "dex": "Uniswap V4",
    "rank": 1,
    "chains": "Ethereum, OP Mainnet, Base, Arbitrum, Polygon, Blast, Zora, World Chain, Ink, Soneium, Avalanche, BSC, Unichain, Monad, X Layer",
    "category": "Dexs",
    "change_1d_pct": 6.43,
    "change_7d_pct": -12.85,
    "volume_7d_usd": 7169583517,
    "volume_24h_usd": 1073862409,
    "volume_30d_usd": 35075329220
   }
  ],
  "dataset_id": "live_dex_volumes",
  "record_count": 400
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scrapling-x402-live-dex-volumes-dataset-4c9209cc/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)
