Description
Automate your decentralized exchange analytics with this intelligent workflow that connects to CoinMarketCap’s DEXScan API and uses AI to retrieve, analyze, and present key data across Ethereum, Solana, Polygon, and other networks.
Perfect for crypto analysts, DeFi builders, and data teams who want real-time insights into DEX markets—without manually navigating APIs or dashboards.
✅ What This Template Does
✔️ Connects to CoinMarketCap’s DEXScan API and authenticates using your API key ✔️ Queries DEX metadata, spot pairs, historical OHLCV, and latest trades ✔️ Uses AI to structure the insights for natural-language querying or reporting ✔️ Can be triggered by a parent supervisor workflow with session and message parameters ✔️ Supports 8 DEX endpoints across multiple chains like Ethereum, Solana, and Polygon ✔️ Returns trading activity, token pair stats, liquidity levels, and network rankings ✔️ Integrates with OpenAI for generating summaries and responses ✔️ Logs results and raw data into a database or Google Sheets (optional)
✅ Ideal Use Cases
✔️ Get top DEXs by trading volume in the last 24h ✔️ Analyze latest liquidity and trade stats for a specific trading pair ✔️ Monitor OHLCV trends for pairs like ETH/USDT or SOL/USDC ✔️ Filter DEX pairs by liquidity, transaction volume, or volatility ✔️ Retrieve spot trading pairs with high daily turnover
✅ Setup Instructions
✔️ Sign up for CoinMarketCap API → https://coinmarketcap.com/api/ ✔️ Add API key in n8n Credentials using HTTP Header Auth ✔️ Import this workflow into your n8n workspace ✔️ Use the template directly, or call it from a parent workflow using sessionId and message ✔️ Customize test prompts like:
“Top 5 DEXs on Solana by liquidity” “Show me trades for ETH-USDT on Uniswap today”
✅ Sticky Notes Inside the Template
✔️ 🗂️ DEXScan Agent Guide – Overview of agent capabilities and API endpoints ✔️ 📌 Prompt & Call Examples – Sample prompts, how to call with parent workflow ✔️ ❗ Error Handling – HTTP status codes and rate limit troubleshooting ✔️ 📜 License Notes – Data rights and usage limits for CoinMarketCap APIs
Master the decentralized trading world with smart agents—this CoinMarketCap DEX Analysis Agent lets you run deep crypto insights on autopilot.
Link : [https://lovable.dev/projects/58cf6f2f-ed93-4afa-8394-487324dd5af8]