A web API is an interface that allows two pieces of software to communicate over the internet. A web service is a web API that uses simple HTTP requests to GET, POST, PUT, and DELETE data. Web services are typically used to expose data from a backend system, such as a database, so that it can be used by a frontend system, such as a web application.