Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Query CoinMarketCap DEX Data with an OpenAI Agent Tool

When called by another workflow, an OpenAI agent with memory fetches CoinMarketCap DEXScan metadata, networks and listings quotes.

What it does

# 📊 CoinMarketCap DEXScan AI Agent Tool (n8n Workflow) ## 🧠 Multi-Agent System: DEXScan Agent This workflow powers DEX intelligence capabilities in the CoinMarketCap AI Analyst ecosystem. It enables deep insights into liquidity, volume, spot pairs, and trading activity across decentralized exchanges. --- ### 🔧 Connected DEX Tools: 1. DEX Metadata – /v4/dex/listings/info 2. DEX Networks List – /v4/dex/networks/list 3. DEX Listings Quotes – /v4/dex/listings/quotes 4. DEX Pair Quotes Latest – /v4/dex/pairs/quotes/latest 5. DEX OHLCV Historical – /v4/dex/pairs/ohlcv/historical 6. DEX OHLCV Latest – /v4/dex/pairs/ohlcv/latest 7. DEX Trades Latest – /v4/dex/pairs/trade/latest 8. DEX Spot Pairs Latest – /v4/dex/spot-pairs/latest --- ## ✅ Key Capabilities: - View real-time DEX liquidity and 24h trading volume - Retrieve metadata (logos, URLs, launch info) for decentralized exchanges - Track market pair quotes, liquidity, and spot pair data - Monitor historical OHLCV data for technical analysis - Identify recent trades and pair-specific activity --- ## 🧠 Agent Structure ### 1️⃣ DEXScan Brain - Type: GPT-4o Mini - Function: Understands queries, routes tools, summarizes results ### 2️⃣ Session Memory - Maintains contextual state via memory buffer ### 3️⃣ Tool Triggers - HTTP Tools: Each CMC endpoint is mapped to one of 8 tool nodes with rich parameter control --- ## ⚠️ Notes: - Use contract_address, network_slug, or network_id in nearly all endpoints - Avoid using both convert and convert_id in the same query - Be cautious of high-volume requests which may exceed token limits (e.g., when requesting OHLCV for many intervals) --- 📎 API responses are designed for fine-tuned filtering. You can retrieve: - Top trading pairs on Polygon - Volume-based DEX rankings - Historical trade data for a Uniswap pair - Real-time liquidity on Solana spot pairs

The steps

  1. When Executed by Another Workflow
  2. CoinMarketCap DEXScan Agent
  3. DEXScan Agent Brain
  4. DEXScan Agent Memory
  5. DEX Metadata
  6. DEX Networks List
  7. DEX Listings Quotes
  8. DEX Pair Quotes Latest
  9. DEX OHLCV Historical
  10. DEX OHLCV Latest
  11. DEX Trades Latest
  12. DEX Spot Pairs Latest

Similar automations