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





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.
The price and 24-hour volume of a coin on one exchange, in US dollars. Subscribe with
exchange-uuids[]for whole DEXs,currency-uuids[]for a coin on every venue, orreferences[]for exactdexUuid_coinUuidpairs.- WS/tickers
Pool level: market, exchange, base and quote UUIDs, the close price in the quote token, base and quote volume, US-dollar volume and the filters applied. Subscribe with
market-uuids[],exchange-uuids[]orcurrency-uuids[].
// 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.
| WebSocket | Server-Sent Events | |
|---|---|---|
| Base URL | wss://api.coinranking.com/v2/real-time | https://api.coinranking.com/v2/real-time/sse |
| Direction | Two-way: change subscriptions mid-stream | One-way: subscriptions in the URL, list=all for everything |
| Recommended for | Back ends | Front ends |
| Feature page | Crypto WebSocket API | Crypto 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.
- GET/dexs
Every decentralized exchange, ranked by 24-hour volume, with its UUID, number of markets, number of coins and market share.
Every pool on one DEX with its market UUID, base and quote tokens, price and volume. The UUIDs go straight into a tickers subscription.
Tokens listed on a DEX most recently, with the listing timestamp. Poll it to find a pool, then stream it.
Child exchanges inside a parent DEX, such as separate protocol versions or chains, ranked by volume.
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.
| Free · $0 | Startup · $49/mo | Professional · $199/mo | |
|---|---|---|---|
| Price | $0 | $49 | $199 + $119 add-on |
| DEX rates and tickers, streamed | Not available | Not available | With the Real-Time DEX Data add-on |
| CEX rates and tickers, streamed | Not included | Not included | Included |
| REST DEX endpoints (once a minute) | Not included | Not included | Included |
| Free trial | — | 30 days | 30 days, add-on included |
Enable it from the billing page. 30-day free trial.
Real-Time DEX Data Questions
Real-Time DEX Data is a $119-a-month add-on to Coinranking API's Professional plan ($199 a month), and it starts with a 30-day free trial. The add-on unlocks decentralized exchanges on the exchange-rates and tickers feeds; centralized exchanges are already included in Professional. Enable it from the billing page.
Real-Time DEX Data covers every decentralized exchange Coinranking tracks, including Uniswap, PancakeSwap, Aerodrome, SushiSwap, Curve and Orca, across Ethereum, BNB Chain, Base, Solana and other chains. The current list, ranked by 24-hour volume, is on the decentralized exchanges page and in the /dexs endpoint.
Every exchange-rates and tickers message carries an exchangeType field set to dex or cex. A tickers message from a DEX also carries the pool's market UUID, the base and quote token UUIDs, the close price in the quote token and the volume in US dollars, so one stream can drive a view that mixes venues.
Yes. Subscribe to specific pools by passing their market UUIDs as market-uuids[] on the tickers feed, up to 100 per connection. Find market UUIDs with the DEX list of markets endpoint or the UUID finder.
Real-Time DEX Data runs on the exchange-rates and tickers feeds, which are delivered over WebSockets for back ends and Server-Sent Events for front ends. The add-on applies to the feeds, so it covers both transports on one subscription.
The REST DEX endpoints return listings, protocols, markets and new coin listings, with prices refreshed once a minute, and are included in Professional. Real-Time DEX Data is the add-on that streams DEX prices and tickers as they are calculated. Use REST to discover pools and the stream to keep them live.
More of Coinranking API
Same key, same base URL.
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.