Value
WS
Business: wss://business.polygon.io/indices
Stream real-time index value updates for specified index tickers via WebSocket. Each message provides the index’s current value and timestamp, allowing users to monitor fluctuations in key market benchmarks or sectors throughout the trading session. This continuous feed supports live market analysis, trend identification, and integration of index-based signals into trading strategies and research.
Use Cases: Market analysis, trend detection, portfolio benchmarking, trading strategy refinement.
Plan AccessIncluded in select Indices plans
Plan
Recency
Not included
15-minute delayed
15-minute delayed
Real-time
Plan Recency15-minute delayed or real-time
Plan HistoryNot applicable to websockets
Parameters
ticker
string
required
Specify an index ticker using "I:" prefix or use * to subscribe to all index tickers.
You can also use a comma separated list to subscribe to multiple index tickers.
You can retrieve available index tickers from our Index Tickers API.
Response Attributes
ev
enum (V)
The event type.
val
number
The value of the index.
T
string
The assigned ticker of the index.
t
integer
The Timestamp in Unix MS.
Code Examples
Subscription Request
WS
Sign in or Create account to Polygon to customize the websocket code examples. It's free.
Response Object