https://trpc.io/ Skip to main content tRPC logotRPC logo tRPCDocsQuickstartAwesome tRPC CollectionUsage with Next.js GitHubTwitterDiscord Search tRPC End-to-end typesafe APIs made easy Star Server/client exampleThe client doesn't import any code from the server, only a single TypeScript type. The import type declaration is fully erased at runtime. tRPC transforms this type into a fully typesafe client. Get Started [?] Automatic typesafety Automatic typesafety & autocompletion inferred from your API-paths, their input data, & outputs. Light & Snappy DX No code generation, run-time bloat, or build pipeline. Zero dependencies & a tiny client-side footprint. Add to existing brownfield project Easy to add to your existing brownfield project with adapters for Connect/Express/Next.js. 1. @trpc/client depends on some babel runtime helpers + that a fetch () polyfill/ponyfill is used if the browser doesn't support it. @trpc/react is built on top of react-query. Docs * Docs * Usage with Next.js Community * GitHub * Twitter * Discord More * GitHub