{"uid":"cap__KgA2lovsbZXkf-XLe5q-","slug":"dex-trading-volume-by-protocol-24h-7d-all-or-single-chain-d41b8482","name":"DEX Trading Volume by Protocol (24h/7d, All or Single Chain)","description":"DEX trading volume: 24h/7d by protocol, all chains or one chain — Genesis402 / UnyKorn Operator Network","url":"https://twin.unykorn.org/defi/dex-volume?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"params":{"type":"object","properties":{"chain":{"type":"string","description":"optional: chain name"},"limit":{"type":"integer","maximum":100,"minimum":1,"description":"optional: max rows (default 20, max 100)"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"type":"defi-dex-volume","receipt":{"tx_hash":"0x<64hex>","amount_usd":0.005,"receipt_id":"g402-<16hex>"},"sources":[{"ok":true,"name":"<source>"}],"limitations":"<text>","generated_at":"<iso time>","evidence_hash":"sha256:<64hex>"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3-pa6wQvHEVIQD604Qef8","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns 24-hour and 7-day DEX trading volume ranked by protocol, optionally filtered to a specific blockchain.","exampleAgentPrompt":"Show me the top 20 DEX protocols ranked by 24h and 7d trading volume on Ethereum — I want to see which ones are most active right now.","exampleUseCases":[{"title":"DeFi dashboard volume leaderboard","prompt":"Pull the top 50 DEX protocols by trading volume across all chains for both 24h and 7d — I'm building a leaderboard for my DeFi dashboard."},{"title":"Chain-specific DEX activity snapshot","prompt":"What are the most active DEX protocols on Arbitrum right now? Give me the top 15 by 24h trading volume."},{"title":"Cross-protocol competitive analysis","prompt":"I need to compare DEX trading volumes across protocols over the past week — can you grab the top 30 from all chains so I can see who's winning market share?"}],"resultDescription":"Returns a ranked list of DEX protocols with their 24-hour and 7-day trading volumes, optionally scoped to a single blockchain. Each row includes the protocol name, chain(s), and volume figures, up to the specified limit (default 20, max 100).","failureModes":["Invalid chain name returns empty results or error — chain identifiers must match supported chain names","Limit out of range (>100 or <1) returns a validation error","Payment failure (x402) if USDC balance is insufficient","Upstream data lag may cause stale volume figures during off-hours","No data for obscure or unsupported chains"],"whenToPreferThis":"Choose this endpoint when you need a ranked, multi-protocol view of DEX trading activity — especially when comparing protocols head-to-head or monitoring volume trends across 24h and 7d windows. Prefer it over CEX volume endpoints when you specifically need on-chain decentralized exchange data. Use the chain filter when you only care about a specific L1 or L2 ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T18:30:54.169Z","isFirstParty":false,"canonicalSlug":"dex-trading-volume-by-protocol-24h-7d-all-or-single-chain-d41b8482"}