What Are The Different Types Of API?

What is API and different types of API?

.