Skip to content
masterclass Buddy

T3 Stack · Function

initTRPC

tRPC lets you define typed API procedures in TypeScript and call them from the frontend. It uses inference for type safety and completion without generated API code.

Last updated

Syntax

initTRPC.create()

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • Next.js
  • Tailwind CSS
  • Prisma
  • Drizzle
  • NextAuth.js

Source: tRPC • Create T3 App. Checked 2026-11-03.