CoinMarketCap DEX API for Openclaw

A comprehensive API reference for accessing real-time decentralized exchange data, including token prices, liquidity pools, and security analysis.

bryan-cmc
v1.0.1
Mar 3, 2026
0
832
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cmc-api-dex

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cmc-api-dex using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is CoinMarketCap DEX API?

The CoinMarketCap DEX API skill is a specialized tool designed to provide developers and traders with direct access to on-chain data across multiple blockchain networks like Ethereum, Solana, and BSC. By leveraging this integration within the ecosystem of Openclaw Skills, users can retrieve granular information from decentralized exchanges such as Uniswap, PancakeSwap, and Raydium, going far beyond standard centralized exchange metrics.

This skill enables a deeper understanding of the DeFi landscape by offering endpoints for token lookup by contract address, liquidity monitoring, and real-time transaction tracking. It serves as an essential resource for those building trading bots, portfolio trackers, or security audit tools that require reliable data from the decentralized web. Integrating this capability into your workflow via Openclaw Skills ensures you have the most up-to-date blockchain intelligence at your fingertips.

CoinMarketCap DEX API Use Cases

  • Fetching real-time DEX token prices using specific contract addresses.
  • Identifying trending tokens and newly launched assets across various blockchain networks.
  • Performing security audits and rug risk checks to identify potential liquidity removals.
  • Monitoring liquidity pool depth and distribution for specific trading pairs.
  • Analyzing recent swap transactions to gauge market sentiment and whale activity.

How CoinMarketCap DEX API Works

  1. The user provides a valid CoinMarketCap Pro API key which is included in the request headers for authentication.
  2. Commands are issued to specific endpoints based on the desired data, such as token metadata, prices, or security signals.
  3. The Openclaw Skills agent processes the request using either GET for simple lookups or POST for complex batch queries.
  4. Data is fetched directly from the blockchain via CoinMarketCap's indexed DEX data providers.
  5. The result is returned in a structured JSON format, allowing the Openclaw Skills agent to present the findings or perform further analysis.

CoinMarketCap DEX API Setup

To use this skill, you must obtain a CoinMarketCap Pro API key from the official developer portal. Once you have your key, you can test the connection using the following command:

curl -X GET "https://pro-api.coinmarketcap.com/v1/dex/platform/list" \
  -H "X-CMC_PRO_API_KEY: your-api-key"

Ensure that your API key is stored securely and included in the headers of all subsequent requests made through Openclaw Skills.

CoinMarketCap DEX API Data Schema & Taxonomy

The skill organizes its responses using a consistent JSON structure, making it easy to parse across different Openclaw Skills workflows.

Object Description
status Contains the timestamp, error_code (0 for success), and any relevant error messages.
data The primary payload containing token details, prices, or transaction lists.
network_slug The unique identifier for the blockchain (e.g., ethereum, bsc, solana).
contract_address The on-chain address used to uniquely identify tokens.

CoinMarketCap DEX API Advanced Features

  • Batch processing capabilities for retrieving prices for multiple tokens in a single API call.
  • Automated security risk signaling to detect high-risk contracts or potential rug pulls.
  • Real-time discovery of meme coins and top gainers/losers across all supported DEX platforms.
  • Deep liquidity analysis tools to track changes in pool health over time.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*