New: Stream Prices over Server-Sent Events

Real-Time DEX Data

Live prices and trading pairs from 38 decentralized exchanges, on the same feeds as centralized exchanges, over WebSocket or SSE. A $119-a-month add-on to Professional, with a 30-day free trial.

5,000 calls a month, no credit card. Streaming needs Professional.

+$119/month on Professional · 30-day free trial

UniswapPancakeSwapSushiSwapCurveOrca

Five of the 38 DEXs. Full list

Live DEX Prices per Venue and per Pool

Exchange rates give one price per coin per DEX; tickers give every pool with base and quote volume.

Every pair on one DEX
// Tickers for every pool on one DEX, by its exchange UUID
const socket = new WebSocket(
  'wss://api.coinranking.com/v2/real-time/tickers' +
  '?x-access-token=YOUR_KEY' +
  '&exchange-uuids[]=5Sfs67ZcuOWm' +   // Uniswap, from /dexs
  '&throttle=1s'
);

socket.onmessage = (event) => {
  const ticker = JSON.parse(event.data);
  console.log(ticker.marketUuid, ticker.price, ticker.volume);
};

Delivered over WebSocket or Server-Sent Events

The add-on is a data subscription, not a transport.

Transports that carry Coinranking Real-Time DEX Data
WebSocketServer-Sent Events
Base URLwss://api.coinranking.com/v2/real-timehttps://api.coinranking.com/v2/real-time/sse
DirectionTwo-way: change subscriptions mid-streamOne-way: subscriptions in the URL, list=all for everything
Recommended forBack endsFront ends
Feature pageCrypto WebSocket APICrypto Price SSE API

Discover Pools over REST, Keep Them Live over the Stream

Professional already includes the REST DEX endpoints. Use them to find the UUIDs, then subscribe.

What Developers Build with Real-Time DEX Data

Four things a minute-old pool price cannot do.

CEX–DEX Spread Monitors

One exchange-rates subscription per coin returns its price on every venue, tagged cex or dex. The spread is one subtraction.

New Pool Alerts

Poll new DEX listings for the pool, subscribe to its market UUID, alert on the first tick that crosses a threshold.

DeFi Dashboards

Tickers per pool with base and quote volume, on the same connection as centralized markets.

Wallet Trackers

Tokens that only trade on a DEX, revalued on every tick instead of once a minute.

Real-Time DEX Data by Plan

Real-Time DEX Data is a $119-a-month add-on to the Professional plan; it cannot be added to Free or Startup.

Coinranking API plans and what each includes for this feature
Free · $0Startup · $49/moProfessional · $199/mo
Price$0$49$199 + $119 add-on
DEX rates and tickers, streamedNot availableNot availableWith the Real-Time DEX Data add-on
CEX rates and tickers, streamedNot includedNot includedIncluded
REST DEX endpoints (once a minute)Not includedNot includedIncluded
Free trial—30 days30 days, add-on included

Enable it from the billing page. 30-day free trial.

Real-Time DEX Data Questions

Stream Real-Time DEX Data

Add the add-on to a Professional trial; both are free for 30 days.

5,000 calls a month, no credit card. Streaming needs Professional.

    Real-Time DEX Data: Live Prices from 38 DEXs | Coinranking