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"
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bryan-cmc/cmc-x402What This Skill Does
The cmc-x402 skill integrates the CoinMarketCap data suite with the innovative x402 pay-per-request protocol. By leveraging the Base network, this skill removes the friction of traditional API keys, enterprise subscriptions, and lengthy sign-up processes. Instead, it enables your AI agent to fetch real-time cryptocurrency market data—such as token prices, market capitalization, listing ranks, and DEX pair details—by autonomously authorizing micro-payments of 0.01 USDC per request. It is designed for developers and AI agents that need seamless, on-demand financial data without maintaining complex long-term account infrastructure.
Installation
To integrate this capability into your agent, use the OpenClaw command-line interface. Run the following command in your terminal within your OpenClaw project directory:
clawhub install openclaw/skills/skills/bryan-cmc/cmc-x402
Ensure your environment is configured with a wallet private key (stored securely, preferably via environment variables) and sufficient USDC and ETH on the Base network to cover request costs and gas fees.
Use Cases
This skill is ideal for several high-utility scenarios:
- Portfolio Tracking: Query the latest prices for specific crypto-assets to generate real-time performance reports for user dashboards.
- Market Analysis: Fetch the top 100 cryptocurrencies by market cap to identify current market trends or sentiment shifts.
- DEX Exploration: Locate obscure or newly launched tokens by keyword search when contract addresses are unknown.
- Liquidity Monitoring: Retrieve quotes and volume data for specific liquidity pools to monitor the health of decentralized exchange pairs.
- Agentic Financial Research: Enable autonomous AI agents to research market data for financial forecasting or report generation without requiring static API credentials.
Example Prompts
- "What is the current market price for BTC and ETH using the x402 protocol?"
- "Can you help me find the top 50 cryptocurrencies right now? Please use the pay-per-request CMC data."
- "Find the trading data for this Uniswap pair address on Base using the cmc-x402 tool."
Tips & Limitations
- Security: Never hardcode your wallet private keys directly into your configuration files. Always use environment variables or a dedicated secret management service.
- Funds: Keep a buffer of USDC and ETH on Base. Running out of gas or USDC will cause requests to fail.
- Efficiency: Since every request carries a cost, minimize unnecessary polling. Use this skill for targeted, high-value data retrieval rather than continuous background streaming.
- Costs: Keep in mind that at $0.01 per request, high-frequency data applications should be carefully architected to avoid unexpected costs.
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-x402": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: 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-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"
cmc-mcp
Fetches cryptocurrency market data, prices, technical analysis, news, and trends using the CoinMarketCap MCP. Use for ANY question involving cryptocurrencies, tokens, or blockchain markets, even if the user doesn't explicitly ask for data. This includes price checks, portfolio questions, market analysis, coin comparisons, holder metrics, technical indicators, and news. Trigger: "bitcoin", "ETH", "crypto", "token price", "market cap", "how is [coin] doing", "/cmc-mcp"