Gain full visibility into decentralized exchanges using CoinMarketCap’s DEXScan API—powered by AI.

This workflow is part of the CoinMarketCap AI Analyst system and delivers real-time and historical insights on spot trading pairs, DEX liquidity, trading activity, and OHLCV data across chains like Ethereum, Polygon, Solana, and more.

Use this workflow as a sub-agent triggered by a parent supervisor workflow, or run it manually with inputs sessionId and message.

🔧 Supported Tools (8 Total)

– DEX Metadata → Static info (name, launch date, logo, URLs)
– DEX Networks List → All supported DEX chains + network metadata
– DEX Listings Quotes → Ranked list of DEXs with live trading volume, market share
– DEX Pair Quotes (Latest) → Real-time liquidity, price, and buy/sell stats
– DEX OHLCV Historical → Time-series data (daily/hourly/1m)
– DEX OHLCV Latest → Today’s price, volume, open/close for pairs
– DEX Trades Latest → Up to 100 recent trades for any DEX pair
– DEX Spot Pairs Latest → Active token pairs across DEXs + filters (volume, liquidity, volatility)

💡 Use Cases

– Find top DEXs by 24h volume
– Get spot pairs with highest liquidity on a specific network
– Track historical OHLCV for Uniswap pairs
– View latest trades for SOL/USDC pool
– Analyze tax, pooled % and holders for specific pairs
– Filter pairs by 24h volume, percent change, liquidity, or number of transactions

✅ Example Queries

– “Top 5 DEXs by 24h volume on Ethereum”
– “Get historical OHLCV for SOL-USDC on Solana”
– “Latest trades for a PancakeSwap pair”
– “Show all spot pairs with over $500K in liquidity on Polygon”
– “Retrieve metadata for Uniswap and SushiSwap”

🛠️ Setup Instructions

1. Get a CoinMarketCap API Key
2. Sign up at: https://coinmarketcap.com/api/
3. Add API Key to Credentials in n8n
4. Use HTTP Header Auth method
5. Trigger from Parent Workflow (Optional)
6. Use Execute Workflow and pass message and sessionId

Test Prompt Ideas

Try: “Compare liquidity of Uniswap and Curve pairs on Ethereum”

Sticky Notes Included

– DEXScan Agent Guide – Workflow architecture + supported tools
– Usage & API Call Examples – Prompts, test inputs, setup flow
– Error Codes + Licensing – 400/401/429/500 troubleshooting, IP rights

✅ Final Notes

This agent is part of the CoinMarketCap AI Analyst System, which includes multiple specialized agents for cryptocurrencies, exchanges, and community data.

Master DEX analytics with AI—get powerful liquidity, trading, and pair insights in seconds.