tRPC

tRPC is a framework that allows you to create and consume full type-safe API without the need for schema definition or code generation. It offers automatic completion with full static type-pull for input, output and errors on the client side. It can work with React.js, Next.js, Express.js, and Fastify adapters without code generation or runtime additional load.

TR

tRPC

100

trpc · SaaS / Full-Stack

STARS40.8K
FORKS1.7K
COMMITS4.9K
CONTRIBUTORS514
VERSIONv9.9.1
UPDATEDtoday
TypeScriptEnd-To-End TipAPIReact QueryMIT

Common commercial products in this category: Firebase, AWS Amplify, Backendless

What can it do?
  • You build and consume API completely type-safe without producing schema or code.
  • You provide automatic completion with full static type-safe for inputs, outputs, and errors on the client side.
  • You automatically combine requests made at the same time into a single request to perform a batch transaction
User reviews
  • • NeutralHacker News

    tRPC – Build and consume typesafe APIs without schemas or code generation

    “With an explicit error you get from validation (like Zod, as used in tRPC), you could notice that your client is out of date and either refresh automatically or prompt the user to refresh[1]. The benefit from validation is that the error is easily recognizable & can be handled…”

  • • NeutralHacker News

    tRPC – Build and consume typesafe APIs without schemas or code generation

    “> having the ‘friction’ of defining a gRPC, GraphQL or REST endpoint is leading to more thoughtful API design Make devs slower so they code smarter? More friction is just that, it just frustrates devs it doesn't make them code better. tRPC enables good teams to ship faster. Less…”

Verified against README · Oct 26, 2026 · source

My note

Alternative pages

More in: SaaS / Full-Stack