{"data":{"slug":"trpc","name":"tRPC","tagline":"End-to-end typesafe APIs without codegen","category":"nextjs","categoryName":"Next.js","url":"https://trpc.io","github":"https://github.com/trpc/trpc","pricing":"open-source","hook":"tRPC eliminates the API contract layer you did not want to maintain anyway.","whatsGood":"The zero-codegen approach means types flow naturally from server to client. React Query integration handles caching, mutations, and optimistic updates. The procedure-based API encourages small, focused endpoints.","theCatch":"TypeScript only—this is not for mixed-language teams. The tight coupling means you lose the API as a standalone artifact.","verdict":"TypeScript APIs as they should be—type-safe by default.","addedAt":"2026-08-18","featured":false,"domain":"Next.js","subSpecialty":"API","capabilities":["rpc","typescript","api"],"surfaces":["API","Self-host"],"ecosystem":["Node.js","Browser"],"licenseModel":"OSS/MIT","githubStars":40573},"related":[{"slug":"vercel","name":"Vercel","tagline":"The platform that made Next.js deployment trivial"},{"slug":"prisma","name":"Prisma","tagline":"Type-safe database access with killer DX"},{"slug":"drizzle","name":"Drizzle ORM","tagline":"TypeScript ORM that feels like SQL"},{"slug":"clerk","name":"Clerk","tagline":"Auth that actually ships with your UI"},{"slug":"authjs","name":"Auth.js","tagline":"Authentication for the web, framework-agnostic"}],"links":{"self":"/api/gems/trpc","html":"/gems/trpc","markdown":"/gems/trpc.md","category":"/api/gems?category=nextjs","categoryPage":"/stacks/nextjs"}}