# Polygon WebSocket API

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

Polygon WebSocket API is one of 70 APIs that [Massive (formerly Polygon.io)](https://apis.io/providers/massive-com/) 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/massive-com/refs/heads/main/asyncapi/polygon-websocket-asyncapi.yml
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/json-schema/polygon-trade-schema.json
- **JSONSchema** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/json-schema/polygon-quote-schema.json
- **Examples** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/examples/polygon-websocket-subscribe-example.json
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/apis.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-corporate-actions-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-crypto-daily-comparison-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-crypto-pair-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-forex-pair-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-grouped-market-scan-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-index-analysis-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-market-gated-stock-daily-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-options-chain-scan-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-options-contract-deep-dive-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-stock-research-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-ticker-discovery-workflow.yml
- **Arazzo** — https://raw.githubusercontent.com/api-evangelist/massive-com/refs/heads/main/arazzo/polygon-ticker-news-context-workflow.yml

## Other Massive (formerly Polygon.io) APIs (12)

- [Polygon.io Stocks API](https://apis.io/apis/massive-com/polygonio-stocks-api/)
- [Polygon.io Options API](https://apis.io/apis/massive-com/polygonio-options-api/)
- [Polygon.io Indices API](https://apis.io/apis/massive-com/polygonio-indices-api/)
- [Polygon.io Forex API](https://apis.io/apis/massive-com/polygonio-forex-api/)
- [Polygon.io Crypto API](https://apis.io/apis/massive-com/polygonio-crypto-api/)
- [Polygon.io Futures API](https://apis.io/apis/massive-com/polygonio-futures-api/)
- [Massive (formerly Polygon.io) Benzinga API](https://apis.io/apis/massive-com/massive-com-benzinga-api/)
- [Massive (formerly Polygon.io) Crypto:aggregates API](https://apis.io/apis/massive-com/massive-com-crypto-aggregates-api/)
- [Massive (formerly Polygon.io) Crypto:last:trade API](https://apis.io/apis/massive-com/massive-com-crypto-last-trade-api/)
- [Massive (formerly Polygon.io) Crypto:open Close API](https://apis.io/apis/massive-com/massive-com-crypto-open-close-api/)
- [Massive (formerly Polygon.io) Crypto:snapshot API](https://apis.io/apis/massive-com/massive-com-crypto-snapshot-api/)
- [Massive (formerly Polygon.io) Crypto:trades API](https://apis.io/apis/massive-com/massive-com-crypto-trades-api/)

## Tags

WebSocket, Streaming, Real-Time

---

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