WebSockets website screenshot

WebSockets

WebSockets is a communication protocol providing full-duplex communication channels over a single TCP connection, enabling real-time data exchange between client and server. Standardized by RFC 6455 and the WHATWG Living Standard, it is fundamental to modern web architecture and enables reliable bidirectional communication between systems.

WebSockets is profiled on the APIs.io network. Tagged areas include Full Duplex, Networking, Real-Time Communication, RFC 6455, and Web Technology.

The WebSockets catalog on APIs.io includes 1 event-driven AsyncAPI specification, 1 JSON-LD context, and 2 Spectral governance rulesets.

0 APIs
Full DuplexNetworkingReal-Time CommunicationRFC 6455Web TechnologyReal-Time

Event Specifications 1

AsyncAPI definitions for this provider's event-driven and streaming APIs.

WebSocket Communication API

AsyncAPI specification describing WebSocket communication patterns as defined by RFC 6455. WebSockets provide full-duplex communication channels over a single TCP connection, en...

ASYNCAPI

Semantic Vocabularies 1

JSON-LD contexts and semantic vocabularies used across these APIs.

Websockets Context

0 classes · 18 properties

JSON-LD

Spectral Rules 2

Spectral governance rulesets for linting and validating these APIs.

WebSockets — asyncapi rules

4 rules · 4 warnings

SPECTRAL

WebSockets — jsonschema rules

5 rules · 3 warnings 2 info

SPECTRAL

JSON Schema 5

Standalone JSON Schema definitions for this provider's data models.

WebSocket Close Status Code

2 properties

JSON SCHEMA

WebSocket Frame

10 properties

JSON SCHEMA

WebSocket Handshake Request

4 properties

JSON SCHEMA

WebSocket Handshake Response

3 properties

JSON SCHEMA

WebSocket Message

6 properties

JSON SCHEMA

JSON Structure 1

JSON Structure definitions describing this provider's data shapes.

Websocket Message Structure

0 properties

JSON STRUCTURE

Examples 2

Example request and response payloads for these APIs.

Websocket Close Example

5 fields

EXAMPLE

Resources

Documentation 8

Reference material describing how the API behaves

Scroll for all 8

Design & Contract 3

Pagination, idempotency, versioning, errors, and events

Build 1

SDKs, sample code, and the tooling you integrate with

Other 1

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: websockets
name: WebSockets
description: WebSockets is a communication protocol providing full-duplex communication channels over a single TCP connection,
  enabling real-time data exchange between client and server. Standardized by RFC 6455 and the WHATWG Living Standard, it
  is fundamental to modern web architecture and enables reliable bidirectional communication between systems.
type: Index
deliveryModel:
  model: unknown
  open_source: false
  commercial: false
  callable_host: false
  label: Delivery model not determined — needs a product licence on record
  confidence: low
  source:
  - none
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-11-06'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/websockets.png
tags:
- Full Duplex
- Networking
- Real-Time Communication
- RFC 6455
- Web Technology
- Real-Time
url: https://raw.githubusercontent.com/api-evangelist/websockets/refs/heads/main/apis.yml
created: '2025-01-01'
modified: '2026-05-03'
specificationVersion: '0.23'
apis: []
common:
- type: GitHubOrganization
  url: https://github.com/websockets
- type: AsyncAPI
  url: asyncapi/websockets.yml
- type: JSONSchema
  url: json-schema/websocket-handshake-request.json
- type: JSONSchema
  url: json-schema/websocket-handshake-response.json
- type: JSONSchema
  url: json-schema/websocket-frame.json
- type: JSONSchema
  url: json-schema/websocket-message.json
- type: JSONSchema
  url: json-schema/websocket-close-code.json
- type: JSONStructure
  url: json-structure/websocket-message-structure.json
- type: JSONLD
  url: json-ld/websockets-context.jsonld
- type: Vocabulary
  url: vocabulary/websockets-vocabulary.yml
- type: Specification
  url: https://www.rfc-editor.org/rfc/rfc6455
- type: Living Standard
  url: https://websockets.spec.whatwg.org/
- type: MDN Documentation
  url: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com
x-type: standard

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/websockets"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/websockets/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/websockets/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.