Application Programming Interface. An API is a set of routines, data structures, variables, constants and/or classes for building software applications. APIs define how software components communicate with one another. For instance, for computers running a graphical user interface, an API manages an application's windows, icons, menus, and dialog boxes.