Developers expect your API to come with a typesafe client library in their language.
With Stainless, you can deliver idiomatic SDKs while you stay focused on building the API.
Trusted by API companies
Robust & polished SDKs
Great SDKs for your API drive faster integration, broader feature adoption, quicker upgrades, and trust in your engineering quality.
At Stainless, we work hard to make each SDK feel as though it were hand-written by an expert in the language who had the time to get it right.
All our libraries include: rich types (for autocomplete and docs on hover), auto-pagination, auto-retry with backoff, seamless auth, and much more.
How Stainless works
Provide your OpenAPI spec
All Stainless needs to get started is your OpenAPI spec. It doesn’t have to be perfect.
We’ll create a starter Stainless config file that standardizes naming and defines core functionality like pagination and authentication.
Generate your SDKs
Receive shippable SDKs in the languages your developers demand.
Iterate & customize
You can customize the Stainless configuration for more bespoke SDKs that best represent you and your developers by fine-tuning names, docs, and more.
Automate your updates
Push your updated OpenAPI spec to us whenever it changes with a GitHub Action (or equivalent). We regenerate your SDK and open a pull request.
“Stainless isn’t just taking our OpenAPI Spec, generating a bunch of code, and passing it along.
They’re exhibiting a strong sense of ownership over making sure it’s best in class and solves problems.”
Our founder Alex previously worked on the developer platform team at Stripe, where he created Stripe’s patent-pending client library codegen system and shipped TypeScript for the Stripe API.
After Stripe, Alex kept getting asked how to replicate the Stripe developer experience. Everyone understood they needed great SDKs, but only huge companies could afford the engineer-years it’d take to build a decent codegen system to make them. Frustrated with the available options, he started Stainless to bring the quality of Stripe's codegen to companies of any size.
APIs are at the heart of all internet software, but right now they’re messy, chaotic, and hard to get right.
We're on a mission to build great open-source standards and tools that bring the benefits of GraphQL (types, field selection/expansion, standards) and gRPC (types, speed, versioning) to the simplicity and ubiquity of REST.
Know when the framework launches
We’re building a full-stack TypeScript API Framework. It’s inspired by the internal API Framework we used at Stripe, and will enable you to build amazing REST API’s from the get-go with end-to-end type safety, pagination, auth, and more built-in.
“If I told an engineer they have to build all these libraries, they’d tell me it would take at least a year. With Stainless, it’s like magic.”