8 Tweets 22 reads Nov 20, 2021
There are four types of Web APIs:
- Public API
- Private API
- Partner API
- Composite API
Let's discuss them in detail ๐Ÿงต๐Ÿ‘‡๐Ÿป
1๏ธโƒฃ Public API
Public APIs are accessible to all developers with a low or moderate level of authentication and authorization.
For example, the Windows API of Microsoft is a public API.
Stability is an essential factor of any public API. Any changes in the public API, let's say adding a new parameter, might break the applications that depend on that API.
2๏ธโƒฃ Private API
Private APIs, also known as Internal APIs, are only accessible to the developers within the organization or enterprise.
Private APIs serve the various features:
- Cross-department Data Access
- Building An App-Enabled Business
- Enabling Contractors to Build Features
- Manage supply chain efficiently
3๏ธโƒฃ Partner API
Partner APIs are accessible to business partners. They are not available publicly and need specific authentication to access them.
4๏ธโƒฃ Composite API
Composite API is a design approach in which we bundle multiple API requests into a single API call.
We can use the response body of one request as the input for the other request.
All the response bodies and the HTTP statuses are returned in a single response body.

Loading suggestions...