# tRPC v11

> End-to-end typesafe APIs for TypeScript. Write procedures on the server, call them from the client with their types, and serve them on any runtime.

Every page is also markdown: add `.md` to its URL, or request it with `Accept: text/markdown`.

- For v10: https://trpc.io/llms-v10.txt
- For v9: https://trpc.io/llms-v9.txt

## tRPC

- [tRPC](https://trpc.io/docs/introduction.md)
- [Quickstart](https://trpc.io/docs/quickstart.md): Learn how to quickly get started and setup tRPC
- [Concepts](https://trpc.io/docs/concepts.md)
- [Videos and Community Resources](https://trpc.io/docs/videos-and-community-resources.md)
- [Example Apps](https://trpc.io/docs/example-apps.md): Example apps built with tRPC

## Backend Usage

- [Backend Usage](https://trpc.io/docs/server/overview.md)
- [Define Routers](https://trpc.io/docs/server/routers.md)
- [Define Procedures](https://trpc.io/docs/server/procedures.md)
- [Context](https://trpc.io/docs/server/context.md)
- [Input & Output Validators](https://trpc.io/docs/server/validators.md)
- [Middlewares](https://trpc.io/docs/server/middlewares.md)
- [Merging Routers](https://trpc.io/docs/server/merging-routers.md)
- [Overview](https://trpc.io/docs/server/adapters.md)
  - [Standalone Adapter](https://trpc.io/docs/server/adapters/standalone.md)
  - [Express Adapter](https://trpc.io/docs/server/adapters/express.md)
  - [Fastify Adapter](https://trpc.io/docs/server/adapters/fastify.md)
  - [Next.js Adapter](https://trpc.io/docs/server/adapters/nextjs.md)
  - [AWS Lambda + API Gateway Adapter](https://trpc.io/docs/server/adapters/aws-lambda.md)
  - [Fetch / Edge Runtimes Adapter](https://trpc.io/docs/server/adapters/fetch.md)
- [Server Side Calls](https://trpc.io/docs/server/server-side-calls.md)
- [Authorization](https://trpc.io/docs/server/authorization.md)
- [Error Handling](https://trpc.io/docs/server/error-handling.md)
- [Error Formatting](https://trpc.io/docs/server/error-formatting.md)
- [Data Transformers](https://trpc.io/docs/server/data-transformers.md)
- [Content Types](https://trpc.io/docs/server/non-json-content-types.md)
- [Metadata](https://trpc.io/docs/server/metadata.md)
- [Response Caching](https://trpc.io/docs/server/caching.md)
- [Subscriptions](https://trpc.io/docs/server/subscriptions.md)
- [WebSockets](https://trpc.io/docs/server/websockets.md)

## Client Usage

- [Client Overview](https://trpc.io/docs/client.md)
- [Links Overview](https://trpc.io/docs/client/links.md)
  - [HTTP Link](https://trpc.io/docs/client/links/httpLink.md)
  - [HTTP Batch Link](https://trpc.io/docs/client/links/httpBatchLink.md)
  - [HTTP Batch Stream Link](https://trpc.io/docs/client/links/httpBatchStreamLink.md)
  - [HTTP Subscription Link](https://trpc.io/docs/client/links/httpSubscriptionLink.md)
  - [Local Link](https://trpc.io/docs/client/links/localLink.md): A link for direct procedure calls without HTTP overhead
  - [WebSocket Link](https://trpc.io/docs/client/links/wsLink.md)
  - [Split Link](https://trpc.io/docs/client/links/splitLink.md)
  - [Logger Link](https://trpc.io/docs/client/links/loggerLink.md)
  - [Retry Link](https://trpc.io/docs/client/links/retryLink.md)
  - [Headers](https://trpc.io/docs/client/headers.md)
  - [Send cookies cross-origin](https://trpc.io/docs/client/cors.md)
- [tRPC Client](https://trpc.io/docs/client/vanilla.md)
  - [Set up a tRPC Client](https://trpc.io/docs/client/vanilla/setup.md)
  - [Inferring Types](https://trpc.io/docs/client/vanilla/infer-types.md)
  - [Error Handling](https://trpc.io/docs/client/vanilla/error-handling.md)
  - [Aborting Procedure Calls](https://trpc.io/docs/client/vanilla/aborting-procedure-calls.md)
- [TanStack React Query](https://trpc.io/docs/client/tanstack-react-query.md): TanStack React Query integration for tRPC
  - [TanStack React Query](https://trpc.io/docs/client/tanstack-react-query/setup.md): TanStack React Query setup
  - [TanStack React Query](https://trpc.io/docs/client/tanstack-react-query/usage.md): TanStack React Query usage
  - [Migrating from the classic React Client](https://trpc.io/docs/client/tanstack-react-query/migrating.md): Migrating from the classic React Client
  - [Set up with React Server Components](https://trpc.io/docs/client/tanstack-react-query/server-components.md)
- [React Query Integration (Classic)](https://trpc.io/docs/client/react.md): React Query Integration
  - [Set up the React Query Integration](https://trpc.io/docs/client/react/setup.md): How to use and setup tRPC in React
  - [Set up with React Server Components](https://trpc.io/docs/client/react/server-components.md)
  - [Inferring Types](https://trpc.io/docs/client/react/infer-types.md)
  - [useQuery()](https://trpc.io/docs/client/react/useQuery.md)
  - [useMutation()](https://trpc.io/docs/client/react/useMutation.md)
  - [useInfiniteQuery()](https://trpc.io/docs/client/react/useInfiniteQuery.md)
  - [useSubscription()](https://trpc.io/docs/client/react/useSubscription.md)
  - [useUtils](https://trpc.io/docs/client/react/useUtils.md)
  - [createTRPCQueryUtils](https://trpc.io/docs/client/react/createTRPCQueryUtils.md)
  - [useQueries()](https://trpc.io/docs/client/react/useQueries.md)
  - [Suspense](https://trpc.io/docs/client/react/suspense.md)
  - [getQueryKey](https://trpc.io/docs/client/react/getQueryKey.md)
  - [Aborting Procedure Calls](https://trpc.io/docs/client/react/aborting-procedure-calls.md)
  - [Disabling Queries](https://trpc.io/docs/client/react/disabling-queries.md)
- [Next.js Integration](https://trpc.io/docs/client/nextjs.md)
  - [Set up with Next.js App Router](https://trpc.io/docs/client/nextjs/app-router-setup.md)
    - [Server Actions](https://trpc.io/docs/client/nextjs/server-actions.md)
  - [Set up with Next.js Pages Router](https://trpc.io/docs/client/nextjs/pages-router/setup.md)
    - [Server-Side Rendering](https://trpc.io/docs/client/nextjs/pages-router/ssr.md)
    - [Static Site Generation](https://trpc.io/docs/client/nextjs/pages-router/ssg.md)
    - [Server-Side Helpers](https://trpc.io/docs/client/nextjs/pages-router/server-side-helpers.md)
    - [Aborting Procedure Calls](https://trpc.io/docs/client/nextjs/pages-router/aborting-procedure-calls.md)
  - [Starter Projects](https://trpc.io/docs/client/nextjs/starter-projects.md)
- [OpenAPI (alpha)](https://trpc.io/docs/openapi.md)

## Community

- [Awesome tRPC Collection](https://trpc.io/docs/community/awesome-trpc.md)
- [Contributing](https://trpc.io/docs/community/contributing.md)
- [Testimonials / Love](https://trpc.io/docs/community/love.md)
- [Sponsors](https://trpc.io/docs/community/sponsors.md)

## Extra information

- [FAQ / Troubleshooting](https://trpc.io/docs/faq.md)
- [HTTP RPC Specification](https://trpc.io/docs/rpc.md)
- [Further Reading](https://trpc.io/docs/further-reading.md)
- [Migrate from v10 to v11](https://trpc.io/docs/migrate-from-v10-to-v11.md)

## Optional

- [Full documentation](https://trpc.io/llms-full.txt): every page above in one file
