New: Stream Prices over Server-Sent Events

Crypto WebSocket API

Real-time prices for up to 100 coins per connection, pushed the moment they are calculated from 120+ exchanges. One connection costs one API call. The recommended transport for back ends; front ends use SSE.

30 days free, then $199 a month. Card required, cancel any time.

$199/month · 30-day free trial · wss://api.coinranking.com/v2/real-time

Live marketConnecting…
Cryptocurrency prices from polling the coins endpoint once a minute, compared with the Coinranking API Server-Sent Events stream
CoinPollingonce a minuteServer-Sent Eventslive
BitcoinBTC
EthereumETH
BNBBNB
XRPXRP
SolanaSOL

0

Price updates received

2

API calls used: one for the list, one for the stream

Three Feeds on One Base URL

Aggregated rates per coin, rates per exchange, and full tickers per trading pair, all under wss://api.coinranking.com/v2/real-time.

  • One consolidated price and 24-hour volume per coin across every exchange. Subscribe by currency-uuids[], up to 100 per connection.

  • A coin’s price and volume on one exchange, tagged cex or dex. Subscribe by exchange, by coin, or by exact pair.

  • Trading-pair level: close price, base and quote volume, and the filters applied to the market. Subscribe by market, exchange or coin.

DEX markets on the exchange-rates and tickers feeds need the Real-Time DEX Data add-on.

Prices Arrive as JSON, in a Few Lines of Code

One URL with your key and the coin UUIDs. Every message is a coin UUID, a price and a 24-hour volume in US dollars.

Connect
// Subscriptions in the connection URL
const socket = new WebSocket(
  'wss://api.coinranking.com/v2/real-time/rates' +
  '?x-access-token=YOUR_KEY' +
  '&currency-uuids[]=Qwsogvtv82FCd' +   // Bitcoin
  '&currency-uuids[]=razxDUgYGNAdQ' +   // Ethereum
  '&throttle=1s'
);

socket.onmessage = (event) => {
  const rate = JSON.parse(event.data);
  console.log(rate.currencyUuid, rate.price);
};

Subscription messages, throttling and the full message reference are in the rates docs.

One Connection Costs One API Call

Keeping 100 coins fresh for a day costs 1 API call over the socket, against 1,440 polling once a minute, and the polled price is still up to a minute old.

Cost and freshness of keeping 100 coin prices current for 24 hours, polling compared with Coinranking WebSocket
Poll /coins every minutePoll /coins every secondCoinranking WebSocket
API calls per day1,44086,4001
Price ageUp to 60 secondsUp to 60 secondsPushed on calculation
Messages per day1,440 responses86,400 responsesEvery rate change, throttled to 1s or 10s per coin
Share of a 5M-call month, per day0.03%1.7%0.00002%

Compared with CoinGecko and CoinMarketCap WebSockets

Coinranking is the only one of the three that bills per connection and runs its WebSocket as a production feature rather than a beta.

WebSocket billing and status compared across Coinranking, CoinGecko and CoinMarketCap
CoinrankingCoinGeckoCoinMarketCap
Billing unitPer connectionPer messagePer message
Cost of one stream1 API call0.1 credit per message0.025 credits per message
StatusLiveBetaBeta
Covered by SLAAvailable as an add-onNoNo

Competitor figures from CoinGecko (docs.coingecko.com/websocket) and CoinMarketCap (coinmarketcap.com/api/documentation/pro-api-websocket/overview) documentation, verified September 2026. Both vendors negotiate separately at Enterprise.

Built for a Production Socket

What the server handles for you, and the one thing you keep server-side.

Confirmed Subscriptions

Every subscription message is answered with the accepted topics and throttle.

Simple Reconnect

Reopen the same URL and the subscriptions in it apply again. One API call, same as the first.

Throttle per Coin

10s for a browser that paints every tick, 1s for a server that stores them. Applied per coin, not per connection.

99.9% Uptime

Historical uptime above 99.9%, published on the status page. A contracted SLA is available as a paid add-on.

Keep the key server-side: open the socket from a server and relay to browsers, or use Server-Sent Events behind your own endpoint.

What Developers Build on Coinranking WebSocket API

Four things a minute-old REST price cannot do.

Live Market Tables

The ranking your users keep open. One socket for a top-100, prices that move instead of jump.

Portfolio Trackers

Every holding revalued on every tick, with the 24-hour volume in the same message.

Alert Bots

Fire when the price crosses, not up to a minute later. Change the watchlist mid-stream.

Trading Dashboards

Tickers per pair with base and quote volume, on centralized exchanges and, with the add-on, DEXs.

WebSocket Access by Plan

The WebSocket feeds are included in the Professional plan and not available on Free or Startup.

Coinranking API plans and what each includes for this feature
Free · $0Startup · $49/moProfessional · $199/mo
Price$0$49$199
WebSocket feedsNot includedNot includedRates, exchange rates, tickers
Subscriptions per connectionUp to 100
DEX markets on the feedsWith the Real-Time DEX Data add-on, $119/month
REST calls per month5,0001,000,0005,000,000
Free trial30 days30 days

30-day free trial on Professional. Compare every plan.

WebSocket Questions Developers Ask

Stream Prices over WebSockets

Your first rate message arrives a few minutes after sign-up. Professional is free for 30 days.

30 days free, then $199 a month. Card required, cancel any time.

    Crypto WebSocket API, Billed per Connection | Coinranking