tRPC is a TypeScript framework for building end-to-end typesafe APIs without code generation or schemas. It leverages TypeScript's type inference to provide full static typesafety and autocompletion between client and server, with zero runtime dependencies. tRPC v11 supports queries, mutations, and subscriptions via HTTP GET/POST and WebSocket adapters for Express, Fastify, Next.js, AWS Lambda, and edge runtimes.
APIs.json: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/apis.yml
- Type: Index
- API Composition
- API Framework
- BFF
- End-to-End Type Safety
- RPC
- TypeScript
- Created: 2026-03-27
- Modified: 2026-05-19
The tRPC HTTP API protocol surface. tRPC servers expose procedures via HTTP GET (queries) and HTTP POST (mutations). Clients use httpBatchLink to batch concurrent calls into single requests. Input is passed via JSON-encoded query parameters (GET) or request bodies (POST). Authentication uses Bearer tokens for protected procedures.
- Human URL: https://trpc.io/docs/
- Base URL:
https://your-server.example.com/api/trpc
- API Framework
- HTTP
- RPC
- TypeScript
- Documentation
- Getting Started
- GitHub Repository
- OpenAPI — OpenAPI Specification
- Spectral Rules
- JSON Schema — JSON Schema
- JSON Schema — JSON Schema
- J S O N L D Context
- Vocabulary
- Postman Collection — Postman Collection 2.1
- Open Collection — Open Collection 1.0
FN: Kin Lane Email: kin@apievangelist.com