tRPC

Build end-to-end type-safe APIs with tRPC, which infers input and output types from API paths.

trpc.io
tRPC homepage screenshot

About tRPC

tRPC builds APIs where the TypeScript client uses types exported from the server router. Developers define query, mutation, and subscription procedures in routers, validate input such as with Zod, serve the router over HTTP, and query it from a typed client without generated code.

Key features

  • Define queries, mutations, and subscriptions grouped in routers
  • Share server router types with client for TypeScript checking
  • Validate procedure input with Zod validators
  • Connect via adapters for Express, Fastify, AWS Lambda, and more
  • Provide endpoint autocompletion matching backend API code
  • Work without build step or generated client code
Best for: JavaScript developers using TypeScript who maintain a frontend and backend with shared types.
Good for
  • No build, compile, or code generation step
  • States zero dependencies with small client-side footprint
  • Compatible with multiple JavaScript frameworks and runtimes

tRPC at a glance

Website
trpc.io
Type
Online tool
Pricing
Not confirmed. Check the site
Platforms
Web
Open source
Not stated
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

tRPC alternatives

Tools and sites you could use instead, ranked by how closely they match.

Popular in Programming Languages

Well-known listings from the same topic.

All 66
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing