A documented set of commands that software developers can use to access specific functionality of the underlying operating system (OS) or hardware device.
For example, a phone might have a specific API that allows downloaded games to access a 3D graphics chip. Other APIs in the same phone might allow the game to control the vibrate motor, or send and receive text messages.