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.

29.3/100 thin ▬ flat Agent 22/100 agent aware Full breakdown ↓
scored 2026-07-28 · rubric v0.6
0 APIs
Full DuplexNetworkingReal-Time CommunicationRFC 6455Web Technology

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-07-28 · rubric v0.6
Composite quality — 29.3/100 · thin
Contract Quality 16.1 / 25
Developer Ergonomics 0.0 / 20
Commercial Clarity 0.0 / 20
Operational Transparency 0.7 / 13
Governance 7.5 / 12
Discoverability 5.0 / 10
Agent readiness — 22/100 · agent aware
Machine-Readable Contract 18 / 18
Agentic Access Contract 0 / 10
MCP Server 0 / 12
Machine-Readable Auth 0 / 10
Idempotency 0 / 9
Stable Error Semantics 0 / 8
Request/Response Examples 0 / 7
Rate-Limit Signaling 0 / 7
Typed Event Surface 6 / 6
Agent Skills 0 / 5
Well-Known Catalog 0 / 4
Consent & Bot Identity 0 / 3
A2A Agent Card 0 / 8
Dry-Run / Simulate Mode 0 / 4
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. This rating is computed from github.com/api-evangelist/websockets: open an issue to ask a question, or submit a pull request to add artifacts. Want it done for you? Prioritized profiling — $2,500 →

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 API Rules

4 rules · 4 warnings

SPECTRAL

WebSockets API 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
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source: []
  generated: '2026-07-22'
  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
url: https://raw.githubusercontent.com/api-evangelist/websockets/refs/heads/main/apis.yml
created: '2025-01-01'
modified: '2026-05-03'
specificationVersion: '0.19'
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