WebSocket Examples
WebSocket Examples
Each example includes connection details, subscription messages, and AI prompts to help you get started with Turbostream.
Showing 12 of 47 examples
Ethereum — New Block Headers
Get notified when Ethereum mines a new block.
Ethereum — USDT Transfer Event Stream
Real-time USDT transfer events from Ethereum logs. Higher volume than blocks; perfect for testing decoding + throttling.
Ethereum — Mempool Firehose
Stream pending tx hashes as they enter the mempool. Extremely high volume—ideal for stress-testing queues, drops, and sampling.

BGP Updates
RIPE RIS Live WebSocket for BGP feed
Market Order Book Feed
Live bid/ask depth changes for specific markets — perfect for liquidity analysis, spread monitoring, price impact.
Market Price Feed
Real-time executed trades across all markets — great for detecting price impact, volatility spikes, and directional flows.
Comments Feed
Real-time user comments on Polymarket markets — useful for sentiment analysis and early narrative shifts.
Reaction Feed
Tracks likes/reactions on comments — a great proxy for crowd engagement momentum.
User Order/Trade Notifications
Only for authenticated users — live updates for your own orders/trades (fills, cancellations, status changes).
Solana Mainnet — Slot Updates
Live feed of Solana slots
Solana Mainnet — Logs Stream
Live feed of Solana transaction logs
Binance — Spot Market Trades
Real-time trade stream for any Binance spot trading pair. No authentication required for public market data.