API (Application Programming Interface) is a set of routines, protocols, and tools for building software applications. The API specifies how software components should interact and APIs may be used when programming GUI (Graphical User Interface) components.