An API can be defined simply as a set of code that makes it possible for a system to interact with other systems. It is a client and server communication protocol whose aim is to simplify the building of a client side software. A good example of an API is the Google Maps API that allows a WordPress website to interface with Google Maps.