Knowledge Base/WebSockets
Knowledge Base
WebSockets
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.
- Title
- Why am I “not authorized” when attempting to connect to Polygon’s WebSockets
- WebSockets Tag
WebSockets
- FAQ Tag
FAQ
- 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
- How much data is streamed through Polygon’s WebSockets?
- FAQ Tag
FAQ
- WebSockets Tag
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
- Does Polygon have per second aggregates available?
- Aggregates Tag
Aggregates
- WebSockets Tag
WebSockets
- Description
- Yes, we provide per second aggregates in real-time through our Stocks WebSocket feed.
- Title
- How can I connect to a Polygon WebSocket?
- WebSockets Tag
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
- Why am I receiving a late aggregate bar through Polygon’s WebSockets?
- Aggregates Tag
Aggregates
- WebSockets Tag
WebSockets
- FAQ Tag
FAQ
- Description
- Aggregate bar delays are intentional and designed for quality assurance purposes on our end.
- Title
- What is the difference between RESTful APIs and WebSockets?
- REST Tag
REST
- WebSockets Tag
WebSockets
- FAQ Tag
FAQ
- Description
- A RESTful API is a way of designing an application program interface (API) that uses HTTP requests to access and manipulate data.
- Title
- How many Polygon WebSocket connections can I use at one time?
- FAQ Tag
FAQ
- WebSockets Tag
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 Tag
FAQ
- WebSockets Tag
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
- What is the average latency for Polygon.’s WebSockets?
- WebSockets Tag
WebSockets
- Description
- We pride ourselves on having some of the lowest latency in the industry.
- Title
- Why do Polygon WebSocket disconnects happen?
- WebSockets Tag
WebSockets
- FAQ Tag
FAQ
- Description
- WebSocket disconnects can happen for various reasons. One common reason is when market data is not being consumed fast enough
- Title
- Does Polygon offer Level 2 data?
- Data Coverage Tag
Data Coverage
- Crypto Tag
Crypto
- Stocks Tag
Stocks
- WebSockets Tag
WebSockets
- Description
- No, we currently do not provide level 2 market depth information for stocks.