Verified Price Feeds
Perfect for StarkEx integrations and applications requiring cryptographic verification of price data
Overview
If you are building on StarkEx or need a robust verification mechanism for price data, this endpoint provides real-time feeds with cryptographic signatures to ensure data integrity and provenance.Connection
1
Open WebSocket Connection
Connect to our WebSocket endpoint on your preferred environment:
2
Subscribe to Asset Pairs
Send a subscription message to start receiving updates every 500 milliseconds.
Subscription Management
Subscribing to Pairs
The response includes all pairs you are currently subscribed to, including any previous subscriptions not mentioned in your latest request.
Unsubscribing from Pairs
Price Types
- Index Price
- Mark Price
Median price from spot markets across supported exchanges.
Format Example: BTC/USD
By default, subscriptions are for index prices. Subscribing to a pair without specifying the type will subscribe to the index price.
Data Format
Field Reference
All numeric values are returned as strings to preserve precision, especially for assets with very small or very large prices.
Integration Examples
- Rust
- Python
We’ve created a ready-to-use example with a terminal UI for testing this endpoint:
Comparison with Lightspeed
Starkex
- ✓ Includes cryptographic signatures
- ✓ Verifiable price data
- ✓ Individual publisher prices
- ✓ Ideal for StarkEx integration
- ⚠️ Slightly larger payload size
Lightspeed
- ✓ Minimal payload size
- ✓ Optimized for performance
- ✓ Lower latency
- ✓ Ideal for trading applications
- ❌ No verification metadata