cmc-api-crypto

cmc-api-crypto is a skill for Claude Code from OpenCMC/skills-for-ai-agents-by-CoinMarketCap. It costs 105 tokens per session (1,746 once invoked), scanned A, original, MIT.

A reference for the CoinMarketCap cryptocurrency API, a web service that provides coin prices, market listings, history, and token information. It covers the API endpoints and required-key authentication.

In plain words
What is it for?
Use it to retrieve current or historical prices, market listings, OHLCV chart data, trending coins, categories, token details, exchange listings, and related market information.
Why use it?
It helps developers choose the right endpoint and request format instead of working out the cryptocurrency data interface from scratch.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to retrieve current or historical prices, market listings, OHLCV chart data, trending coins, categories, token details, exchange listings, and related market information.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto
Install

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.

Any agent
npx skills add OpenCMC/skills-for-ai-agents-by-CoinMarketCap --skill cmc-api-crypto
Clone the repo
git clone --depth 1 https://github.com/OpenCMC/skills-for-ai-agents-by-CoinMarketCap

Made for: Claude Code.

Wrote 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.

agentmods badge for cmc-api-crypto

README.md
[![agentmods](https://agentmods.dev/badge/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto/github.svg)](https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto)
Your own site
<a href="https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto"><img src="https://agentmods.dev/badge/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto/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.

agentmods 80×15 button for cmc-api-crypto

Your own site · 80×15
<a href="https://agentmods.dev/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto"><img src="https://agentmods.dev/badge/skills/opencmc/skills-for-ai-agents-by-coinmarketcap/cmc-api-crypto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00105 $0.01746
Opus 5.5 $0.00042 $0.00698
Sonnet 5.5 $0.00021 $0.00349
Haiku 4.5 $0.00011 $0.00175

Measured 3d ago against content hash 2071643cc53e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cmc-api-crypto 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 3d 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/v3/cryptocurrency/listings/latest" \
skills/cmc-api-crypto/SKILL.md · 174 lines

How it starts

The opening of the file, as written. The whole thing — 174 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CoinMarketCap Cryptocurrency API

This skill covers the CoinMarketCap Cryptocurrency API endpoints for retrieving price data, market listings, historical quotes, trending coins, and token metadata.

Authentication

All requests require an API key in the header.

curl -X GET "https://pro-api.coinmarketcap.com/v3/cryptocurrency/listings/latest" \
  -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

Common Use Cases

See use-cases.md for goal-based guidance on which endpoint to use:

  1. Get current price of a token
  2. Find a token's CMC ID from symbol or name
  3. Get a token by contract address
  4. Get top 100 coins by market cap
  5. Find coins in a price range
  6. Get historical price at a specific date
  7. Build a price chart (OHLCV data)
  8. Find where a coin trades
  9. Get all-time high and distance from ATH
  10. Find today's biggest gainers
  11. Discover newly listed coins
  12. Get all tokens in a category (e.g., DeFi)

API Overview

Endpoint Description Reference
GET /v1/cryptocurrency/categories List all categories with market metrics categories.md
GET /v1/cryptocurrency/category Single category details categories.md
GET /v1/cryptocurrency/listings/historical Historical listings snapshot listings.md
GET /v3/cryptocurrency/listings/latest Current listings with market data listings.md
GET /v1/cryptocurrency/listings/new Newly added cryptocurrencies listings.md
GET /v1/cryptocurrency/map Map names/symbols to CMC IDs map.md
GET /v1/cryptocurrency/trending/gainers-losers Top gainers and losers trending.md
GET /v1/cryptocurrency/trending/latest Currently trending coins trending.md
GET /v1/cryptocurrency/trending/most-visited Most visited on CMC trending.md
GET /v2/cryptocurrency/info Static metadata (logo, description, URLs) info.md
GET /v2/cryptocurrency/market-pairs/latest Trading pairs for a coin market-pairs.md
GET /v2/cryptocurrency/ohlcv/historical Historical OHLCV candles ohlcv.md
GET /v2/cryptocurrency/ohlcv/latest Latest OHLCV data ohlcv.md
GET /v2/cryptocurrency/price-performance-stats/latest Price performance stats price-performance.md
GET /v3/cryptocurrency/quotes/latest Latest price quotes quotes.md
GET /v3/cryptocurrency/quotes/historical Historical price quotes quotes.md

Read the full file on GitHub · 174 lines

Files

What ships with it

10 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.

Changes

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.

  1. 3d ago Changed · +4 lines 2071643cc53e
  2. 1mo ago First seen · 170 lines · 105 tokens per session scan A e0875a8044f4

Subscribe to this mod's changes

cmc-api-crypto 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 105 tokens to every session and 1,746 once invoked, about $0.0004 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.

Related

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.

coinpaprika/skills · 61 tokens

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…

BankrBot/skills · 138 tokens

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…

echennells/sparkbtcbot · 272 tokens

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…

CumpsD/broker-as-a-service · 190 tokens

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.

nirholas/cryptocurrency.cv · 66 tokens

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…

CryptoQuantOfficial/cryptoquant-mcp · 112 tokens