Find answers to your questions about using Polygon's WebSockets to stream market data. Learn about connecting, subscribing to events by ticker or data type, or read guides for commonly encountered issues.
Knowledge Base/WebSockets
Knowledge Base
WebSockets
- Title
- Does Polygon have per second aggregates available?
- Aggregates Category
Aggregates
- WebSockets Category
WebSockets
- Description
- Yes, we provide per second aggregates in real-time through our Stocks WebSocket feed.
- Title
- Does Polygon offer Level 2 data?
- Crypto Category
Crypto
- Data Coverage Category
Data Coverage
- Stocks Category
Stocks
- WebSockets Category
WebSockets
- Description
- No, we currently do not provide level 2 market depth information for stocks.
- Title
- How can I connect to a Polygon WebSocket?
- WebSockets Category
WebSockets
- Description
- Our WebSocket APIs are based on entitlements that control which WebSocket Clusters you can connect to and which kinds of data you can access.
- Title
- How many Polygon WebSocket connections can I use at one time?
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- Each account comes with access to one simultaneous WebSocket connection per cluster.
- Title
- How many tickers can you subscribe to on a single Polygon WebSocket connection?
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- There is no limitation on our side to the number of tickers you can subscribe to at once as long as you can consume the data fast enough.
- Title
- How much data is streamed through Polygon’s WebSockets?
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- We stream our market data exactly as we receive it. Every single trade and NBBO quote is sent in real-time through the WebSockets.
- Title
- What is the average latency for Polygon.’s WebSockets?
- WebSockets Category
WebSockets
- Description
- We pride ourselves on having some of the lowest latency in the industry.
- Title
- What is the difference between RESTful APIs and WebSockets?
- FAQ Category
FAQ
- REST Category
REST
- WebSockets Category
WebSockets
- Description
- A RESTful API is a way of designing an application program interface (API) that uses HTTP requests to access and manipulate data.
- Title
- Why am I “not authorized” when attempting to connect to Polygon’s WebSockets
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- Our WebSockets are only available through our paid subscriptions. If you receive a “not authorized” message, you’ll need to upgrade your account to access the WebSockets.
- Title
- Why am I receiving a late aggregate bar through Polygon’s WebSockets?
- Aggregates Category
Aggregates
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- Aggregate bar delays are intentional and designed for quality assurance purposes on our end.
- Title
- Why do Polygon WebSocket disconnects happen?
- FAQ Category
FAQ
- WebSockets Category
WebSockets
- Description
- WebSocket disconnects can happen for various reasons. One common reason is when market data is not being consumed fast enough