CMC DEX API Reference for Openclaw

A comprehensive technical skill for accessing CoinMarketCap decentralized exchange (DEX) data, including token prices, liquidity, and rug pull risk assessment.

bryan-cmc
v1.0.1
Mar 2, 2026
1
974
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install cmc-api-onchain-data

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-onchain-data 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 CMC DEX API Reference?

The CMC DEX API skill provides developers with a robust interface to CoinMarketCap's on-chain data infrastructure. Unlike standard CEX endpoints, this Openclaw Skills resource allows for direct querying of decentralized liquidity pools across networks like Ethereum, Solana, and BSC. It serves as the definitive reference for building DeFi integrations, price trackers, and security auditors that require high-fidelity blockchain data.

This skill bridges the gap between raw blockchain protocols and actionable data, offering structured access to token metadata, transaction history, and sophisticated risk signals. By leveraging this component of the Openclaw Skills ecosystem, developers can automate the discovery of emerging assets while maintaining rigorous security standards.

CMC DEX API Reference Use Cases

  • Fetching real-time DEX token prices by contract address.
  • Performing automated security and rug-risk checks for new tokens.
  • Monitoring liquidity pool changes and recent on-chain transactions.
  • Discovering trending meme coins and newly launched tokens across multiple networks.
  • Identifying top gainers and losers within the decentralized finance ecosystem.

How CMC DEX API Reference Works

  1. Identify the target blockchain using the appropriate network_slug or platform ID.
  2. Provide the token's unique contract address to the specific endpoint relevant to your query.
  3. Authenticate the request via the X-CMC_PRO_API_KEY header for secure access.
  4. Receive and parse structured JSON data containing price, volume, liquidity, or security signals.
  5. Utilize the returned metadata to drive automated trading logic, research reports, or frontend dashboards.

CMC DEX API Reference Setup

To use this in your environment, ensure you have a valid CoinMarketCap Professional API key from the CMC Developer Portal. Configure your environment variables or headers as follows:

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

Ensure your network connectivity allows requests to the pro-api.coinmarketcap.com base URL for seamless integration with Openclaw Skills.

CMC DEX API Reference Data Schema & Taxonomy

The skill interacts with structured JSON responses. Key data points are organized as follows:

Object Fields Description
status timestamp, error_code, error_message Request metadata and error tracking
data name, symbol, contract_address, price Core token metrics and identifiers
security is_honeypot, buy_tax, sell_tax Risk assessment signals for on-chain assets

Standardized network slugs include ethereum, solana, and bsc for consistent platform identification across all Openclaw Skills implementations.

CMC DEX API Reference Advanced Features

  • Multi-network support for cross-chain token analysis across dozens of EVM and non-EVM chains.
  • Batch processing for retrieving prices or metadata of multiple contract addresses in a single POST request.
  • Granular liquidity change detection to identify potential liquidity removal or rug pull scenarios.
  • Detailed security detail endpoints for deep-dive smart contract risk assessment and honeypot detection.
  • Full integration with Openclaw Skills workflows for automated discovery of newly launched DEX pairs and trending assets.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*