An API is an application programming interface through which computer programs can communicate with each other. One application, for example, gets access to some data or functions of another.