{"uid":"cap_ScyGmp81C6YTC6sQywt9g","slug":"scrapling-x402-data-store-live-dex-volume-by-protocol-5a55ecbe","name":"Scrapling x402 Data Store: Live DEX Volume by Protocol","description":"Live decentralized exchange volume per protocol: estimated 24h volume in USD, 24h LP fees, TVL, share of tracked 24h DEX volume, pools tracked and chains, plus a total row. Computed on-chain from pool fee accumulators (Uniswap v2/v3/v4, Curve, Balancer, PancakeSwap, Aerodrome, Velodrome and more; 1,200+ pools) on Ethereum, Base, Arbitrum, Optimism, Polygon, BNB Chain and Avalanche (7d/30d fields are null).","url":"https://scraplingdata.xyz/v1/datasets/dex-volume?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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":{"q":{"type":"string","description":"Optional keyword; keeps rows where any field contains it"},"limit":{"type":"integer","maximum":1000,"minimum":1,"description":"Rows to return, default 200"},"format":{"enum":["json","csv"],"type":"string"},"offset":{"type":"integer","minimum":0,"description":"Rows to skip, for paging"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","example":{"title":"Live DEX trading volume by protocol (24h, on-chain)","dataset":"dex-volume","records":[{"rank":1,"chains":["Arbitrum","Base","Ethereum","Optimism","Polygon"],"source":"onchain","tvl_usd":920388844,"category":"Dexs","protocol":"uniswap-v3","fees_24h_usd":424327,"change_1d_pct":null,"change_1m_pct":null,"change_7d_pct":null,"pools_tracked":193,"share_24h_pct":74,"volume_7d_usd":null,"volume_24h_usd":366042916,"volume_30d_usd":null}],"total_rows":1,"updated_at":"2026-10-20T19:20:18Z","returned_rows":1},"required":["dataset","records"],"properties":{"title":{"type":"string"},"offset":{"type":"integer"},"dataset":{"type":"string"},"records":{"type":"array","items":{"type":"object"}},"total_rows":{"type":"integer"},"updated_at":{"type":"string"},"next_offset":{"type":["integer","null"]},"matched_rows":{"type":"integer"},"returned_rows":{"type":"integer"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t-2pwSIh209pFNoYy0Sew","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time 24h trading volume, LP fees, TVL, and pool stats for 1,200+ DEX pools across major protocols and 7 chains","exampleAgentPrompt":"Pull the latest 24h DEX volume breakdown by protocol — I want to see Uniswap, Curve, Balancer, PancakeSwap, Aerodrome and the rest ranked by volume with their TVL and LP fees, all computed on-chain.","exampleUseCases":[{"title":"DeFi research: compare DEX volumes","prompt":"Give me a ranked list of all major DEX protocols by 24h on-chain trading volume, including their TVL and LP fees — I want to see Uniswap v3, Curve, Balancer, PancakeSwap, Aerodrome and others."},{"title":"Monitor Uniswap v3 market share","prompt":"What share of total tracked DEX volume does Uniswap v3 hold right now, and how many pools and chains is it active on? Pull the live on-chain data."},{"title":"Find highest fee-generating DEX","prompt":"Which decentralized exchange is generating the most LP fees in the last 24 hours? Show me the top 5 protocols by fees_24h_usd from the live on-chain DEX data."}],"resultDescription":"A JSON (or CSV) array of records, one per DEX protocol, each containing: rank, protocol name, category, chains active on, pools tracked, 24h volume in USD, 24h LP fees in USD, TVL in USD, share of tracked 24h DEX volume (%), and a data source label. Includes a total row, metadata fields (dataset name, title, updated_at timestamp, total_rows, returned_rows), and supports pagination via offset/next_offset. 7d and 30d volume fields are present but null.","failureModes":["Payment not sent or insufficient USDC — 402 response requiring x402 payment","Invalid query parameter type (e.g. non-integer limit) — 400 validation error","Keyword filter matches no protocols — empty records array with total_rows 0","offset beyond total rows — empty records array","On-chain data refresh lag — updated_at timestamp may be minutes behind real-time","Rate limiting if many requests submitted rapidly — potential 429 response"],"whenToPreferThis":"Choose this endpoint when you need real-time, on-chain-computed DEX volume data covering 1,200+ pools across 7 major chains without relying on off-chain aggregators. It is ideal for DeFi analytics, protocol comparison, LP fee analysis, and market share tracking across Uniswap v2/v3/v4, Curve, Balancer, PancakeSwap, Aerodrome, Velodrome and more. Prefer it over CoinGecko or DeFiLlama API wrappers when you want verifiable on-chain sourcing and pay-per-call pricing with no subscription required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T12:30:20.022Z","isFirstParty":false,"canonicalSlug":"scrapling-x402-data-store-live-dex-volume-by-protocol-5a55ecbe"}