# Polygon WebSocket API

**Canonical:** https://apis.io/apis/polygon/websocket-api/  
**Provider:** Polygon — https://apis.io/providers/polygon/  
**Base URL:** wss://socket.polygon.io  
**Documentation:** https://polygon.io/docs/stocks/ws_getting-started

Polygon WebSocket API is one of 12 APIs that [Polygon](https://apis.io/providers/polygon/) publishes on the [APIs.io](https://apis.io/) network, described by an AsyncAPI event-driven specification. This API exposes 2 JSON Schema definitions. Tagged areas include WebSocket, Streaming, and Real-Time. The published artifact set on APIs.io includes API documentation, an AsyncAPI specification, and 2 JSON Schemas.

Real-time streaming WebSocket clusters per asset class (stocks/options/indices/forex/crypto). Subscribers authenticate with an API key and subscribe to channels for trades, quotes, aggregates, and book updates.

## Machine-readable artifacts (18)

- **Documentation** — https://polygon.io/docs/stocks/ws_getting-started
- **AsyncAPI** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/asyncapi/polygon-websocket-asyncapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/json-schema/polygon-trade-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/json-schema/polygon-quote-schema.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/examples/polygon-websocket-subscribe-example.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/apis.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-corporate-actions-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-crypto-daily-comparison-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-crypto-pair-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-forex-pair-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-grouped-market-scan-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-index-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-market-gated-stock-daily-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-options-chain-scan-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-options-contract-deep-dive-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-stock-research-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-ticker-discovery-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/polygon/refs/heads/main/arazzo/polygon-ticker-news-context-workflow.yml

## Other Polygon APIs (11)

- [Polygon Aggregates API](https://apis.io/apis/polygon/polygon-aggregates-api/)
- [Polygon Books API](https://apis.io/apis/polygon/polygon-books-api/)
- [Polygon Contracts API](https://apis.io/apis/polygon/polygon-contracts-api/)
- [Polygon Conversion API](https://apis.io/apis/polygon/polygon-conversion-api/)
- [Polygon CorporateActions API](https://apis.io/apis/polygon/polygon-corporateactions-api/)
- [Polygon DailyBars API](https://apis.io/apis/polygon/polygon-dailybars-api/)
- [Polygon Markets API](https://apis.io/apis/polygon/polygon-markets-api/)
- [Polygon News API](https://apis.io/apis/polygon/polygon-news-api/)
- [Polygon Quotes API](https://apis.io/apis/polygon/polygon-quotes-api/)
- [Polygon Snapshots API](https://apis.io/apis/polygon/polygon-snapshots-api/)
- [Polygon Tickers API](https://apis.io/apis/polygon/polygon-tickers-api/)

## Tags

WebSocket, Streaming, Real-Time

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/polygon/websocket-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/polygon/.
