# WebSocket

**Canonical:** https://apis.io/apis/realtime/websocket/  
**Provider:** Realtime — https://apis.io/providers/realtime/  
**Base URL:** wss://  
**Documentation:** https://datatracker.ietf.org/doc/html/rfc6455

WebSocket is one of 26 APIs that [Realtime](https://apis.io/providers/realtime/) publishes on the [APIs.io](https://apis.io/) network. Tagged areas include WebSocket, Protocol, Bidirectional, and Standard. The published artifact set on APIs.io includes API documentation.

A full-duplex communication protocol over a single TCP connection, standardized by the IETF as RFC 6455 and defined in the WHATWG WebSocket API on the client side. WebSocket is the most widely deployed realtime protocol on the web — used for chat, multiplayer, live dashboards, collaboration, and as the carrier for higher-level realtime SDKs from Ably, Pusher, PubNub, Phoenix Channels, Socket.IO, and others.

## Machine-readable artifacts (4)

- **Specification** — https://datatracker.ietf.org/doc/html/rfc6455
- **Documentation** — https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API
- **ClientAPI** — https://websockets.spec.whatwg.org/
- **APIsJSON** — https://raw.githubusercontent.com/api-evangelist/realtime/refs/heads/main/apis.yml

## Other Realtime APIs (12)

- [Server-Sent Events (SSE)](https://apis.io/apis/realtime/server-sent-events/)
- [WebRTC](https://apis.io/apis/realtime/webrtc/)
- [MQTT](https://apis.io/apis/realtime/mqtt/)
- [CoAP](https://apis.io/apis/realtime/coap/)
- [gRPC Streaming](https://apis.io/apis/realtime/grpc-streaming/)
- [GraphQL Subscriptions](https://apis.io/apis/realtime/graphql-subscriptions/)
- [WebTransport](https://apis.io/apis/realtime/webtransport/)
- [Ably](https://apis.io/apis/realtime/ably/)
- [PubNub](https://apis.io/apis/realtime/pubnub/)
- [Pusher](https://apis.io/apis/realtime/pusher/)
- [LiveKit](https://apis.io/apis/realtime/livekit/)
- [Daily](https://apis.io/apis/realtime/daily/)

## Tags

WebSocket, Protocol, Bidirectional, Standard

---

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