An API may be for a web-based system, operating system, database system, computer hardware, or software library. It is an acronym for Application Programming Interface. An API specifies how software components should interact and APIs are used when programming graphical user interface (GUI) components.