Skip to main content

One SDK. Any API.
Fully TypedTyped.

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.

Companies that use BetterTyped open-source software.
One interface for everything.

How it works

Define your requests once, connect to any API, and let HyperFetch handle types, caching, retries, and offline support for you.

Terminal
$npx @hyper-fetch/cli generate
📄 Fetching OpenAPI schema...
Generated SDK
// Generated SDK with full types
Any API, One Interface

REST, GraphQL, Firebase, WebSockets, SSE — use the same createRequest / .send() pattern for every API. Swap adapters without rewriting application code. One SDK for your entire stack.

HyperFetch
Scanning codebase
🎉 Found 34 request instances
Best
Type Safety
in the Ecosystem

End-to-end TypeScript types from schema to response. Typed params, payloads, query params, errors, and full autocompletion everywhere. Zero any. Catch bugs at compile time, not in production.

file_type_astro
HyperFetch
file_type_rest
Generate from OpenAPI

Point the CLI at any OpenAPI or Swagger schema and get a fully typed SDK in seconds. Every endpoint becomes a typed method with params, payloads, and responses — zero manual typing.

Power up your development workflow

Meet HyperFlow Devtools

Experience next-level debugging with real-time request tracking, detailed error analysis, and comprehensive performance metrics with HyperFlow devtools.

preview
Support the development.

Our wonderful sponsors

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.

My Sponsors
Improve your workflow today

Build with HyperFetch

Spend less time on boilerplate and more on building amazing features that your users will love.