cmc-api-dex
API reference for CoinMarketCap DEX endpoints including token lookup, pools, transactions, trending, and security analysis. Use this skill whenever the user mentions DEX API, asks about on-chain token data, wants to look up tokens by contract address, needs security/rug risk checks, or is building DEX integrations. This is the definitive reference for CMC DEX API questions. Trigger: "DEX API", "token by contract address", "CMC security API", "liquidity pool API", "/cmc-api-dex"
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bryan-cmc/cmc-api-onchain-dataWhat This Skill Does
The cmc-api-dex skill serves as the comprehensive integration for OpenClaw to interact with CoinMarketCap's robust suite of Decentralized Exchange (DEX) APIs. This tool bridges the gap between raw blockchain data and actionable insights by providing direct access to on-chain metrics, liquidity pools, security analysis, and real-time market data across various networks like Ethereum, Solana, and BSC. Whether you are tracking a new memecoin launch on Uniswap, checking the security health of a token contract to prevent rug pulls, or batch-fetching price data for a portfolio tracker, this skill automates the process by translating natural language requests into precise API calls to the CMC Pro infrastructure.
Installation
To integrate this functionality into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/bryan-cmc/cmc-api-onchain-data
After installation, ensure you have your CMC Pro API key ready, as all requests require authentication via the X-CMC_PRO_API_KEY header.
Use Cases
This skill is designed for developers, analysts, and traders who require high-frequency on-chain intelligence. Key use cases include:
- Security Auditing: Rapidly scanning token contracts for liquidity risks or potential rug-pull indicators using the security analysis endpoints.
- Market Discovery: Finding the top trending DEX tokens, identifying daily biggest gainers, or scanning for newly launched tokens on specific platforms.
- Technical Integration: Building custom portfolio dashboards that require batch pricing, recent transaction history, or liquidity pool tracking across multiple decentralized exchanges.
- Platform Analysis: Fetching detailed metrics for supported DEX platforms to analyze platform-specific trends and performance.
Example Prompts
- "Can you check the security health of this contract address 0x123...abc and see if there are any immediate rug pull risks?"
- "Find the top 5 trending DEX tokens on Solana from the last 24 hours using the CMC DEX API."
- "Get the current liquidity pool data and the latest price for the PEPE token on the Ethereum network."
Tips & Limitations
- Rate Limiting: Ensure you monitor your CMC Pro API key usage, as excessive batch queries may hit your plan's rate limits.
- Method Types: Pay close attention to the endpoint documentation; many advanced DEX queries require POST requests with a JSON body rather than standard GET parameters.
- Data Latency: While on-chain data is generally real-time, the indexing of new liquidity pools may take several minutes to propagate to the CMC platform APIs.
- Authentication: Always keep your API key secure; do not hardcode it directly into scripts shared in public repositories.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bryan-cmc-cmc-api-onchain-data": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, external-api
Related Skills
crypto-research
Performs comprehensive due diligence on a cryptocurrency using CoinMarketCap MCP data. Use when users ask about a specific coin beyond just its price. This includes questions like "what is [coin]", "is [coin] legit", "analyze [coin]", tokenomics questions, holder distribution, or any request for deep information about a single cryptocurrency. Trigger: "research [coin]", "tell me about [coin]", "should I invest in [coin]", "DYOR [coin]", "is [coin] safe", "/crypto-research"
cmc-api-exchange
API reference for CoinMarketCap exchange endpoints including exchange info, volume, market pairs, and assets. Use this skill whenever the user mentions exchange API, asks about exchange volumes, wants trading pair data, needs proof-of-reserves info, or is building exchange integrations. This is the authoritative reference for CMC exchange API questions. Trigger: "exchange API", "CMC exchange data", "trading pairs API", "exchange volume API", "/cmc-api-exchange"
market-report
Generates a comprehensive crypto market report using CoinMarketCap MCP data. Use when users ask about overall market conditions, sentiment, or want a summary. Also use for questions about fear/greed, BTC dominance, altcoin season, trending narratives, or general "how's the market" queries. Trigger: "market report", "market overview", "what's happening in crypto", "market sentiment", "fear and greed", "is it altcoin season", "/market-report"
cmc-x402
Access CoinMarketCap data via x402 pay-per-request protocol with USDC payments on Base. Use when users mention x402, want CMC data without API keys, ask about pay-per-request APIs, or need to integrate CMC with on-chain payments. Also use for any Coinbase x402 protocol questions. Trigger: "x402", "pay per request", "no API key", "USDC payment", "CMC without subscription", "/cmc-x402"
cmc-api-market
API reference for CoinMarketCap market-wide endpoints including global metrics, fear/greed, indices, trending topics, and charts. Use this skill whenever the user mentions market API, asks about fear/greed index, wants global metrics or BTC dominance data, needs k-line charts, or is working with market sentiment. This is the complete reference for CMC market-wide API questions. Trigger: "market API", "fear greed API", "global metrics API", "CMC charts API", "/cmc-api-market"