What Hey API is#
@hey-api/openapi-ts is an MIT-licensed OpenAPI to TypeScript generator with millions of weekly npm downloads, used by Vercel, OpenCode, PayPal, AWS, and Autodesk among others. TypeScript is the language it ships for. A second generator, @hey-api/openapi-python, for Python SDKs and Pydantic models, was at version 0.0.24 on the checked date; its README calls it initial development and the site lists Python as coming soon.
Its architecture is a plugin pipeline. You choose what gets generated: types alone, or types plus an SDK, plus Zod schemas, plus TanStack Query hooks, plus whatever else the twenty or so plugins cover. Clients are available for fetch, axios, Angular, Next, and Nuxt.
It is funded by sponsorship, with a Hey API Platform in beta. Pricing for the platform has not been announced, and the project says there will always be a free plan. The generator itself is free and open source.