Skip to content
JS
Alternatives

openapi-fetch alternatives

8 packages that do the same job as openapi-fetch: openapi-typescript-codegen, @scalar/openapi-parser, @mintlify/openapi-parser, @scalar/asyncapi-upgrader, openapi-client-axios, zod-openapi, @kubb/plugin-client, @hey-api/openapi-ts. Figures below are from npm, GitHub and Bundlephobia.

Data as of 25 Sept 2026
PackageWeekly downloads12-month changeGzipDependenciesLast releaseModuleTypesRuntimes
openapi-fetch
This package
6.6m+383%-17 months agoESM + CommonJSBundled-
openapi-typescript-codegen346k+54%-53 months agoCommonJSBundled-
@scalar/openapi-parser2m+1620%-7todayESM onlyBundled-
@mintlify/openapi-parser213.8k--611 months agoESM onlyBundled-
@scalar/asyncapi-upgrader487.7k--1todayESM onlyBundled-
openapi-client-axios184.2k+159%-37 months agoCommonJSBundled-
zod-openapi994k+287%-024 days agoESM + CommonJSBundled-
@kubb/plugin-client72.5k--71 month agoESM + CommonJSBundled-
@hey-api/openapi-ts3.4m+473%-103 months agoESM onlyBundled-

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package (Bundlephobia). Runtimes are taken from each package's own documentation; "-" means not recorded.

Library that generates Typescript clients based on the OpenAPI specification.

Compared with openapi-fetch

  • 19x fewer weekly downloads (346k vs 6.6m)
  • 5 dependencies vs 1
  • CommonJS vs ESM + CommonJS
  • Last release 20 Jun 2026 vs 11 Feb 2026
  • 2.5x fewer GitHub stars (3.4k vs 8.4k)

modern OpenAPI parser written in TypeScript

Compared with openapi-fetch

  • 3.3x fewer weekly downloads (2m vs 6.6m)
  • 7 dependencies vs 1
  • ESM only vs ESM + CommonJS
  • Declares Node.js >=22 vs none declared
  • Last release 24 Sept 2026 vs 11 Feb 2026
  • 1.9x more GitHub stars (16.2k vs 8.4k)

modern OpenAPI parser written in TypeScript

Compared with openapi-fetch

  • 31x fewer weekly downloads (213.8k vs 6.6m)
  • 6 dependencies vs 1
  • ESM only vs ESM + CommonJS
  • Declares Node.js >=18 vs none declared
  • Last release 25 Sept 2025 vs 11 Feb 2026
  • 1.9x more GitHub stars (16.2k vs 8.4k)

Upgrade AsyncAPI documents to the latest and greatest version

Compared with openapi-fetch

  • 13x fewer weekly downloads (487.7k vs 6.6m)
  • ESM only vs ESM + CommonJS
  • Declares Node.js >=22 vs none declared
  • Last release 24 Sept 2026 vs 11 Feb 2026
  • 1.9x more GitHub stars (16.2k vs 8.4k)

JavaScript client library for consuming OpenAPI-enabled APIs with axios. Types included.

Compared with openapi-fetch

  • 36x fewer weekly downloads (184.2k vs 6.6m)
  • 3 dependencies vs 1
  • CommonJS vs ESM + CommonJS
  • Last release 22 Feb 2026 vs 11 Feb 2026
  • 14x fewer GitHub stars (616 vs 8.4k)

Convert Zod Schemas to OpenAPI v3.x documentation

Compared with openapi-fetch

  • 6.6x fewer weekly downloads (994k vs 6.6m)
  • 0 dependencies vs 1
  • Declares Node.js >=22.14.0 vs none declared
  • Last release 31 Aug 2026 vs 11 Feb 2026
  • 13x fewer GitHub stars (646 vs 8.4k)

API client generator plugin for Kubb, creating type-safe HTTP clients (Axios, Fetch) from OpenAPI specifications for making API requests.

Compared with openapi-fetch

  • 91x fewer weekly downloads (72.5k vs 6.6m)
  • 7 dependencies vs 1
  • Declares Node.js >=20 vs none declared
  • Last release 4 Aug 2026 vs 11 Feb 2026
  • 4.6x fewer GitHub stars (1.8k vs 8.4k)

🌀 OpenAPI to TypeScript code generator. Production-grade SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Used by Vercel, OpenCode, and PayPal.

Compared with openapi-fetch

  • 1.9x fewer weekly downloads (3.4m vs 6.6m)
  • 10 dependencies vs 1
  • ESM only vs ESM + CommonJS
  • Declares Node.js >=22.18.0 vs none declared
  • Last release 22 Jun 2026 vs 11 Feb 2026
  • 1.5x fewer GitHub stars (5.4k vs 8.4k)
Sources: npm registry, npm downloads API, GitHub API, Bundlephobia. Data fetched 25 Sept 2026.

Indexability: Indexed.