Connect frontends to backends with confidence. HTTRPC delivers end-to-end type safety across your entire stack, regardless of language.
import { createClient } from 'httrpc';
// Type-safe client
const client = createClient({
baseUrl: 'https://api.example.com',
headers: {
Authorization: `Bearer ${token}`
}
});
// Fully typed response
const user = await client.users.getUser({
id: 123
});
A modern approach to API development that prioritizes developer experience and type safety.
JSON Schema validation ensures robust type contracts between client and server.
Integrate seamlessly with any backend or frontend using standard HTTP protocols.
Quick adoption with minimal setup. Focus on building, not configuration.
Supports Queries, Mutations, and Subscriptions for diverse API needs.
{
"type": "named",
"args": {
"name": "Jane Smith",
"email": "[email protected]"
}
}
HTTRPC follows RESTful principles while adding type safety through JSON Schema validation.
Start building type-safe, language-agnostic APIs today with HTTRPC.