SDK (Software development kit)
An SDK is a packaged set of code, tools and docs that makes it easier to build on a platform. In SaaS it usually means a client library wrapping your API.
SDK stands for software development kit. AWS defines it as a set of platform-specific building tools for developers, which can include libraries, debuggers, compilers, code samples and documentation. When a SaaS founder says "we need an SDK", they almost always mean something narrower: a library in JavaScript, Python, Ruby or another language that calls your API for the developer.
SDK vs API
The API is the contract: URLs, parameters, responses. The SDK is a convenience on top. Without an SDK, a developer reads your docs, builds HTTP requests, handles authentication, parses JSON and writes retry logic. With one, they call client.invoices.create(...) and get a typed result.
An SDK does not replace the API. Customers using a language you do not cover can still use the raw API, which is why the API must come first.
What a SaaS SDK usually does
- Attaches the API key or token to every request.
- Retries safely when the network fails.
- Turns error responses into exceptions with useful messages.
- Verifies webhook signatures.
- Pages through long lists without the developer writing the loop.
Some products also ship front-end SDKs, for example a script that embeds a widget or tracks events on a customer's site. That is a different animal: it runs in the customer's product and can break their pages if you ship a bug.
What it costs
An SDK is a second product. Each language needs releases, version numbers, tests, docs and issue triage, and every API change must be reflected in all of them. Teams reduce this by writing an OpenAPI description and generating client code from it. Swagger notes that tools can generate documentation, SDKs and mock APIs from a specification, which is one reason to design the API first.
When a small SaaS should care
Skip SDKs until a clean API and good docs exist. Then ship one SDK in the language most of your integrators use, and let others come when a customer asks and can name the language. A thin, well-maintained library beats five neglected ones. Neglected SDKs become technical debt and erode the trust you wanted to build. Pair the SDK with a sandbox so people can try it without touching real data.
Related terms
Sources
- What is SDK?, Amazon Web Services
- Adopting an API-first approach, SmartBear Swagger
- What is an API?, Red Hat