Skip to content
BENIBIX Learn

API vs SDK

People think an SDK is the API, and it is not. The API is the set of requests a service will answer, and the replies it sends back. An SDK is a library you add to your code that sends those requests for you. You can always call the API without the SDK, but not the other way round.

Development🔌 APIs

Application Programming Interface (API)

Rules that let one program ask another for data or work. A menu for code.

An API is a set of rules that lets one program ask another for data or work. It lists what you can ask for and what you will get back. You never see the code inside; you only use the doors it offers. A weather app asks a weather API for today's forecast. Most APIs today are reached over the web with HTTP.

Example
Lucy's shop calls a payment API to charge a card. Her code sends the amount, and the API answers paid or declined.
Why it matters
Apps can reuse what others built, like maps, payments and logins. They do not have to write it all again.
Full entry
Development🛠️ Editors & Tools

Software Development Kit (SDK)

A box of tools, code and guides for building on one service.

An SDK is a box of tools for building on one platform or service. It usually holds libraries, sample code, guides and sometimes a test device on screen. A payment company gives out an SDK so apps can take payments with a few lines. Phone makers give out one so people can build apps for their phones. The SDK hides the hard parts behind simple functions.

Example
Lucy adds card payments to her app with a payment SDK. Ten lines of code replace weeks of work with banks.
Why it matters
An SDK is how a service makes itself easy to use. It turns a hard job into a few calls.
Full entry

In one line

Application Programming Interface (API)
Rules that let one program ask another for data or work. A menu for code.
Software Development Kit (SDK)
A box of tools, code and guides for building on one service.