The 4 types of APIs that can be used are:
i. Open APIs: These APIs are built in such a way that there are no restrictions when it comes to accessing them since they are available to the public.
ii. Partner APIs: As the name suggests, such APIs have restricted access and one needs certain rights and licenses in order to access data through them.
iii. Internal APIs: The information is only available within the organization and hence is also known as private API. This is usually used to share information within various departments of the organization and hence is not very popular.
iv. Composite APIs: This kind of API runs a series of tasks that run all together as a consequence of the executions that are made. So, essentially, this kind of API combines various data and service API.
To know more about APIs, click here.