An API, which stands for application programming interface, is a mechanism that enables two software components to communicate with each other using a set of definitions and protocols.
In the context of APIs, the word Application refers to any software with a distinct function. Interface can be thought of as a contract of service between two applications. This contract defines how the two communicate with each other using requests and responses. Their API documentation contains information on how developers are to structure those requests and responses.