Application program interface (API) is a set of routines, protocols, and tools for building software applications.