API

Stands for "Application Programming Interface." An API is a set of commands, functions, protocols, and objects that programmers can use to create software or interact with an external system. It provides developers with standard commands for performing common operations so they do not have to write the code from scratch.

APIs are available for both desktop and mobile operating systems. The Windows API, for example, provides developers with user interface controls and elements, such as windows, scroll bars, and dialog boxes. It also provides commands for accessing the file system and performing file operations, such as creating and deleting files. Additionally, the Windows API includes networking commands that can be used to send and receive data over a local network or the Internet.

Mobile APIs, such as the iOS API, provide commands for detecting touchscreen input, such as tapping, swiping, and rotating. It also includes common user interface elements, such as a pop-up keyboard, a search bar, and a tab bar, which provides navigation buttons the bottom of the screen. The iOS API also includes predefined functions for interacting with an iOS device's hardware, such as the camera, microphone, or speakers.

Operating system APIs are typically integrated into the software development kit for the corresponding program. For example, Apple's Xcode IDE allows developers to drag and drop elements into an application's interface. It also provides a list of available functions and includes syntax highlighting for known elements and commands.

While operating system APIs have a robust set of features, other types of APIs are much more basic. For example, a website may provide an API for web developers that allows them to access specific information from the site. A website API may be as simple as a set of XML elements with a few basic commands for retrieving the information.

Updated June 20, 2016 by Per C.

quizTest Your Knowledge

Which statement about block-based coding is true?

A
It requires knowledge of a low-level programming language.
0%
B
It uses visual drag-and-drop interface instead of a source code editor.
0%
C
It does not support conditional clauses, such as if-then statements.
0%
D
It was designed for creating mobile apps.
0%
Correct! Incorrect!     View the Block-Based Coding definition.
More Quizzes →

The Tech Terms Computer Dictionary

The definition of API on this page is an original definition written by the TechTerms.com team. If you would like to reference this page or cite this definition, please use the green citation links above.

The goal of TechTerms.com is to explain computer terminology in a way that is easy to understand. We strive for simplicity and accuracy with every definition we publish. If you have feedback about this definition or would like to suggest a new technical term, please contact us.

Sign up for the free TechTerms Newsletter

How often would you like to receive an email?

You can unsubscribe or change your frequency setting at any time using the links available in each email.

Questions? Please contact us.