The type-safe API layer for TypeScript apps. Connect to REST, GraphQL, Firebase, WebSockets, SSE . All with one consistent interface and the best type safety in the ecosystem.
One SDK that works with every framework, every API protocol, and every environment. Learn it once, use it everywhere.
Stop juggling libraries, hand-typing types, and rebuilding cache, retries, and offline in every project. HyperFetch is the complete data layer for every protocol you ship.
Point at any OpenAPI spec, get a fully typed client. No hand-written interfaces, no any.
REST, GraphQL, Firebase, Sockets. Swap the adapter, keep the same createRequest / .send() everywhere.
Cache, queue, retry, dedup, offline replay. All built in. Stop re-implementing the same infra in every project.
Params inferred from URL strings. Typed responses, payloads, query params, errors. Zero any.
useFetch for queries. useSubmit for mutations. Loading, error, and data states all managed for you.
Inspect every request, cache entry, queue, and event. Debug your data layer visually.
Browser, Node, edge, mobile, SSR. Same client, same behavior, every runtime.
Mutate the UI first, reconcile with the server. Smooth, race-condition-free.
Five components ask for the same data. One network call fires. Automatic.
A standalone desktop app that plugs into your client. Inspect every request, cache entry, and queue as your app runs. Debug your data layer visually.

With our platform you can build any type of application, from simple landing pages to complex enterprise systems.
Skip the boilerplate. HyperFetch generates the API layer for you, with the strongest type safety in the ecosystem.
Point the CLI at any OpenAPI or Swagger schema and ship a fully typed SDK. Zero manual typing.
Parsing schema...✔ 42 endpoints, 18 models found✔ Typed params, payloads, errors. All inferred.✔ Request methods generated to src/api/Zero `any`. Zero manual types. Zero errors.🚀 Just use it.End-to-end TypeScript from schema to response. Typed params, payloads, errors. Zero any. Catch bugs at compile time, not in production.

Framework agnostic, near-zero dependencies, MIT licensed. Drop it into any project and own your stack.

We're grateful to the following companies and individuals who have supported us financially. You can still help us by joining the GitHub Sponsors program or contact us for other ways of support or collaboration.
Spend less time on boilerplate and more on building amazing features that your users will love.