Skip to content
Agents tracked: 501 Releases (7d): 777 Agent status: no reported issuesSince last limit reset: Claude 10d · Codex 8d For AI agents: Markdown Updated Nov 21, 2026

ofetch

A better fetch for Node.js, browsers and workers, with retries and JSON parsing.

HTTP clients and networkingNPM

GitHubWebsite

1. License

License from npm.

github.com/unjs/ofetch

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What ofetch does

A better fetch for Node.js, browsers and workers, with retries and JSON parsing.

ofetch popularity

54 / 100
Gid Score, #1463 overall
27.3M
downloads a week, npm
5,368
GitHub stars
11
agent projects use it
ofetch: downloads per weeknpm, ofetch 27,318,852
ofetch: GitHub starsunjs/ofetch 5,368

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How ofetch is used

  • ofetch joined the catalog on its public numbers (27,318,852 downloads a week on npm and 5,368 GitHub stars), not on our project count: it is a dependency in 14 public GitHub projects of our scan, 11 of them set up for AI coding agents.
  • The most used alternative in our scan is Axios (471 projects).
  • Projects that use it most often also use Vitest (92.9%), Vite (78.6%), Zod (85.7%).

By coding agent

7 projects, 0.3%
5 projects, 0.2%

Often used with

In 92.9% of its projects
In 78.6% of its projects
In 85.7% of its projects
In 57.1% of its projects
In 57.1% of its projects
In 50.0% of its projects
In 100.0% of its projects

More about ofetch

More in HTTP clients and networking

Alternatives

ofetch This page

MITGid 5427.3M/wk

Axios

Promise-based HTTP client for browser and Node.js with interceptors.

MITGid 89144M/wk

node-fetch

Bring the Fetch API to Node.js for making HTTP requests.

MITGid 7428M/wk

Compare ofetch with another tool

Get started

Install it.

npm install ofetch

No step-by-step start for ofetch yet: we have not written its hand-checked card.