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.
| Package | Weekly downloads | 12-month change | Gzip | Dependencies | Last release | Module | Types | Runtimes |
|---|---|---|---|---|---|---|---|---|
| openapi-fetch This package | 6.6m | +383% | - | 1 | 7 months ago | ESM + CommonJS | Bundled | - |
| openapi-typescript-codegen | 346k | +54% | - | 5 | 3 months ago | CommonJS | Bundled | - |
| @scalar/openapi-parser | 2m | +1620% | - | 7 | today | ESM only | Bundled | - |
| @mintlify/openapi-parser | 213.8k | - | - | 6 | 11 months ago | ESM only | Bundled | - |
| @scalar/asyncapi-upgrader | 487.7k | - | - | 1 | today | ESM only | Bundled | - |
| openapi-client-axios | 184.2k | +159% | - | 3 | 7 months ago | CommonJS | Bundled | - |
| zod-openapi | 994k | +287% | - | 0 | 24 days ago | ESM + CommonJS | Bundled | - |
| @kubb/plugin-client | 72.5k | - | - | 7 | 1 month ago | ESM + CommonJS | Bundled | - |
| @hey-api/openapi-ts | 3.4m | +473% | - | 10 | 3 months ago | ESM only | Bundled | - |
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)
Indexability: Indexed.