An API specifies how software components should interact over a network. The server-side portion of the web API is a programmatic interface to a defined request-response message system, and is typically referred to as the Web Service. Additionally, APIs are used when programming graphical user interface (GUI) components. Restful and SOAP are examples of the most commonly used APIs.
Application programming interface