Aggregates (Per Minute)

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

Stream minute-by-minute aggregated OHLC (Open, High, Low, Close) and volume data for a specified cryptocurrency pair via WebSocket. These aggregates update continuously in Coordinated Universal Time (UTC). If no trades occur within a given minute, no bar is emitted, transparently indicating a period without trading activity. This endpoint provides a live feed of aggregated bars, enabling users to monitor intraday price movements, refine trading strategies, and power real-time crypto market visualizations.

Use Cases: Real-time monitoring, dynamic charting, intraday strategy development, market research.

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 (XA)
The event type.
pair
string
The crypto pair.
o
number
The open price for this aggregate window.
c
number
The close price for this aggregate window.
h
number
The high price for this aggregate window.
l
number
The low price for this aggregate window.
v
integer
The volume of trades during this aggregate window.
s
integer
The start timestamp of this aggregate window in Unix Milliseconds.
e
integer
The end timestamp of this aggregate window in Unix Milliseconds.
vw
number
The volume weighted average price.
z
integer
The average trade size for this aggregate window.
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?