api: YAML JSON TOON Database
version: 1.0.0
format: yaml
dataset:
  id: 2928
  slug: web-api-standards
  title: Web API Standards Reference
  description: "Modern web API standards: Fetch API, WebSockets, WebRTC, Web Workers, Service Workers, and WebAssembly with specs and use cases."
  summary: "Web platform API standards with the specification that defines each and a short description: Fetch, WebSockets, WebRTC, Web Workers, Service Workers and WebAssembly, extended with WebAuthn, WebTransport, Server-Sent Events, Streams, IndexedDB, Web Components, WebGPU and the Push API."
  use_when:
    - You need to know which standard defines a web capability and who maintains it.
    - You are comparing real-time communication options.
  caveats:
    - Specifications and implementations evolve independently; a standard may be only partly implemented.
    - "Maintainers differ: WHATWG, W3C and the IETF each own different parts of the platform."
  related:
    - browser-web-apis-reference
    - http-protocol-evolution
    - http-cors-guide
    - authentication-factors
  entry_count: 14
  fields:
    - section: standards
      field: name
      type: string
      example: Fetch API
    - section: standards
      field: spec
      type: string
      example: WHATWG
    - section: standards
      field: description
      type: string
      example: Modern interface for network requests, replacin…
  category: Web Technologies
  category_slug: web-technologies
  tags: web,api,standards,reference
  view_count: 46
  created_at: 1777673262
  updated_at: 1777673262
data:
  standards:
    - name: Fetch API
      spec: WHATWG
      description: Modern interface for network requests, replacing XMLHttpRequest
    - name: WebSockets
      spec: RFC 6455
      description: Full-duplex communication over single TCP connection
    - name: WebRTC
      spec: W3C / IETF
      description: Real-time peer-to-peer audio, video, and data communication
    - name: Web Workers
      spec: WHATWG
      description: Background JavaScript execution in separate threads
    - name: Service Workers
      spec: W3C
      description: Proxy scripts for caching, push notifications, offline support
    - name: WebAssembly
      spec: W3C
      description: Binary instruction format for stack-based virtual machine
    - name: WebAuthn
      spec: W3C
      description: Public-key credential API for passkeys and phishing-resistant authentication
    - name: WebTransport
      spec: W3C and IETF
      description: Low-latency bidirectional streams and datagrams over HTTP/3
    - name: Server-Sent Events
      spec: WHATWG HTML
      description: One-way server-to-client event stream over HTTP
    - name: Streams API
      spec: WHATWG
      description: Process data incrementally as readable, writable and transform streams
    - name: IndexedDB
      spec: W3C
      description: Transactional client-side database for structured data and blobs
    - name: Web Components
      spec: WHATWG and W3C
      description: Custom elements, shadow DOM and templates for reusable encapsulated components
    - name: WebGPU
      spec: W3C
      description: Modern API for GPU graphics and general-purpose computation in the browser
    - name: Push API
      spec: W3C
      description: Lets a service worker receive messages from a server even when the page is closed
