Hey API
A strong pick. 4th of 9 OpenAPI tools.
Hey API (@hey-api/openapi-ts) turns OpenAPI specs into a typed TypeScript SDK, with plugins for TanStack Query, Zod, Valibot and more. It is growing faster than any peer in the bundle and does the job well. But it is still at 0.x and breaks code often. No stable release has shipped since June 2026, and that release crashes under TypeScript 7.
Best for: Teams that want generated SDK functions from operationIds, plus query and validator plugins, and that will pin versions and track releases.
Scores
Overall7.1
How strongly do we recommend it for a new project today?
Claude Opus 5.5: 6.5, likely 5.5 to 7.5
For SDK-style clients, it is the fastest-growing generator in the bundle and probably the best designed. But no stable release has shipped in five months, the stable version fails with TypeScript 7, and 0.x upgrades break code often. These problems put it below a clear 7–8 for now. openapi-typescript is the safer pick if you only need types, and Orval if you want a stable SDK with mocks.
- github.com/hey-api/hey-api/issues/4235: Release stall and TypeScript 7 crash in stable
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Independent pick for SDK generation
- npm downloads ratio: About 9.9x against a 4.1x median
GPT-6.2 Sol: 7.6, likely 6.4 to 8.6
Hey API is a strong pick for teams that want typed operation functions, configurable HTTP clients, and optional validation in one generator. Orval is a stronger fit when generated mocks matter, and openapi-typescript is simpler when the project only needs types. The stable release gap and TypeScript 7 workaround lower the recommendation for greenfield projects. Growing adoption and credible SDK users support the score, with future release cadence the main uncertainty.
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Hands-on comparison identifies the workflows each generator serves best.
- orval.dev: Orval documents client, validator, and mock generation.
- github.com/hey-api/hey-api/issues/4235: Stable TypeScript 7 limitation and user workarounds.
- github.com/vercel/v0-sdk: Vercel generates its v0 SDK with Hey API.
- npm latestPublishedAt, downloadsLast4Weeks, and downloadsSame4WeeksYearAgo: June stable release and nearly tenfold download growth.
Needed by many5.4
How many developers need a tool for this job?
Claude Opus 5.5: 5.0, likely 4.0 to 6.0
Many developers who call HTTP APIs from TypeScript can use a generated client. Hey API covers only the client and types side of the category, not docs or linting. That makes it a large group but not most developers.
- category.job: The category also covers docs, which Hey API does not do
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Positions Hey API as an SDK and client generator
GPT-6.2 Sol: 5.8, likely 4.5 to 7.0
Typed clients are useful across frontend and server projects that consume HTTP APIs with an OpenAPI contract. Hey API supports several frameworks and HTTP clients, and teams publishing interactive API docs still need a renderer. The surveys cover API and documentation professionals, so the share of all JavaScript and TypeScript developers who need this workflow is an estimate.
- postman.com/state-of-api/2026: Survey shows API-first work across organizations.
- idratherbewriting.com/learnapidoc/docapis_trends.html: Documentation survey reports OpenAPI use and separate rendering tools.
- heyapi.dev/docs/openapi/typescript/get-started: Code generation scope and supported HTTP clients.
Helps a lot7.5
How well does it do the job for those who need it?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has a rich plugin system, clean SDK output, interceptors and a result-style error model. An independent comparison picked it over openapi-typescript, Orval and Kubb. Against that, it generates code several times slower than openapi-typescript, has some schema edge cases, and the stable release crashes under TypeScript 7.
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Author chose Hey API: 8.0 s vs 1.5 s for openapi-typescript, 16 files vs 2,719 for Orval
- github.com/hey-api/hey-api/issues/4235: 0.99.0 crashes with TypeScript 7; the fix is only on the @next tag
- github.com/hey-api/hey-api/issues/4507: TypeScript 7.1 declaration build issues are still open
GPT-6.2 Sol: 8.0, likely 6.8 to 9.0
Version 0.99.0 offers well-typed operation functions, interceptors, and optional runtime validation. A hands-on comparison favored its compact SDK and error handling, with generation speed varying by tool and configuration. Users report a TypeScript 7 startup failure and a Fetch header-merging bug, and tests by Kubb's maintainers found gaps in OpenAPI 3.2 support. Typed configuration and readable docs help coding agents get started, though their accuracy has little direct evidence.
- github.com/hey-api/hey-api/releases/tag/2026-06-22: Features and behavior shipped in 0.99.0.
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Independent comparison using a roughly 1,200-operation spec and Hey API 0.96.1.
- github.com/hey-api/hey-api/issues/4235: Users confirm the stable generator fails with TypeScript 7 and report workarounds.
- github.com/hey-api/hey-api/issues/4478: User reports dropped Fetch headers in generated 0.99.0 clients.
- kubb.dev/docs/5.x/introduction/comparison: A peer maintainer's comparison tests OpenAPI 3.2 features on 0.99.0.
- heyapi.dev/llms.txt: Concise and full documentation are available as plain text.
Holds up over time5.5
Will it still be a good choice in two years?
Claude Opus 5.5: 5.0, likely 3.5 to 7.0
It had 2,430 commits and 69 releases last year, from 208 contributors. Yet no stable release has shipped since June 22, 2026, while TypeScript 7 users wait for a fix. In October, PRs were locked and users asked about the project's status. It remains 0.x with frequent breaking changes, and releases depend mostly on one lead maintainer with modest sponsorship. The range is wide because the @next rewrite may ship soon, or may keep slipping.
- github commitsLastYear / releasesLastYear: 2,430 commits and 69 releases last year
- npm latestPublishedAt: Last stable release on 2026-06-22, five months ago
- github.com/hey-api/hey-api/issues/4235: Users asked about the release delay; a member said more core maintainers are needed
- github.com/hey-api/hey-api/releases: Breaking changes in 0.96, 0.97 (15), 0.98 and 0.99
- sponsors.ecosyste.ms/accounts/hey-api: Small sponsor base: 16 active sponsors
GPT-6.2 Sol: 6.0, likely 4.7 to 7.5
The repository recorded 2,430 commits over the past year and a push in November, but the TypeScript package's latest stable release is still June 22. Orval and Kubb both shipped in November, while Hey API users are still working around TypeScript 7 compatibility. The project reports one maintainer and funding from the maintainer and sponsors, and 0.99.0 documented four breaking changes. A working TypeScript 7 snapshot shows progress, with the timing of a stable release still unclear.
- github commitsLastYear and pushedAt: 2,430 repository commits over the year and a November 8 push.
- npm versionsLastYear and latestPublishedAt: 42 versions over the year and the latest stable release on June 22.
- peers latestPublishedAt: Orval and Kubb both published in November.
- heyapi.dev/sponsors: Project reports one maintainer and lists sponsors.
- github.com/orgs/hey-api/discussions/3159: Maintainer describes funding and the plugin roadmap.
- github.com/hey-api/hey-api/releases/tag/2026-06-22: Four breaking changes, including custom plugin API changes.
- github.com/hey-api/hey-api/issues/4235: Users report a working snapshot and stable-release workarounds.
Used widely7.0
How many use it, and is that growing?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has about 29.8M downloads in 4 weeks, up from 3.0M a year before. That ratio of about 9.9x is more than twice the 4.1x median and the best among the codegen peers. Some downloads come from SDKs that bundle it, and ecosyste.ms has no dependents count, so the number of projects that choose it directly is less certain.
- npm downloadsLast4Weeks: 29.8M, against 3.0M a year before
- peers downloads: openapi-typescript grew about 9x, Orval about 7.4x
- github stars: 5,598 stars, below openapi-typescript and Orval
- dependents: null: ecosyste.ms has no count
GPT-6.2 Sol: 6.9, likely 5.0 to 8.4
Four-week npm downloads rose from 3.0 million to 29.8 million, nearly 10 times last year's count against a 4.1 times catalog baseline. That growth outpaced openapi-typescript, Orval, and Kubb, and current downloads trail openapi-typescript while exceeding Orval and Kubb. CI installs can inflate the totals, and the 5,598 GitHub stars cover the whole Hey API repository. The missing GitHub and npm dependent count and sparse social discussion leave a wide range for direct adoption.
- npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: 9.94 times year-over-year growth against a 4.1 times baseline.
- peers downloadsLast4Weeks and downloadsSame4WeeksYearAgo: Ahead of the three closest codegen peers on download growth.
- github stars and dependents: 5,598 repository stars and no ecosyste.ms dependent count.
- bluesky posts, hackerNews stories, and peers blueskyPosts: Two Bluesky posts, versus seven for openapi-typescript and three for Orval. One matching Hacker News story drew no comments.
- github.com/hey-api/hey-api: The repository includes the Python generator and shared packages.
Vouched for7.0
Who stands behind it being good?
Claude Opus 5.5: 6.0, likely 5.0 to 7.0
The repository says Vercel, OpenCode, PayPal and AWS use it. The old openapi-typescript-codegen project points its users to Hey API. Independent write-ups recommend it for SDK generation, but there is no survey data and little community discussion on HN or Bluesky.
- github description: Self-reported users include Vercel, OpenCode, PayPal and AWS
- zenn.dev/chocolat0w0/articles/ded07e81d2f7c1: Notes that openapi-typescript-codegen recommends Hey API as its successor
- dev.to/phil-whittaker/streamlining-umbraco-headless-development-automated-model-generation-for-content-delivery-api-with-12n9: A user preferred Orval for stability over Hey API's rapid changes
- hackerNews / bluesky: 1 HN story and 2 Bluesky posts: little discussion
GPT-6.2 Sol: 8.0, likely 6.9 to 9.1
Vercel uses Hey API to generate its v0 SDK, OpenCode uses it for its JavaScript SDK, and Apache Airflow upgraded its auth UI generator to 0.99.0. PostHog documents it as a client generation option, and a separate hands-on comparison favored its SDK ergonomics. These are concrete endorsements, while broad satisfaction data and independent benchmarks of the current stable version are sparse.
- github.com/vercel/v0-sdk: Vercel documents the generator used for its v0 SDK.
- github.com/anomalyco/opencode/pull/8921: OpenCode maintains Hey API as its SDK generator.
- github.com/apache/airflow/pull/69265: Airflow merged the 0.99.0 upgrade for its auth UI.
- posthog.com/docs/endpoints/openapi-sdk-generation: PostHog shows customers how to generate TypeScript clients with Hey API.
- dev.to/nyaomaru/which-openapi-codegen-should-you-choose-openapi-typescript-vs-hey-api-vs-orval-vs-kubb-100p: Independent evaluator favored its operation functions and interceptors.
Safe7.4
How safe is it to depend on?
Claude Opus 5.5: 7.0, likely 6.0 to 8.0
It has one moderate advisory, a prototype-chain issue in generated runtime code. The fix shipped in 0.97.3 before the advisory went public. It is MIT-licensed, has 10 dependencies and runs mostly as a dev-time tool. There is no Scorecard, few people publish releases, and generated helpers are copied into apps, so users must regenerate code to get fixes.
- github.com/hey-api/hey-api/security/advisories/GHSA-hhx9-57xq-r5rw: CVSS 4.8, patched in 0.97.3
- npm dependencies: 10 dependencies
- scorecard: null: no OpenSSF data
- npm license: MIT
GPT-6.2 Sol: 7.7, likely 6.5 to 8.8
The generator has a permissive MIT license and ten direct dependencies, five from Hey API's own scope. The sole listed moderate advisory affected generated clients, and the current stable release includes the fix. The GitHub Actions release workflow enables npm provenance. The project reports one maintainer, and the missing OpenSSF Scorecard leaves some publishing and repository controls unverified.
- npm dependencies and license: Ten direct dependencies and an MIT license.
- npmjs.com/package/%40hey-api/openapi-ts?activeTab=dependencies: Five of the ten direct dependencies are under the Hey API scope.
- github.com/advisories/GHSA-hhx9-57xq-r5rw: GitHub lists 0.97.3 as the patched version.
- github.com/hey-api/hey-api/blob/main/.github/workflows/release.yml: GitHub Actions publishes through Changesets with npm provenance enabled.
- heyapi.dev/sponsors: Project reports one maintainer.
- scorecard: No OpenSSF Scorecard was available in the bundle.
Good
- It generates one SDK function per operationId, with a consistent { query, path, body } argument shape and a { data, error } result.
- One config covers many outputs through 20+ plugins, such as TanStack Query, Zod, Valibot and several HTTP clients.
- Its output stays far smaller than Orval's or Kubb's for the same large spec.
- Downloads grew about 10x in a year, well above the 4.1x median.
Bad
- It is still at 0.x, and minor releases break code often: 0.97.0 alone listed 15 breaking changes.
- The latest stable release (0.99.0, June 2026) crashes under TypeScript 7. The fix exists only in @next pre-release builds.
- Releases depend mostly on one lead maintainer. Users asked about the project's status in October, when PRs were locked.
- Code generation is slower than openapi-typescript and Orval on large specs.
The numbers
- npm downloads, 4 weeks
- 30M ×9.9 in a year
- GitHub stars
- 5.6k
- Commits, 12 months
- 2.4k
- npm version
- 0.99.0 Jun 2026
- Versions, 12 months
- 42
- Advisories, 24 months
- 1 of 1 ever
- OpenSSF Scorecard
- None
- Licence
- MIT
Read on 21 November 2026 from GitHub (hey-api/hey-api), npm (@hey-api/openapi-ts), OSV and the OpenSSF Scorecard.
OpenAPI tools
- 8.1Scalar
- 7.7Orval
- 7.3Swagger UI
- 7.1Hey API
- 6.9Kubb
- 6.9zod-to-openapi
- 6.7Spectral
- 6.7Redoc
- 3.2openapi-typescript