To simply define API as a service, it is a software that acts as an intermediary between two applications. In other words, it allows two separate independent applications to talk to each other. It is a messenger that delivers a request to the provider and then delivers the response back.