An application programming interface (API) is a specification intended to be used as an interface by software components to communicate with each other.