Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add OpenCMC/skills-for-ai-agents-by-CoinMarketCap --skill cmc-api-dexgit clone --depth 1 https://github.com/OpenCMC/skills-for-ai-agents-by-CoinMarketCapWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-dex)<a href="https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-dex"><img src="https://agentmods.dev/badge/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-dex/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-dex"><img src="https://agentmods.dev/badge/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-dex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00114 | $0.01574 |
| Opus 5.5 | $0.00046 | $0.00630 |
| Sonnet 5.5 | $0.00023 | $0.00315 |
| Haiku 4.5 | $0.00011 | $0.00157 |
Grade A, and why
cmc-api-dex scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
curl -X GET "https://pro-api.coinmarketcap.com/v1/dex/platform/list" \ How it starts
The opening of the file, as written. The whole thing — 156 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CoinMarketCap DEX API
This skill covers CoinMarketCap's DEX (Decentralized Exchange) APIs for on-chain token data. Unlike CEX endpoints, these APIs fetch data directly from blockchain DEXs like Uniswap, PancakeSwap, and Raydium.
Authentication
All requests require an API key in the header:
curl -X GET "https://pro-api.coinmarketcap.com/v1/dex/platform/list" \
-H "X-CMC_PRO_API_KEY: your-api-key"
Get your API key at: https://pro.coinmarketcap.com/login
Base URL
https://pro-api.coinmarketcap.com
POST vs GET Endpoints
Many DEX endpoints use POST for complex queries with body parameters. Always check the method:
- GET endpoints pass parameters as query strings
- POST endpoints pass parameters in JSON body with
Content-Type: application/json
Common Use Cases
See use-cases.md for goal-based guidance on which endpoint to use:
- Get DEX token price by contract address
- Find a token's contract address by name
- Get prices for multiple tokens at once
- Check token security before trading
- Find liquidity pools for a token
- Find trending DEX tokens
- Find today's biggest DEX gainers
- Find newly launched tokens
- Detect potential rug pulls (liquidity removal)
- Get recent trades for a token
- Get supported networks and DEXs
- Get meme coins
API Overview
| Endpoint | Method | Description | Reference |
|---|---|---|---|
| /v1/dex/token | GET | Token details by platform/address | tokens.md |
| /v1/dex/token/price | GET | Latest DEX price for a token | tokens.md |
| /v1/dex/token/price/batch | POST | Batch token prices | tokens.md |
| /v1/dex/token/pools | GET | Liquidity pools for a token | tokens.md |
| /v1/dex/token-liquidity/query | GET | Token liquidity over time | tokens.md |
| /v1/dex/tokens/batch-query | POST | Batch token metadata | tokens.md |
| /v1/dex/tokens/transactions | GET | Recent DEX transactions | tokens.md |
| /v1/dex/tokens/trending/list | POST | Trending DEX tokens | tokens.md |
| /v4/dex/pairs/quotes/latest | GET | Latest DEX pair quotes | pairs.md |
| /v4/dex/spot-pairs/latest | GET | DEX spot pairs listing | pairs.md |
| /v1/dex/platform/list | GET | List supported DEX platforms | platforms.md |
| /v1/dex/platform/detail | GET | Platform details | platforms.md |
| /v1/dex/search | GET | Search DEX tokens/pairs | platforms.md |
| /v1/dex/gainer-loser/list | POST | Top DEX gainers/losers | discovery.md |
| /v1/dex/liquidity-change/list | GET | Tokens with liquidity changes | discovery.md |
| /v1/dex/meme/list | POST | Meme tokens on DEX | discovery.md |
| /v1/dex/new/list | POST | Newly discovered DEX tokens | discovery.md |
| /v1/dex/security/detail | GET | Token security/risk signals | security.md |
What ships with it
6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 1mo ago First seen · 156 lines · 114 tokens per session scan A 44f1fe74830e
cmc-api-dex is a skill published in the GitHub repository OpenCMC/skills-for-ai-agents-by-CoinMarketCap (75 stars, last pushed 4d ago), licensed MIT. It adds 114 tokens to every session and 1,574 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
coinpaprika-api
Access the CoinPaprika API to query cryptocurrency market data including coin prices, tickers, exchanges, historical OHLCV data, and global market statistics. Use this skill when making HTTP requests to api.coinpaprika.com or api-pro.coinpaprika.com for crypto market information.
based-mining
Buy Bitcoin hashpower and Megapot lottery tickets through the BASED x402 endpoints on Base. Use when the user says mine bitcoin, solo mining, based pool, buy hashpower, rent hashrate, block odds, block party, my mining payout, what would I earn if BASED hits a block, mining profitability, hashprice, bitcoin hashprice…
sparkbtcbot
Give an AI agent a self-custodial Bitcoin wallet on the Spark L2. Covers wallet init from a BIP39 mnemonic, zero-fee Spark and BTKN/LRC20 token transfers, Lightning invoices (create and pay), Spark native invoices, L402 paywall payment, L1 deposits and cooperative withdrawals, and message signing. Make sure to use…
chainflip-swap
Execute native cross-chain cryptocurrency swaps via Chainflip Broker as a Service. Trigger whenever the user wants to swap, exchange, trade, convert, move, or bridge crypto across chains: BTC, ETH, SOL, DOT, TRX (Tron), USDC, USDT, FLIP. These are real Layer-1 assets, no wrapped tokens and no bridges. Patterns: "swap…
market-sentiment
Synthesize crypto market sentiment by combining the Fear & Greed index, trending coins, narrative momentum, whale activity, and on-chain signals into a single actionable market read. Use when the user wants to know if the market is bullish, bearish, or transitioning. Powered by the free-crypto-news API.
cryptoquant-onchain
Answer crypto market questions with live CryptoQuant data through the CryptoQuant MCP tools. Use when the user asks about Bitcoin, Ethereum, stablecoin, or altcoin prices; on-chain metrics such as MVRV, SOPR, NUPL, exchange inflows and outflows, or whale activity; derivatives such as funding rates, open interest…