🎬 See Streaming API in Action
Live Demo: Watch our interactive dashboard stream real-time prices for 6 cryptocurrencies across Ethereum, Solana, and BSC. See connection status, latency metrics, and live updates in action. Open Live Dashboard →
Overview
DexPaprika’s Streaming API delivers real-time cryptocurrency price updates via Server-Sent Events (SSE). Build responsive applications with live data feeds. Get price updates every second without polling - no API key required.No Authentication
Public endpoints with no API keys needed. Start streaming immediately.
Real-Time Updates
Receive price updates approximately every 1 second per asset.
SSE Protocol
Standard Server-Sent Events for easy integration with any modern platform.
Multi-Chain Support
Stream tokens from Ethereum, Solana, BSC, Arbitrum, and more networks.
Why Use Streaming?
Streaming vs Traditional Polling
- SSE Streaming (Recommended)
- Polling (Not Recommended)
- Single persistent connection
- Updates pushed immediately when available
- Minimal bandwidth usage
- No rate limiting concerns
Use Cases
What You Can Build
Trading Dashboards
Display live prices, volume, and market metrics with sub-second latency. See live example →
Portfolio Trackers
Show real-time portfolio values and P&L as prices fluctuate.
Price Alert Systems
Trigger instant notifications when prices hit target levels.
DEX Aggregators
Compare prices across chains for arbitrage opportunities.
Market Tickers
Create live price tickers and widgets for websites.
Analytics Platforms
Stream data into time-series databases for real-time analytics.
Available Endpoints
We offer two streaming methods optimized for different use cases:GET /stream - Single Asset
Stream one token per connection. Simple and straightforward for individual assets.
POST /stream - Multiple Assets
Stream up to 2,000 tokens in one connection. Optimal for portfolios and dashboards.
Quick Comparison
| Feature | GET (Single) | POST (Multiple) |
|---|---|---|
| Assets per request | 1 | Up to 2,000 |
| Best for | Individual price tracking | Portfolios, dashboards |
| Setup complexity | Minimal | Moderate |
| Performance | Good for 1-10 assets | Optimal for 10+ assets |
| Load distribution | Per connection | Automatic balancing |
Quick Start
1. Choose Your Method
- Single Asset (Simple)
- Multiple Assets (Advanced)
Stream Ethereum WETH price:
2. Parse the Response
Each price update arrives as a JSON event:3. Handle in Your Application
Architecture Overview
Key Features
- Automatic Load Balancing: Requests distributed across multiple servers
- Persistent Connections: Single connection maintained for entire session
- Efficient Updates: Only sends data when prices actually change
- Global Infrastructure: Low-latency servers in multiple regions
Best Practices
Connection Management
Connection Management
- Implement automatic reconnection with exponential backoff
- Handle both network errors and SSE error events
- Monitor connection health with heartbeat timeouts
Error Handling
Error Handling
- Validate all assets before streaming (invalid assets cancel entire stream)
- Parse both HTTP errors and SSE error events
- Log errors for debugging but don’t expose sensitive data
Performance Optimization
Performance Optimization
- Use POST method for multiple assets (better than multiple GETs)
- Split large requests across multiple smaller streams
- Parse price strings carefully to maintain precision
Production Deployment
Production Deployment
- Implement proper logging and monitoring
- Set up alerts for connection drops
- Use connection pooling for multiple streams
- Consider WebSocket bridges for incompatible clients
Supported Networks
Stream tokens from multiple blockchain networks. Use the Networks API to get the full list of supported networks:- Ethereum (
ethereum) - Solana (
solana) - Binance Smart Chain (
bsc) - Arbitrum (
arbitrum) - Polygon (
polygon) - Base (
base) - Avalanche (
avalanche)
The
chain parameter in streaming requests must use the exact id value from the Networks endpoint.Finding Token Addresses
Before streaming prices, you need the correct token address for your chosen network. Use these REST API endpoints:Search for Tokens
Use the Search API to find tokens by name or symbol:Get Token Details
Find all pools for a specific token using the Token Pools API:Validate Before Streaming
Use the Token Prices API to verify your token exists before streaming:Next Steps
🚀 Live Dashboard Demo
See the Streaming API in action with our interactive demo. Watch real-time updates across multiple chains.
Quick Start Tutorial
Build your first streaming application in 5 minutes.
API Reference
Detailed endpoint documentation and parameters.
React Integration
Create live price components for React applications.