cmc-agent is a zero-dependency CLI for developers and agents building on CoinMarketCap data. It answers market questions with live data, shows its work on every call, and scores how much you can trust each number before you act on it.
$ node cmc-agent.js verify BTC
BTC Bitcoin (rank #1)
resolution_clarity 16/20
freshness 20/20
cross_endpoint_consistency 20/20
volume_mcap_sanity 15/15
move_plausibility 10/10
identity_confirmation 15/15
Every trading bot, alert, dashboard and AI agent that reads market data makes one silent assumption: the number is right. Three root causes make that assumption fail in crypto:
Tickers are not unique. "BTC" alone matches 9 active assets on CoinMarketCap; a naive lookup can price the wrong token and never tell you.
APIs return cached or lagging quotes with no warning. An agent acting on a 40-minute-old price has no way to know.
Stablecoins depeg. TerraUSD fell to $0.30 in May 2022 (Reuters); USDC hit $0.87 on March 11, 2023 after Circle disclosed $3.3B of SVB exposure (Decrypt). Anything treating $1.00 as a constant was wrong exactly when it mattered most.
verify <SYM> cross-checks one symbol across three independent CMC endpoints (quotes, the symbol map, and OHLCV) and returns a 0-100 trust score with an explainable breakdown. Deterministic, offline-testable, no LLM guesses.
$ node cmc-agent.js verify USDT --json { "trust_score": 90, "verdict": "TRUSTED", "stablecoin_peg": "0.13% off $1" }
A depeg past 5% caps the verdict at UNRELIABLE, no matter what the other five checks say.
Every command emits clean JSON and an auditable request trace: endpoint, parameters, timestamps, status, credits, never the key.
The missing layer between "fetch a price" and "act on it". Six deterministic checks with verdict caps for depegging stables.
Quotes, top listings, 24h gainers/losers and trending, with symbol-collision counts disclosed on every lookup.
Global metrics, Fear & Greed sentiment, OHLCV bars, side-by-side comparisons with volume/mcap ratios.
Spot-pair lists and single-pool quotes across networks, labeled as reported liquidity, never an executable quote.
"price of bitcoin" or "top 5 trending" routes through a deterministic intent map: reproducible answers, no improvisation.
Price and 24h-change thresholds evaluated on demand. Level-triggered, honest about what it can't see.
watch run --every SEC evaluates rules on a schedule; edge-triggered alerts (fires once, cleared, re-arms), exit code 2 for scripts, one JSON document per cycle. Live-verified 26 Nov.
Market data is a paid product; trusting it blindly is an unpaid risk. cmc-agent sits where the risk actually lands: at the consumer, right before the decision.
erased when TerraUSD's peg broke in May 2022, the largest data-trust failure in crypto history.
USDC's deviation from $1 on March 11, 2023. Any system hard-coding $1.00 mispriced every USDC pair for a weekend.
active assets sharing "BTC" on CMC today. Collision handling is not an edge case; it is the norm.
| Provider / plan | Price | Call credits | Verifies its own answers? |
|---|---|---|---|
| CoinMarketCap Builder | $29/mo | 150K/mo | No, data delivery only |
| CoinMarketCap Startup | $79/mo | 450K/mo | No |
| CoinMarketCap Growth | $299/mo | 2M/mo | No |
| CoinGecko Basic | $35/mo | 100K/mo | No |
| CoinGecko Analyst | $129/mo | 500K/mo | No |
| Chainlink PoR / DeFiLlama Verified | n/a | n/a | Verify reserves, not market quotes |
Sources: coinmarketcap.com/api/pricing and coingecko.com/en/api/pricing (fetched 26 Nov 2026); Reuters on UST; Decrypt on USDC; Chainlink PoR; DeFiLlama Verified.
Every paid tier above sells more data. None of it tells the consumer whether a specific answer is trustworthy right now. Verification layers that do exist (Chainlink Proof of Reserve, DeFiLlama Verified) check protocol reserves, not the market quotes a bot or agent is about to act on.
Who pays and why: trading-bot and alert builders who lose money on stale or collided quotes; agent frameworks that need a trust gate before a tool result enters a decision loop; data teams who need per-request evidence for audits. cmc-agent is open-source (MIT) today; the natural paid shape is a hosted verification API and team audit logs on top of the same checks, an add-on to a data subscription, not a replacement for one.