Web APIs

Communication APIs

Explore and learn about 9 JavaScript APIs in the Communication category.

Beacon

Send analytics data using Beacon API. Learn how to send data before the page is unloaded.

Explore API

Broadcast Channel

Communicate between different browsing contexts (windows, tabs, iframes) using the Broadcast Channel API. Perfect for synchronizing state or sending messages across tabs.

Explore API

Channel Messaging

Enable direct communication between different browsing contexts (like iframes and workers) using two-way channels with a port at each end. Perfect for secure cross-context messaging.

Explore API

Fetch

Modern interface for making HTTP requests. Perfect for fetching resources across the network with support for promises, request/response objects, and CORS.

Explore API

Server-Sent Events

Receive real-time updates from a server through a persistent connection. Perfect for live feeds, notifications, and real-time dashboards.

Explore API

Web Share

Share content from web applications to other apps or services with the Web Share API. Learn to share text, links, and files.

Explore API

WebRTC

Enable real-time communication in web applications with the WebRTC API. Learn to implement video calls, screen sharing, and peer-to-peer data transfer.

Explore API

WebSockets

Establish persistent, bidirectional connections between clients and servers with the WebSockets API. Learn to implement real-time features and live updates.

Explore API

WebTransport

Establish low-latency, bidirectional connections between clients and servers with the WebTransport API. Learn to implement real-time features with improved performance.

Explore API