English
English
Appearance
English
English
Appearance
The bridge between the traditional web and the IPFS network.

| Feature | Public gateway | Dedicated gateway |
|---|---|---|
| URL | ipfs.ninja/ipfs/... | <slug>.gw.ipfs.ninja/ipfs/... |
| Serves | Any CID from the network | Only your pinned CIDs |
| Authentication | None | Optional (token, IP whitelist) |
| Plan | All plans | Paid plans only (Bodhi/Karma/Nirvana) |
An IPFS gateway is an HTTP server that translates standard web requests into IPFS protocol requests. It lets browsers, apps, and scripts access IPFS content without running an IPFS node — just use a regular URL.
https://ipfs.ninja/ipfs/<CID>When you request this URL, the gateway fetches the content from the IPFS network (or its cache), and returns it as a standard HTTP response.
ipfs.ninja/ipfs/QmXk7...By default, browsers block JavaScript running on one origin from reading the response of a request made to a different origin — a security mechanism called the same-origin policy. CORS (Cross-Origin Resource Sharing) is how a server opts back in: response headers that tell the browser "it's safe for this origin to read my response."
The shared apex gateway (ipfs.ninja/ipfs/<CID>) sends CORS headers on every response, so browser code on any website can fetch() a gateway URL, or load it into an <img>/<canvas>, without the browser blocking access to the bytes. This matters for anything that reads pixel data or response bytes in JS — a canvas-based image editor pulling in IPFS-hosted artwork, for example — since without CORS headers the browser "taints" the canvas and refuses toDataURL()/getImageData() calls.
See API Reference → Gateways → Cross-origin reads (CORS) for the exact response headers and request examples.
Since IPFS is a public network, your files are accessible through any IPFS gateway — not just ours. Popular public gateways include:
dweb.link/ipfs/<CID> — Protocol Labsw3s.link/ipfs/<CID> — Storacha (Web3.Storage)ipfs.io/ipfs/<CID> — Protocol Labs (legacy, sometimes rate-limited)See also IPFS Pinning and the Upload API reference.