An API is a documented interface that allows one software application to interact with another application. An example of this is the Twitter API.