Surge Price Feeds

The Future of Oracle Technology

Switchboard Surge is the industry's fastest oracle data delivery system, providing sub-100ms latency through direct WebSocket streaming. Built for the next generation of DeFi applications, trading systems, and real-time dashboards.

Key Innovation

Traditional oracles require multiple steps—gathering prices, writing to blockchain state, reaching consensus, and then making data available—resulting in 2-10 seconds of latency.

Switchboard oracles must pass a hardware proof when joining the network, ensuring they run only verified Switchboard code. This allows oracles to stream price data directly from sources to your application via WebSocket, achieving sub-100ms latency.

┌──────────────────┐     ┌──────────────────┐     ┌──────────────────┐
│  Price Sources   │────▶│  Oracle Network  │────▶│  Surge Gateway   │
│   (CEX, DEX)     │     │ (SAIL Verified)  │     │   (WebSocket)    │
└──────────────────┘     └──────────────────┘     └────────┬─────────┘

                                               ┌──────────▼──────────┐
                                               │   Your Application  │
                                               │  • Event Listeners  │
                                               │  • Price Handlers   │
                                               │  • EVM Converter    │
                                               └─────────────────────┘

Key Features

Unmatched Performance — Sub-100ms latency with direct WebSocket streaming and event-driven updates. No polling required.

Zero Setup — No data feed accounts or on-chain deployment needed. Just use your keypair and connection to start streaming.

Cost Efficiency — Subscription-based pricing with no gas fees for receiving updates. Reduced on-chain costs when submitting to contracts.

Seamless Integration — TypeScript/JavaScript SDK, WebSocket API for any language, and EVM format conversion for on-chain use.

Enterprise-Grade Reliability — 99.9% uptime SLA with global infrastructure, automatic failover, and professional support.

User Flow

Surge works the same way regardless of your target chain:

  1. Subscribe — All Surge subscriptions are managed on Solana, regardless of which chain you're building on. Connect your Solana wallet at the subscription portalarrow-up-right.

  2. Stream Prices — Once subscribed, prices stream directly to your application via WebSocket. No on-chain reads required—this is what enables sub-100ms latency.

  3. Use Prices — When you need prices on-chain, convert the Surge update to your chain's format and submit it. Switchboard provides SDKs for Solana, EVM, and Sui.

Getting Started

1. Subscribe

Connect your wallet and subscribe at explorer.switchboardlabs.xyz/subscriptionsarrow-up-right.

2. Install the SDK

3. Connect and Stream

Pricing & Limits

Plan
Price
Quote Interval
Max Feeds
Max Connections

Plug

Free

10s

2

1

Pro

~$3,000/mo

450ms

100

10

Enterprise

~$7,500/mo

0ms

300

15

Subscriptions are paid in SWTCH tokens. For custom limits or dedicated support, contact [email protected]envelope.

Primary Use Cases

Perpetual Exchanges

Surge is the perfect oracle solution for perpetual trading platforms:

Oracle-Based AMMs

Build the next generation of AMMs that use real-time oracle prices:

High-Frequency Trading & Arbitrage

Liquidation Engines

Technical Specifications

Latency Breakdown

  • Oracle processing: ~10ms

  • Network transmission: ~20-50ms

  • Client processing: ~10ms

  • Total: <100ms

Discovering Available Feeds

Use the getSurgeFeeds() method to see all available trading pairs:

Supported Assets

  • All major cryptocurrency pairs

  • Multiple exchange sources available

  • New pairs added regularly

  • Custom feeds available on request

Note: Surge does not support custom feeds created with the feed builderarrow-up-right.

FAQ

How is Surge different from traditional oracles?

Surge streams data directly to your application via WebSocket, bypassing the blockchain entirely for reads. This eliminates gas costs and reduces latency from seconds to milliseconds.

Can I use Surge data on-chain?

Yes! Surge updates can be converted to EVM-compatible format using EVMUtils.convertSurgeUpdateToEvmFormat() and submitted to your smart contracts.

What's the reliability?

Surge operates with 99.9% uptime SLA, automatic failover, and global redundancy. Enterprise customers get dedicated infrastructure.

How do I handle disconnections?

The SDK includes automatic reconnection logic with exponential backoff. Your application will seamlessly recover from network interruptions.

Next Steps

Last updated