Quotes

WS
Real-Time: wss://socket.polygon.io/crypto

Stream quote data for specified cryptocurrency pairs via WebSocket. Each message delivers current bid/ask prices, sizes, and relevant metadata from multiple exchanges as they update, allowing users to monitor evolving market conditions, guide trading decisions, and support responsive, data-driven applications.

Use Cases: Live monitoring, market analysis, trading decision support, dynamic interface updates.

Parameters
ticker
string
required
Specify a crypto pair in the format {from}-{to} or use * to subscribe to all crypto pairs. You can also use a comma separated list to subscribe to multiple crypto pairs. You can retrieve active crypto tickers from our Crypto Tickers API.
Response Attributes
ev
enum (XQ)
The event type.
pair
string
The crypto pair.
bp
number
The bid price.
bs
number
The bid size.
ap
number
The ask price.
as
number
The ask size.
t
integer
The Timestamp in Unix MS.
x
integer
The crypto exchange ID. See Exchanges for a list of exchanges and their IDs.
r
integer
The timestamp that the tick was received by Polygon.
Code Examples
Subscription Request
WS
Log in or Sign up to Polygon to customize the websocket code examples. It's free.
Response Object
Did you find this page helpful?
Do you still need help with something?