[Runtime
](../../index.md)[Package Manager
](../../pm/cli/install/index.md)[Bundler
](../../bundler/index.md)[Test Runner
](../../test/index.md)[Guides
](../../guides/index.md)[Reference
](https://bun.com/reference)[Blog
](https://bun.com/blog)[Feedback
](../../feedback/index.md)
Some Web APIs aren’t relevant in the context of a server-first runtime like Bun, such as the DOM API or History API. Many others, though, are broadly useful outside of the browser context; when possible, Bun implements these Web-standard APIs instead of introducing new APIs. The following Web APIs are partially or completely supported.
Category
APIs
HTTP
fetch, Response, Request, Headers, AbortController, AbortSignal
URLs
Web Workers
Worker, self.postMessage, structuredClone, MessagePort, MessageChannel, BroadcastChannel
Streams
ReadableStream, WritableStream, TransformStream, ByteLengthQueuingStrategy, CountQueuingStrategy and associated classes
Blob
WebSockets
Encoding and decoding
atob, btoa, TextEncoder, TextDecoder
JSON
Timeouts
Intervals
Crypto
crypto, SubtleCrypto, CryptoKey
Debugging
Microtasks
Errors
User interaction
alert, confirm, prompt (intended for interactive CLIs)
Realms
Events
EventTarget, Event, ErrorEvent, CloseEvent, MessageEvent
Was this page helpful?
[
Bun APIs
Previous
](../bun-apis/index.md)[
Node.js Compatibility
Next
](../nodejs-compat/index.md)