tRPC logo

tRPC

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.

1 APIs 0 Features
API CompositionAPI FrameworkBFFEnd-to-End Type SafetyRPCTypeScript

APIs

tRPC HTTP Protocol

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 sin...

Semantic Vocabularies

Trpc Context

19 classes · 0 properties

JSON-LD

API Governance Rules

tRPC API Rules

8 rules · 3 errors 2 warnings

SPECTRAL

JSON Structure

Trpc Router Structure

0 properties

JSON STRUCTURE

Example Payloads

Trpc Query Procedure Example

3 fields

EXAMPLE

Resources

🔗
Website
Website
🔗
Documentation
Documentation
👥
GitHubOrganization
GitHubOrganization
👥
GitHubRepository
GitHubRepository
🔗
NPM
NPM
🔗
Discord
Discord
🔗
Twitter
Twitter
🔗
LLMsTxt
LLMsTxt

Sources

Raw ↑
aid: trpc
name: tRPC
description: >-
  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.
type: Index
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/apis-json-logo.jpg
tags:
  - API Composition
  - API Framework
  - BFF
  - End-to-End Type Safety
  - RPC
  - TypeScript
url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/apis.yml
created: '2026-03-27'
modified: '2026-05-19'
specificationVersion: '0.19'
apis:
  - aid: trpc:http-api
    name: tRPC HTTP Protocol
    description: >-
      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.
    humanURL: https://trpc.io/docs/
    baseURL: https://your-server.example.com/api/trpc
    tags:
      - API Framework
      - HTTP
      - RPC
      - TypeScript
    properties:
      - type: Documentation
        url: https://trpc.io/docs
      - type: GettingStarted
        url: https://trpc.io/docs/quickstart
      - type: GitHubRepository
        url: https://github.com/trpc/trpc
      - type: OpenAPI
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/openapi/trpc-openapi.yml
      - type: SpectralRules
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/rules/trpc-rules.yml
      - type: JSONSchema
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/json-schema/trpc-procedure-schema.json
      - type: JSONSchema
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/json-schema/trpc-error-schema.json
      - type: JSONLDContext
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/json-ld/trpc-context.jsonld
      - type: Vocabulary
        url: https://raw.githubusercontent.com/api-evangelist/trpc/refs/heads/main/vocabulary/trpc-vocabulary.yml
common:
  - type: Website
    url: https://trpc.io/
  - type: Documentation
    url: https://trpc.io/docs
  - type: GitHubOrganization
    url: https://github.com/trpc
  - type: GitHubRepository
    url: https://github.com/trpc/trpc
  - type: NPM
    url: https://www.npmjs.com/package/@trpc/server
  - type: Discord
    url: https://trpc.io/discord
  - type: Twitter
    url: https://twitter.com/alexdotjs
  - type: LLMsTxt
    url: https://trpc.io/llms.txt
maintainers:
  - FN: Kin Lane
    email: kin@apievangelist.com