Polygon · AsyncAPI Specification
Polygon WebSocket Streaming API
Version 1.0
Polygon real-time market data WebSocket clusters. Each asset class (stocks, options, indices, forex, crypto) has its own dedicated cluster at `wss://socket.polygon.io/{cluster}`. Clients authenticate by sending an `auth` action with their API key, then subscribe to one or more channels prefixed by event type and ticker (e.g. `T.AAPL`, `Q.AAPL`, `A.AAPL`, `AM.AAPL`).
View Spec
View on GitHub
FinanceFintechMarket DataStocksOptionsForexCryptoIndicesFuturesWebSocketsReal-timeHistoricalPublic APIsAsyncAPIWebhooksEvents
Channels
control
Client-to-server control messages (auth, subscribe, unsubscribe).
events
Server-to-client market data events.
Messages
AuthMessage
Authenticate
Send API key to authenticate the WebSocket session.
SubscribeMessage
Subscribe To Channels
UnsubscribeMessage
Unsubscribe From Channels
StatusMessage
Status Message
TradeMessage
Trade Tick
QuoteMessage
NBBO Quote Tick
AggregateMessage
Aggregate (Per-Minute) Bar
Servers
wss
stocks
Stocks real-time cluster
wss
options
Options real-time cluster
wss
indices
Indices real-time cluster
wss
forex
Forex real-time cluster
wss
crypto
Crypto real-time cluster