An API is also an abstraction of the web server. The application (such as a website or a mobile app) will make an API call for a set of data to display for the end user to consume . The request is made via the API that accesses the web server to retrieve the requested data, which is populated in the user interface.