{"schemaVersion":1,"id":"orpc","name":"oRPC","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/orpc/","officialUrl":"https://github.com/unnoq/orpc","isCatalog":false,"description":"TypeScript tools for end-to-end APIs with OpenAPI and RPC: they connect procedure contracts, validation, and a typed client.","tasks":["Align a typed API between client and server","Connect a handler and typed client, then test an RPC or OpenAPI scenario"],"categoryIds":["backend"],"subcategoryIds":["backend.api"],"tags":["oRPC","API","Development"],"aliases":["unnoq/orpc","orpc","typesafe-apis"],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Code and local use under MIT.","paidUsage":"Computing resources, self-hosting, and external services are paid for separately if used.","license":"MIT for the code; dependencies have separate licenses.","selectionGuide":{"purpose":"Align a typed API between client and server","chooseWhen":["Align a typed API between client and server","Connect a handler and typed client, then test an RPC or OpenAPI scenario"],"considerInstead":[],"requirements":[],"limitations":["Costs and limits of free use: Computing resources, self-hosting, and external services are paid for separately if used.","Terms of use: MIT for the code; dependencies have separate licenses.","Middleware must call next to continue the chain. With multiple input schemas, ordinary objects merge only two levels deep; output schemas are processed sequentially rather than merged."],"faq":[{"question":"What can you use for free in oRPC?","answer":"Code and local use under MIT."},{"question":"What additional costs might arise with oRPC?","answer":"Computing resources, self-hosting, and external services are paid for separately if used."},{"question":"What terms of use matter for oRPC?","answer":"MIT for the code; dependencies have separate licenses."},{"question":"How do you get started with oRPC?","answer":"Define the procedure contract, input schema, and result. Connect a handler and typed client, then test an RPC or OpenAPI scenario. Add error handling and an integration check of the result."},{"question":"How does oRPC combine data validation with a procedure handler?","answer":"The procedure builder defines input/output schemas, context, metadata, typed errors, and middleware; the handler implements logic. Zod, Valibot, ArkType, and other Standard Schema libraries support validation. API contracts, server/client, and OpenAPI adaptation are separate packages, so contracts can be implemented and used independently."}],"related":[],"sources":["https://github.com/unnoq/orpc","https://raw.githubusercontent.com/unnoq/orpc/HEAD/README.md","https://raw.githubusercontent.com/unnoq/orpc/HEAD/LICENSE","https://www.open-source-tools.com/","https://orpc.dev/docs/procedure"]},"selectionCheckedAt":null,"applicationGuide":{"goal":"Align a typed API between client and server.","inputs":["A data contract or HTTP workflow.","A project with a supported runtime."],"steps":["Define the procedure contract, input schema, and result.","Connect a handler and typed client, then test an RPC or OpenAPI scenario.","Add error handling and an integration check of the result."],"checks":["Invalid and missing data are handled predictably.","Types and the actual response agree; errors are not hidden."]},"sources":["https://github.com/unnoq/orpc","https://raw.githubusercontent.com/unnoq/orpc/HEAD/README.md","https://raw.githubusercontent.com/unnoq/orpc/HEAD/LICENSE","https://www.open-source-tools.com/","https://orpc.dev/docs/procedure"],"checkedAt":"2026-10-06","reviewScope":"The purpose, current repository license, and separate terms for code, services, and models have been reviewed. The product was not run, and no security audit was performed.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Backend / API library","kind":"library","pricingNote":"Code and local use under MIT. Computing resources, self-hosting, and external services are paid for separately if used.","notes":null,"labeledSources":[{"url":"https://github.com/unnoq/orpc","label":"Official source"},{"url":"https://raw.githubusercontent.com/unnoq/orpc/HEAD/README.md","label":"Official source"},{"url":"https://raw.githubusercontent.com/unnoq/orpc/HEAD/LICENSE","label":"License"},{"url":"https://www.open-source-tools.com/","label":"Catalog / discovery source"},{"url":"https://orpc.dev/docs/procedure","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}