Solana Token Prices
Streamed in Real-Time
Sub-second price updates via Server-Sent Events. No polling. No RPC calls. Direct from DEX pools and oracle feeds.
// Stream real-time SOL price — one connection, no polling
const source = new EventSource(
'https://api.venum.dev/v1/stream/prices?tokens=SOL,BONK,JUP',
{ headers: { 'X-API-Key': API_KEY } }
);
source.addEventListener('price', (e) => {
const { token, priceUsd, confidence } = JSON.parse(e.data);
console.log(`${token}: $${priceUsd} (conf: ${confidence}%)`);
});
// That's it. No setInterval. No RPC calls. No wasted compute.Polling vs Streaming
Most Solana price APIs require you to poll. Every poll is latency, cost, and complexity.
| Approach | How it works | Freshness | Cost |
|---|---|---|---|
| Polling RPC (getAccountInfo) | Loop every N seconds, decode pool accounts, compute price | 1-5s (+ RPC cost) | High — every poll is a billable RPC call |
| Third-party price API | Call Birdeye/CoinGecko/Jupiter price endpoint | 2-30s stale | Free tiers are slow; fast tiers are expensive |
| Venum SSE Streams | Open one HTTP connection, receive prices as they change | Sub-second | Included in all tiers (free tier: 1 stream) |
How Venum Price Streams Work
Server-Sent Events
One persistent HTTP connection. Prices pushed to you as pool state changes. Standard EventSource API — works in every language.
Oracle + DEX Hybrid
Prices derived from both Pyth oracle feeds and live DEX pool state. Confidence intervals included. Cross-validated across sources.
Smart Deduplication
Price updates with less than 0.01% change are suppressed. You get meaningful updates, not noise. 1-10 events per second for active tokens.
Pool Discovery Stream
Get notified the moment a new liquidity pool is created on-chain. Detect new Meteora DLMM, Raydium, and PumpSwap pools in real-time.
Built For
Trading Bots
React to price changes the moment they happen. No stale data, no missed opportunities.
Portfolio Dashboards
Show live token prices without hammering RPC nodes. One SSE connection per dashboard.
Telegram / Discord Bots
Price alerts, whale tracking, new pool notifications — all from a single persistent stream.
Get Real-Time Prices Now
Free tier includes 1 SSE stream connection and 60 price lookups/min.
Get Free API Key