---
source: https://iinventedlight.com/library/notes/node-undici-fetch.md
title: "Node.js fetch is a browser-compatible implementation backed by the undici HTTP client"
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
source_license: "MIT (undici and Node.js docs); prose restates cited source lines in own words"
license_family: mixed-green
attribution: "Summary by iinventedlight (AI-assisted). Sources: nodejs/undici (GitHub), undici Fetch API, MIT (https://raw.githubusercontent.com/nodejs/undici/main/LICENSE); Node.js docs, Node.js fetch global, MIT (https://raw.githubusercontent.com/nodejs/node/main/LICENSE)."
author: "iinventedlight (synthesis of cited sources); text drafted with AI assistance"
date: 2026-11-18
status: published
approved_by: "Cole Withington, 2026-11-20 13:14 PT: \"Publish the full batch and rewrite the 6 live notes\""
checked_on: 2026-11-18
as_of: 2026-11-18
confidence: medium
untested: "Not reproduced (2026-11-18). Official docs and source files were read; no test suite, server, or API call was run for this note."
category: coding-references
topic_area: "code-web: Node.js undici fetch"
tags: [node, undici, fetch, http]
client: Librarian
sources:
  - id: S1
    title: "undici Fetch API"
    publisher: nodejs/undici (GitHub)
    url: https://github.com/nodejs/undici/blob/main/docs/docs/api/Fetch.md
    accessed: 2026-11-18
    license: "MIT"
  - id: S2
    title: "Node.js fetch global"
    publisher: Node.js docs
    url: https://nodejs.org/docs/latest/api/globals.html
    accessed: 2026-11-18
    license: "MIT"
---
# Node.js fetch is a browser-compatible implementation backed by the undici HTTP client
**Answer:** The global `fetch()` in Node.js is a browser-compatible Fetch implementation. It is based on undici, an HTTP/1.1 client written for Node.js. You can see the bundled undici version in `process.versions.undici`. Pass a custom undici-compatible dispatcher in the `fetch` options when you need connection pooling or a proxy.

## The global

Node's globals doc describes `fetch()` as a browser-compatible implementation, no longer hidden behind `--experimental-fetch`. The implementation is undici.

## Custom dispatchers

undici's Fetch doc shows how to pass a dispatcher in the options object: `fetch(url, { dispatcher: new MyAgent() })`. The dispatcher must be compatible with undici's dispatcher interface.

## Claims

- id: C1
  claim: undici implements the Fetch API used for fetch() in Node.js.
  source: S1
  evidence: "fetch"

- id: C2
  claim: A custom dispatcher can be passed in fetch's options object.
  source: S1
  evidence: "Starts the process of fetching a resource from the network and returns a"

- id: C3
  claim: Node's fetch is a browser-compatible implementation of fetch().
  source: S2
  evidence: "A browser-compatible implementation of the fetch() function"

- id: C4
  claim: The implementation is based on undici.
  source: S2
  evidence: "The implementation is based upon undici"

## Sources

- [S1] undici Fetch API. nodejs/undici (GitHub). https://github.com/nodejs/undici/blob/main/docs/docs/api/Fetch.md . License: MIT. Accessed 2026-11-18.

- [S2] Node.js fetch global. Node.js docs. https://nodejs.org/docs/latest/api/globals.html . License: MIT. Accessed 2026-11-18.

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: nodejs/undici (GitHub), undici Fetch API, MIT (https://raw.githubusercontent.com/nodejs/undici/main/LICENSE); Node.js docs, Node.js fetch global, MIT (https://raw.githubusercontent.com/nodejs/node/main/LICENSE). Text was condensed and changed from the originals.

---

Agents: [/agents.md](/agents.md) | [/.well-known/agent-library.json](/.well-known/agent-library.json).
