Real-Time DEX Data
Live prices and trading pairs from 32 decentralized exchanges, on the same feeds as centralized exchanges, over WebSocket or SSE. WebSocket and SSE streaming are available on Professional and Enterprise.
10,000 requests a month, no credit card. WebSocket and SSE streaming require Professional or Enterprise.
Check your plan for DEX streaming access





Five of the 32 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
);
socket.onmessage = (event) => {
const ticker = JSON.parse(event.data);
console.log(ticker.marketUuid, ticker.price, ticker.volume);
};Delivered over WebSocket or Server-Sent Events
DEX streaming is included over both transports. Your plan sets the update interval and shared connection limit.
| 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
Standard REST DEX endpoints have production access on Growth and higher, with daily previews on Free, Basic and Startup. Use them to find UUIDs, then stream with a Professional or Enterprise key and the Real-Time DEX Data add-on.
Endpoints marked Growth have production access on Growth and higher. Free, Basic and Startup can make five successful preview requests per eligible endpoint, per account, each UTC day. Normal usage and plan limits apply. How previews work.
- 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
Check your plan for DEX streaming access, update intervals and connection limits.
| Free | Basic | Startup | Growth | Professional | |
|---|---|---|---|---|---|
| Monthly price | $0 | $24 | $49 | $99 | $199 |
| Monthly API requests | 10,000 | 500,000 | 1,000,000 | 2,000,000 | 5,000,000 |
| REST rate limit | 5 / second | 1,000 / minute | 2,000 / minute | 4,000 / minute | 6,000 / minute |
| WebSocket and SSE access | Not included | Not included | Not included | Not included | Included |
| API keys | 1 | 1 | 2 | 5 | Unlimited |
| Historical window, where supported | 1 year | 5 years | All time (from 2010) | All time (from 2010) | All time (from 2010) |
| Maximum results per response | 100 | 5,000 | 5,000 | 5,000 | 5,000 |
Streaming is also available on Enterprise. Endpoint-specific limits may be lower. Preview allowances are shared across every API key on your account. Every paid plan offers a 30-day free trial. Compare all features.
Real-Time DEX Data Questions
Opening or reconnecting a WebSocket or SSE stream counts as an API request. Delivered streaming data messages do not reduce your monthly request allowance under the current request-based plans. Your plan’s minimum update interval and shared connection limit still apply. See plans for these limits.
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. DEX streaming access and limits depend on your plan.
The REST DEX endpoints return listings, protocols, markets and new coin listings, with prices refreshed once a minute, with production access on Growth and daily previews on Free, Basic and Startup. DEX streaming is subject to your plan’s streaming access. 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
Stream DEX data with a Professional or Enterprise key and the Real-Time DEX Data add-on. Professional offers a 30-day free trial.
10,000 requests a month, no credit card. WebSocket and SSE streaming require Professional or Enterprise.