What is the purpose of an API?

An API , known as Application Programming Interface is the integrating link between a third-party platform for applications to access its features and services. In other words, an API delivers your request for information to the operating system and then delivers its response back to you.

For More Information Please Refer: https://www.quora.com/What-is-the-purpose-of-API