
HyperFetch
Integrate with any API.
Free186 impressions#417 of its week
HyperFetch provides a type-safe, unified SDK for fetching data from any API (REST, GraphQL, Firebase, WebSockets, SSE) in TypeScript.
- for
- TypeScript developers building web, mobile or server apps that need typed API calls and built-in caching/retries.
- pricing
- open source
- license
- Apache-2.0
- hyper-fetch-v9.1.09 days ago
- hyper-fetch-v9.0.39 days ago
- hyper-fetch-v9.0.211 days ago
Key features
- Typed SDK generation — Generate a fully typed SDK from OpenAPI/Swagger or existing TypeScript types via the CLI.
- Unified data layer — One client handles fetch, cache, retry, queue, deduplication and offline replay.
- React hooks integration — useFetch and useSubmit hooks manage queries and mutations with loading, error and data states.
- Optimistic updates — Perform UI-first mutations with automatic rollback on server errors.
- Realtime adapters — Same request model works for WebSockets, SSE and Firebase listeners.
- Smart deduplication — Concurrent identical requests are collapsed into a single network call.
- Cross-runtime support — Runs in browser, Node, edge, mobile and SSR environments.
- HyperFlow DevTools — Desktop app to inspect requests, cache entries, queues and performance metrics.
Use cases
- Build a React app that consumes multiple REST and GraphQL endpoints with a single typed client
- Implement real-time dashboards using WebSocket or Firebase data with consistent hooks
- Generate SDKs automatically from existing OpenAPI specs to eliminate hand-written wrappers
- Create AI-driven agents that call APIs safely using generated TypeScript contracts
HyperFetch FAQ
How does HyperFetch create a typed SDK?+
You point the CLI at an OpenAPI/Swagger file or import TypeScript types; it generates a fully typed client with no `any`.
What protocols does HyperFetch support?+
It supports REST, GraphQL, Firebase, WebSockets and Server-Sent Events through interchangeable adapters.
Does HyperFetch handle caching and retries?+
Yes, it includes built-in cache, queue, retry, deduplication and offline replay features.
Can I use HyperFetch in a server-side environment?+
Yes, the client runs in Node, edge, mobile and SSR contexts with the same behavior.
Is HyperFetch open source?+
Yes, it is MIT-licensed, framework-agnostic and has near-zero dependencies.
Summarized by DevHunt from hyperfetch.bettertyped.com · Oct 8, 2026. Details may change; check the official site.



.png?width=64)







