{"uid":"cap_Xnr9HQkmAFNcuGwEqJ4OO","slug":"defillama-dex-summary-cross-chain-volume-tvl-momentum-87b0cfe8","name":"DefiLlama DEX Summary — Cross-Chain Volume & TVL Momentum","description":"Pay-per-call crypto microdata for trading/onchain AI agents via x402 (USDC on Base): Base gas, token risk, balances, multi-venue prices, Hyperliquid book/funding, kimchi premium. No API keys.","url":"https://kr-x402-mvp.kgy5612.workers.dev/defillama/dex-summary?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":{"sort":{"enum":["momentum","tvl","volume"],"type":"string","description":"Ranking key (default momentum)"},"chain":{"type":"string","examples":["Base"],"maxLength":40,"description":"Optional chain to focus, e.g. Base, Solana, Hyperliquid"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"next":["/crypto/defi-tvl?chain=Base","/crypto/gas-compare"],"sort":"momentum","focus":{"rank":1,"chain":"Base","trend":"GROWING"},"chains":[{"rank":1,"chain":"Base","flags":[],"trend":"GROWING","tvl_usd":5780000000,"chain_id":8453,"tvl_flow":"flat","tvl_usd_rank":3,"tvl_share_pct":5.1,"momentum_score":11.1,"dex_volume_7d_usd":6848442299,"tvl_change_7d_pct":2.1,"dex_volume_24h_usd":1466645030,"dex_volume_30d_usd":29794587087,"tvl_change_30d_pct":4,"momentum_score_rank":1,"dex_volume_7d_usd_rank":4,"dex_change_7d_over_7d_pct":16.9,"dex_change_30d_over_30d_pct":10.17}],"source":"DefiLlama DEX volume + chain TVL (10 min cache)","summary":{"growing":["Base"],"shrinking":[],"biggest_by_tvl":"Ethereum","busiest_dex_7d":"Solana","fastest_growing":"Base"},"updated_at":"2026-10-30T07:30:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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_vYOdtO6Tu60kU2_xnUrBK","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 ranked DEX volume, TVL, and momentum scores across chains (e.g. Base, Solana, Ethereum) sourced from DefiLlama, with optional chain focus and sort order.","exampleAgentPrompt":"Show me the current DEX volume and TVL momentum rankings across chains — sorted by momentum — and highlight whether Base is growing or shrinking.","exampleUseCases":[{"title":"Identify fastest-growing DeFi chain","prompt":"Which blockchain has the highest momentum score for DEX activity right now? I want to know if Base is leading and how its TVL growth looks over the past 7 and 30 days."},{"title":"Compare chain DEX volumes for trade routing","prompt":"Give me the latest DEX volume numbers across all major chains sorted by TVL, so I can decide where to route my on-chain swap for best liquidity."},{"title":"Monitor Base DeFi growth for portfolio decision","prompt":"Is DeFi on Base still growing? Pull the latest TVL and 30-day volume trend for Base specifically and tell me if it's in a growing or shrinking phase."}],"resultDescription":"A JSON object with a ranked list of chains, each showing TVL (USD), DEX volume over 24h/7d/30d, TVL change percentages, a momentum score and rank, trend label (GROWING/SHRINKING/FLAT), and a summary section calling out the biggest by TVL, busiest DEX, and fastest growing chain. Also includes suggested next endpoints and data freshness timestamp (10-minute cache).","failureModes":["Invalid chain name returns empty focus or unfiltered list","Invalid sort enum value may fall back to default (momentum) or return an error","Data may be up to 10 minutes stale during cache window","Payment failure via x402 (insufficient USDC balance or unsupported wallet) blocks the call","Workers.dev endpoint may be unavailable during Cloudflare outages"],"whenToPreferThis":"Choose this endpoint when an agent needs a multi-chain DeFi overview — comparing TVL, DEX volume trends, and momentum rankings across blockchains — especially when Base is a chain of interest. Prefer over single-chain APIs when the task is ranking or comparing chains. Best suited for trading agents, portfolio monitors, or strategy bots that need to identify which chains are growing or shrinking before making routing or allocation decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:28.357Z","isFirstParty":false,"canonicalSlug":"defillama-dex-summary-cross-chain-volume-tvl-momentum-87b0cfe8"}