Start the free course

API fundamentals

What are the four types of APIs?

You will often see four API types listed: public, private, partner, and composite. An API lets applications exchange information or ask each other to do things. These labels help explain who can use it or what it brings together:

  • Public: offered to outside developers. A weather service might let other apps request forecasts. Access can still require an account or payment.
  • Private: used inside a company. Its staff app might request information from its own stock system.
  • Partner: shared with selected businesses. A shop might give its delivery partner access to order details.
  • Composite: brings several tasks together in one request, such as checking stock and delivery options for an order.

The first three describe who has access. “Composite” describes combining tasks, so a composite API can also be private, public, or for partners. This explains why some guides list three types and others list four.

Further reading

Browse all API questions