{"uid":"cap_HBR12FcOqWl5Fn-WPtQGq","slug":"dex-volume-rankings-by-24h-trading-volume-338a88d0","name":"DEX Volume Rankings by 24h Trading Volume","description":"Top DEXs by 24h trading volume (DefiLlama): name, 24h/7d volume USD, 1d change, plus market total. No params. Use when an agent needs where on-chain swap volume is flowing.","url":"https://x402-data-api.sigrunner.workers.dev/defi/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"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["total24h_usd","dexs"],"properties":{"dexs":{"type":"array","items":{"type":"object","required":["name","volume24h_usd"],"properties":{"name":{"type":"string"},"volume24h_usd":{"type":"integer"}}}},"total24h_usd":{"type":"integer"}}}}}}},"responseSchema":{"type":"json","example":{"dexs":[{"name":"Curve DEX","volume24h_usd":42754326}],"total24h_usd":7102132850}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Fq02R4jVZq1JwCZSmvI41","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the top decentralized exchanges ranked by 24-hour trading volume, including 7-day volume, 1-day change, and aggregate market total.","exampleAgentPrompt":"Pull up the top DEXs by 24-hour trading volume right now — I want to see which exchanges are capturing the most on-chain swap flow, along with the total DeFi market volume for today.","exampleUseCases":[{"title":"DEX market share monitoring for DeFi dashboard","prompt":"Show me the current top decentralized exchanges ranked by 24-hour trading volume, including the 1-day change, so I can see who's gaining or losing market share."},{"title":"On-chain routing decision for a trading agent","prompt":"Before executing this swap, check which DEXs are seeing the most volume right now so I can route through the most liquid venues."},{"title":"DeFi research briefing for weekly report","prompt":"Give me a snapshot of where on-chain swap volume is flowing across DEXs this week — I need the top exchanges by 24h and 7d volume for a market summary."}],"resultDescription":"Returns a JSON object with a list of top DEXs (each with name, 24h volume in USD, 7d volume in USD, and 1-day percentage change) plus a total24h_usd field representing the aggregate DeFi DEX market volume for the past 24 hours.","failureModes":["Upstream DefiLlama API unavailable — may return 502 or stale data","Payment not received or x402 challenge not fulfilled — returns 402 with payment instructions","Optional limit parameter ignored or invalid value causes default response","Data may be slightly delayed if DefiLlama feed is lagging"],"whenToPreferThis":"Choose this endpoint when an agent needs a ranked, ready-to-use list of top DEXs by trading volume sourced from DefiLlama, without needing to call DefiLlama directly. Ideal for DeFi dashboards, trading routing logic, or market briefings where on-chain swap volume distribution matters. Prefer this over raw DefiLlama calls when operating in a pay-per-call agent environment using x402 micropayments.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T06:44:46.206Z","isFirstParty":false,"canonicalSlug":"dex-volume-rankings-by-24h-trading-volume-338a88d0"}