← All N8N workflows
AI & researchAgentExecute Workflow TriggerOpenAI Chat ModelMemory Buffer WindowTool Http Request

CoinMarketCap_DEXScan_Agent_Tool

Configured with Agent, Execute Workflow Trigger, OpenAI Chat Model, Memory Buffer Window, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
TriggerWhen Executed byAnother WorkflowExecute Workflow TriggerAI & modelsCoinMarketCap DEXScanAgentAgentAI & modelsDEXScan Agent BrainOpenAI Chat ModelData storeDEXScan Agent MemoryMemory Buffer WindowWeb / APIDEX MetadataTool Http RequestWeb / APIDEX Networks ListTool Http RequestWeb / APIDEX Listings QuotesTool Http RequestWeb / APIDEX Pair Quotes LatestTool Http RequestWeb / APIDEX OHLCV HistoricalTool Http RequestWeb / APIDEX OHLCV LatestTool Http RequestWeb / APIDEX Trades LatestTool Http RequestWeb / APIDEX Spot Pairs LatestTool Http Request

Node categories in this workflow

  • Trigger
  • AI & models
  • Data store
  • Web / API

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When Executed by Another WorkflowTriggerExecute Workflow TriggerSee node parameters
CoinMarketCap DEXScan AgentAI & modelsAgentSee node parameters
DEXScan Agent BrainAI & modelsOpenAI Chat ModelSee node parameters
DEXScan Agent MemoryData storeMemory Buffer WindowSee node parameters
DEX MetadataWeb / APITool Http RequestSee node parameters
DEX Networks ListWeb / APITool Http RequestSee node parameters
DEX Listings QuotesWeb / APITool Http RequestSee node parameters
DEX Pair Quotes LatestWeb / APITool Http RequestSee node parameters
DEX OHLCV HistoricalWeb / APITool Http RequestSee node parameters
DEX OHLCV LatestWeb / APITool Http RequestSee node parameters
DEX Trades LatestWeb / APITool Http RequestSee node parameters
DEX Spot Pairs LatestWeb / APITool Http RequestSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • httpHeaderAuth
  • openAiApi

Workflow notes

📊 CoinMarketCap DEXScan AI Agent Tool (n8n Workflow)

📊 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
📌 How to Use the Workflow

📌 How to Use the Workflow

✅ Step 1: Provide Inputs

Use contract_address, network_slug, dex_slug, or convert_id as needed

✅ Step 2: Trigger From Supervisor Agent

Parent agent forwards user message and sessionId to DEXScan

✅ Step 3: DEX Data is Returned

Data can be streamed to Telegram, dashboards, or HTTP response


🔍 Example API Calls

1️⃣ Get Top DEXs by 24h Volume

GET /v4/dex/listings/quotes?sort=volume_24h&limit=5

2️⃣ Query Historical OHLCV for SOL-USDT

GET /v4/dex/pairs/ohlcv/historical?network=solana&pair=SOL-USDT&interval=1d

3️⃣ Latest Trades on a Uniswap Pair

GET /v4/dex/pairs/trade/latest?contract_address=0x...&network_slug=ethereum

4️⃣ Spot Pairs on Polygon

GET /v4/dex/spot-pairs/latest?network_slug=polygon&sort=volume_24h

5️⃣ DEX Metadata for PancakeSwap

GET /v4/dex/listings/info?id=123&aux=logo,description,date_launched
⚠️ DEXScan Error Codes & Fixes

⚠️ DEXScan Error Codes & Fixes

| Code | Message | |------|---------| | 200 | Success | | 400 | Bad Request – missing/invalid query | | 401 | Unauthorized – invalid API key | | 429 | Rate limit exceeded | | 500 | Server error |

🔍 Fixes:

  • Always use at least 1 required param: contract_address, network_slug, etc.
  • Double-check slugs and convert ID formats
  • Don’t mix convert and convert_id
  • Avoid oversized aux and interval combinations

🚀 Support & Licensing

🔗 Don Jayamaha – LinkedIn
http://linkedin.com/in/donjayamahajr

© 2025 Treasurium Capital Limited Company. All rights reserved. This AI workflow architecture, including logic, design, and prompt structures, is the intellectual property of Treasurium Capital Limited Company. Unauthorized reproduction, redistribution, or resale is prohibited under U.S. copyright law. Licensed use only.

CoinMarketCap_DEXScan_Agent_Tool

CoinMarketCap_DEXScan_Agent_Tool

Purpose and structure

This folder contains the CoinMarketCap_DEXScan_Agent_Tool workflow. Its executable nodes use agent, executeWorkflowTrigger, lmChatOpenAi, memoryBufferWindow, toolHttpRequest. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When Executed by Another Workflow

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Stickynote/1507_Stickynote_Executeworkflow_Automation_Webhook.json MIT; preserve source notices.

More in AI & research