quote-stream endpoint streams a live bid and ask for a pair of token mints.
See Market Data Streams for what the quotes
mean and when to use the stream; this page documents the message format.
Quotes are approximations across direct and one-hop routes, computed
from a $10 USDC equivalent round-trip trade. They can differ from the quote you
receive at order time.
Access to the quote stream is gated. Reach out to the team to request access.
Connection
See the Websockets Overview for endpoint details.Subscribe
Send asubscribe op with the base and quote mints:
Unsubscribe
Message Format
Each message is a batch covering one slot:Fields
Each entry in
updates has:
Code Examples
Subscribe to a Pair
Subscribe to a Pair
TypeScript Interface
TypeScript Interface
Related
Book Stream
Stream 10 levels of order book depth
Market Data Streams
How the streams work and when to use each
Websockets Overview
Connection details for Trading API streams
Stream Top-of-Book Quotes
Recipe: connect, subscribe, and read quotes