Elestia Open Source Ratings
3.4

openapi-fetch

Keep, but not for new work. 8th of 10 HTTP clients.

openapi-fetch is a small fetch wrapper. Its requests and responses are typed from the types that openapi-typescript generates from an OpenAPI spec. It works well, but its maintainers put it into maintenance mode in December 2025, and in September 2026 the whole repository stopped getting updates, security patches included. Keep it where it already runs, but pick another tool for new work.

Best for: Existing projects that already use it with a stable OpenAPI spec and can pin or vendor the code; new projects should look at Hey API, Orval or a small self-managed wrapper.

WebsiteGitHubnpm

Scores

Overall3.4

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 3.0, likely 2.0 to 4.0

It is a good small tool, but its maintainers have stopped working on it and tell users to migrate. Durability weighs most, so it fits the 'keep where it runs, pick something else for new work' band. For typed OpenAPI calls, Hey API or Orval, or Ky or plain fetch with your own wrapper, are safer starts.

GPT-6.2 Sol: 3.8, likely 2.8 to 4.9

The typed fetch API remains useful in existing projects with a reliable schema and passing type checks. The end of upstream fixes and the reported regressions in 0.17.0 make it hard to recommend for new work. Ky is the stronger general-purpose fetch client, and Hey API offers a maintained route for teams that need an OpenAPI-generated client.

Needed by many4.2

How many developers need a tool for this job?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

Many developers send HTTP requests, but this tool only helps when the API has an OpenAPI spec and the team generates types from it. That is a sizeable group of TypeScript teams calling REST backends, but a clear subset of the category.

GPT-6.2 Sol: 4.4, likely 3.3 to 5.6

Sending HTTP requests is common, and the client works across frameworks and runtimes. Its main benefit applies to TypeScript teams with a usable OpenAPI schema and a way to keep the generated types current. Surveys show broad REST use but give little indication of how many JavaScript and TypeScript projects meet those conditions.

Helps a lot6.7

How well does it do the job for those who need it?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

For its job it is good: inference over paths, params and typed data and error results, with almost no runtime. It has no retries, hooks or validation. It will get no further fixes, for example for TypeScript 7, so its limits will now stay.

GPT-6.2 Sol: 7.4, likely 6.3 to 8.6

Version 0.17.0 gives callers and coding agents a small, documented API and compiler feedback on paths, inputs, and response types. Middleware and custom fetch cover common extensions, while runtime validation and retries require extra code. Users reported type regressions in 0.17.0, so the experience depends partly on the schema.

Holds up over time1.5

Will it still be a good choice in two years?

Claude Opus 5.5: 1.5, likely 0.5 to 3.0

The 2026 roadmap put openapi-fetch into maintenance mode, and issue #2874 (September 2026) says the whole repository gets no more updates, including security patches. The project will not be handed to new maintainers, and OpenCollective funding was cancelled. Users are already moving to Hey API and openapi-typesafe.

GPT-6.2 Sol: 1.5, likely 0.7 to 2.3

The roadmap put openapi-fetch into maintenance mode, and the September 2026 announcement ended updates across the upstream project without a maintainer handoff. The client last shipped in February 2026, and users have reported regressions in that release. Its reliance on standard fetch helps existing code keep working, but future fixes depend on a fork or a migration.

Used widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Downloads grew about 10.5 times in a year, well above the median of 4.1. But 67M per four weeks next to only 105 dependent repositories points to heavy installs through other packages and build servers. Since the maintenance-mode notice, the number of new projects choosing it is likely to fall.

  • npm downloadsLast4Weeks: 67.6M, against 6.5M a year earlier
  • dependents: 105 repositories and 24 packages, far below peers such as Ky (11,957)
  • github stars: 8.4k stars, shared with openapi-typescript

GPT-6.2 Sol: 4.5, likely 2.9 to 6.1

Four-week downloads reached 67.6 million, up 10.5 times year over year against the catalog median of 4.1 times. ecosyste.ms found 105 dependent repositories, fewer than Wretch or Ky, while npm lists about 1,400 dependent packages. SDK installs and the shared repository’s stars make direct use hard to estimate, and the figures cannot show how many teams still choose it after the announcement.

  • evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: Install growth substantially exceeds the catalog median
  • evidence.dependents, peers: Indexed repository use trails the smaller Wretch and Ky peers
  • project.note, evidence.github.stars, evidence.bluesky.posts: Stars and seven Bluesky links cover the shared repository
  • npmjs.com/package/openapi-fetch: npm lists about 1,400 dependent packages
  • github.com/e2b-dev/E2B/blob/main/packages/js-sdk/src/api/index.ts: Downstream SDK installs can bring in the client indirectly
Vouched for5.2

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 3.0 to 6.0

Independent guides praise the pairing with openapi-typescript, and the TanStack Query ecosystem mentions it. But its own maintainers now tell users to migrate, and the community points to other tools. The endorsements are dated.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.7

The E2B and Unsplash JavaScript SDKs use openapi-fetch, and an Argos API client also builds on it. An independent comparison found the workflow reasonable for existing users and chose Hey API for its own SDK needs. These examples show real use, but project-specific satisfaction and independent runtime performance evidence are sparse.

Safe5.3

How safe is it to depend on?

Claude Opus 5.5: 5.0, likely 4.0 to 7.0

The attack surface is tiny: one dependency, no advisories and an MIT licence. Stopping releases also removes the risk of a compromised release. But the maintainers have said no security patches will come, and there is no Scorecard data, so any future flaw stays open.

GPT-6.2 Sol: 5.5, likely 4.1 to 6.9

The MIT-licensed client has one direct dependency and no recorded OSV advisories. The release workflow uses GitHub Actions and is configured for OIDC publishing. Upstream has ended security patches, and the lack of an OpenSSF score or a verified count of people with publishing access widens the range.

Good

  • A very thin runtime of about 6 kB with one dependency, built on native fetch.
  • It checks paths, params, bodies, and success and error responses against the OpenAPI types, with no generated SDK code.
  • It works with any framework and is easy to pair with TanStack Query.
  • It has no known security advisories and an MIT licence.

Bad

  • The maintainers put it into maintenance mode, and the repository says no more updates or security patches will come.
  • The maintainers recommend no replacement; they suggest keeping your own local copy.
  • It only fits APIs that have an OpenAPI spec, plus a separate step that generates types.
  • It has no retries, hooks, mocks or schema validation; you build those yourself.

The numbers

npm downloads, 4 weeks
68M ×10 in a year
GitHub stars
8.4k
Commits, 12 months
183
npm version
0.17.0 Feb 2026
Versions, 12 months
3
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
None
Licence
MIT

The repository also holds openapi-typescript, so most of its stars are not for openapi-fetch.

Read on 21 November 2026 from GitHub (openapi-ts/openapi-typescript), npm (openapi-fetch), OSV and the OpenSSF Scorecard.

HTTP clients

  1. 8.3undici
  2. 7.8Ky
  3. 7.3Axios
  4. 7.2Got
  5. 6.2Wretch
  6. 6.2ofetch
  7. 5.2SuperAgent
  8. 3.4openapi-fetch
  9. 2.8node-fetch
  10. 1.3Request
Compare all 10 on six scores