Analyze DEX liquidity trades spot pairs with CoinMarketCap AI
Gain full visibility into decentralized exchanges using CoinMarketCap’s DEXScan API—powered by AI. This workflow is part of the CoinMarketCap AI Analyst syst...
🔌 Nodes & Integrations Used (5)
📖 Implementation & Setup Guide
**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)
---
Agent Architecture - **AI Model**: `gpt-4o-mini` - **Context Memory**: `Window buffer using sessionId` - **Trigger Input**: `message`, `sessionId` - **Execution**: Via `Execute Workflow` or parent AI supervisor - **Design**: Tool-based LangChain agent with CMC DEXScan endpoints
---
💡 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** - Sign up at: [https://coinmarketcap.com/api/](https://coinmarketcap.com/api/) 2. **Add API Key to Credentials in n8n** - Use `HTTP Header Auth` method 3. **Trigger from Parent Workflow (Optional)** - Use `Execute Workflow` and pass `message` and `sessionId` 4. **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
---
**Master DEX analytics with AI—get powerful liquidity, trading, and pair insights in seconds.**
⚡ How to import this workflow into n8n:
- Click the Direct Download JSON button above to save
Analyze_DEX_liquidity_trades_spot_pairs_with_CoinMarketCap_AI.json. - Log in to your n8n Cloud or self-hosted n8n instance.
- In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
- Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
- Click Execute Workflow to test and switch to Active!
Related AI Agents Workflows
View All in AI Agents →5 ways to process images PDFs with Gemini AI in n8n
How it works Many users have asked in the support forum about different methods to analyze images and PDF documents with Google Gemini AI in n8n. This workfl...
7 AI Sales Assistant
Production-ready n8n automation template for 7 AI Sales Assistant built by AhiXLight. Seamlessly connects Airtop Tool, Slack, Airtop with 24 configured nodes.
AAVE portfolio professional AI agent Telegram Email GPT 4o
A next-generation AI-powered DeFi health monitor that tracks wallet positions across Aave V3 using GPT-4o and LangChain. It delivers human-readable reports v...
Access control for AI agents RBAC using Airtable and Telegram
Purpose This workflow allows granular control over the access to tools connected to AI Agents (including Multi-Agent setups) using Role Based Access Control....