Feed updates
Equity.US.SKHYV/USDremovedCrypto.NEX/USDremovedCrypto.HWUSD/USDC.RRremovedCrypto.USDU/USDremovedCrypto.SHYPE/HYPE.RRremovedCrypto.GOLD/USDremovedCrypto.4/USDremovedCrypto.WVLP/USDT.RRremovedCrypto.THBILL/USDC.RRremovedCrypto.BUCKET.USDB/USDremovedCrypto.WHLP/USDC.RRremovedCrypto.VKHYPE/KHYPE.RRremovedCrypto.URANUS/USDremovedCrypto.UP/USDremoved
View all
Developer Hub

WebSocket API

Real-time streaming price updates via WebSocket

Base URL

EndpointURL
Primarywss://pyth-lazer-0.dourolabs.app/v1/stream
Secondarywss://pyth-lazer-1.dourolabs.app/v1/stream
Tertiarywss://pyth-lazer-2.dourolabs.app/v1/stream

Connect to all three endpoints for redundancy during deployments. See Subscribe to Prices for a detailed guide on establishing connections.

Messages

The WebSocket API uses JSON messages for communication. For the full request/response schema — including subscribe/unsubscribe parameters, available properties, channels, and response structure — see the Payload Reference.

OpenAPI Schema

The WebSocket API is part of the Pyth Pro Router API. The full OpenAPI specification is available at:

On this page