How the web works · API

Browser APIs

The built-in features browsers offer web pages through JavaScript, such as fetching data, storing it, sending notifications, using the camera or finding the device's location.

In the browser · Free · updated

How it works

Beyond the DOM, browsers expose dozens of APIs: fetch for network requests, Web Storage and IndexedDB for keeping data, Canvas and WebGL for drawing, Web Audio, WebRTC for calls, Geolocation, Clipboard, Notifications and Push, Web Share, and service workers for offline support. Together they let a web app do much of what once needed a native app.

Powerful features ask the user first (camera, microphone, location, notifications) and work only on HTTPS pages. Support varies between browsers and versions, so MDN and caniuse.com are the usual places to check before relying on one, along with a fallback for browsers that lack it.

Browser APIs pricing

Free

Free; part of the browser.

Approximate, checked September 2026.What the other tools cost

More in How the web works

In the browser

All 20 How the web works terms

Crafted in the dark. Shipped to the world.

Tell us what you are building. You get a private project space with a proposal and a line-by-line quote within a day.