CoinMarketCapCoinMarketCap
PricingAPI StatusGet API Key
  • Overview
  • API Reference
  • WebSocket
  • AI Agent Hub
  • Changelog
  • FAQ
If you are an AI agent, LLM, or automated tool, this documentation provides clean Markdown versions of pages. Use the HTTP Link header for the exact Markdown alternate, append .md to documentation page URLs, or start from https://pro.coinmarketcap.com/llms.txt.

© 2026 CoinMarketCap. All rights reserved.

xgithub
WebSocket Overview
Market
    Cryptocurrency
      Latest PriceWSS
On-Chain
    Token
      Aggregated Token Price and LiquidityWSSKlineWSSUnique TraderWSSTransactionWSSLiquidity EventWSSToken Rolling MetricsWSSPool Rolling MetricWSSHolder MetricsWSSHolder Wallet UpdateWSS
CoinMarketCap WebSocket API

CoinMarketCap WebSocket API

Real-time market and on-chain data over wss://pro-stream.coinmarketcap.com/v1.

Subscribe with { "method": "subscribe", "channel": "...", "params": { ... } }. Server pushes { "type": "data", "channel", "params", "data", "ts" }.

See wss-conventions.md for connection, ACK, ping, and error codes.

Tags
Cryptocurrency
CEX spot quotes via market@crypto_latest_price. Subscribe with crypto_ids (14 fields; ~5s for top 500 by rank, ~15s for other subscribed IDs). Plan: Startup and above.
Token
DEX on-chain channels. Subscribe with platform_id. Data payloads use numeric pid; discriminate holder channels with string tp.
Servers
wss://pro-stream.coinmarketcap.com

CoinMarketCap WebSocket Server