On this page
Overview
share REST contracts for end-to-end type safety across clients, servers, and OpenAPI
Features and best fit
Based on official documentation; not hands-on tested · Content checked:
Key features
Key characteristics
share REST contracts for end-to-end type safety across clients, servers, and OpenAPI
Sources: [1]
Best fit
Good fit for
A comparison candidate for API Development, Developer Tools, API, HTTP, Next.js, OpenAPI use cases. Check the official README and installation instructions for exact fit and requirements.
Before adoption
Check before adopting
The registered primary language is TypeScript and the license is MIT. Verify version-specific runtime requirements, breaking changes, and additional dependencies in the official README and latest release notes.
Sources: [1]
Official sources
- [1]ts-rest/ts-rest — GitHub(2026-09-15)
Supplemental curator note
It fits teams that want REST semantics without duplicating client/server types. Stable @ts-rest/next peer support ends at Next.js 14, so test integrations separately on Next.js 15/16.
Try it in 3 steps
- 1
Get the source
git clone --depth 1 https://github.com/ts-rest/ts-rest.git - 2
Enter the repository
cd ts-rest - 3
Check the official steps
Continue with the commands in the README Installation, Quick Start, or Getting Started section.
find . -maxdepth 1 -iname 'README*' -exec sed -n '1,220p' {} \; -quit
Growth
Growth trends · Last 30 days
3,338 Stars
Trend data is still being collected.
Development activity
Last 90 days · weekly
- Commits (last 30 days)
- 0
- Open PRs
- 33
Development activity is still being collected.
Built with
Categories and tags
Categories
GitHub data
GitHub dataView detailed GitHub data
GitHub Topics
- rpc
- typescript
- api
- openapi
- rest
- fastify
- nestjs
- nextjs
- react
- react-query
- solid
- Stars
- 3,338
- Forks
- 179
- Watchers
- 7
- Open issues
- 110
- Contributors
- 80
- Owner type
- Organization
- Primary language
- TypeScript
- License
- MIT
- Repository last updated
- Feb 6, 2026
Related information
Write a related articleShare a guide or use case for this OSS in Markdown. Articles are published after administrator approval.
Explore next
- SWR32,490 Stars
3 shared tag(s) · 2 shared category(s) · Same language
cache remote React data and manage revalidation, deduplication, and updates through hooks
TypeScript - openapi-typescript8,390 Stars
3 shared tag(s) · 2 shared category(s) · Same language
generate runtime-free TypeScript types from OpenAPI 3.0 and 3.1 contracts
TypeScript - jose7,815 Stars
3 shared tag(s) · 2 shared category(s) · Same language
handle JWT, JWS, JWE, JWK, and JWKS with a zero-dependency Web-standard JOSE library
TypeScript - Typia5,933 Stars
3 shared tag(s) · 2 shared category(s) · Same language
transform TypeScript types into dedicated runtime validators and serializers at build time
TypeScript - Upstash Rate Limit2,049 Stars
3 shared tag(s) · 2 shared category(s) · Same language
add HTTP-based distributed rate limiting to serverless, edge, and Next.js APIs
TypeScript - Onlook26,858 Stars
3 shared tag(s) · 1 shared category(s) · Same language
a web-based design-to-code workspace for visually and AI-editing real Next.js/Tailwind source
TypeScript
Report incorrect information
Tell us if any listing information is incorrect or outdated.