Log in Sign up
Back to Discover
💻

API

technology Maturity 5-7

Computers talk to each other.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
They use special rules to work. These rules help them share things. It is like using building blocks. This helps us use new tools. Do you like computers?
Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png

39 words

Computers need to talk to each other.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
They use special rules to do this. These rules are called an API. An API is like a bridge between programs. It lets one program ask for help.
Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png
One program might ask for the weather. Then, the other program sends the answer back. It is like using building blocks to make something new. This helps people build big things with small parts. APIs help the whole internet work together.

82 words

Computers need ways to talk to each other. They use a tool called an API. API stands for application programming interface.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
It is a set of rules for software. These rules help different programs share services.

Think of an API like building blocks. You can join different pieces to make something new. This is called integration. An API works like a contract. It is an agreement between two sides. One side offers a service. The other side uses it.

An API helps hide how a system works inside. It only shows the parts a programmer needs. This makes coding much easier. For example, a weather sensor has an API. A program sends a request to the sensor. This is called an API call. The sensor then sends back a weather report. This report is called an API response.

Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png

APIs have been around for a long time. Scientists worked on these ideas in the 1940s. Today, many APIs work over the internet. These are called web APIs. They help the whole internet stay connected.

179 words

An application programming interface, or API, is a special connection between computers. It acts as a bridge between different computer programs or pieces of software. While a user interface helps a person talk to a computer, an API helps machines talk to each other.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
Most people never see an API while using their devices. Instead, it works "under the hood" to make things happen behind the scenes. It allows one software system to reach out and interact with another system. This makes it possible for different technologies to work together smoothly.

An API works by using a set of rules to hide complex details. Imagine a weather sensor that has an API for other programs to use. When a programmer wants data, they send a message called an API call. The sensor receives this message and sends back a weather report. This report is known as an API response.

Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png
By using these calls, a programmer does not need to know exactly how the sensor works inside. They only need to know how to ask for the information they need. This process of joining different software parts together is called integration.

The idea behind APIs started a long time ago. In the 1940s, British scientists Maurice Wilkes and David Wheeler worked on a modular software library. They used an early computer called EDSAC for their work. They kept notes on how to use different parts of their software in a library catalog. This catalog acted like an early API specification.

Univac 1108 Census Bureau.jpg
Univac 1108 Census Bureau.jpg
Later, the actual term "application program interface" appeared in a 1968 paper about computer graphics. This helped programmers use different hardware without having to rewrite all their code.

There are many different types of APIs used today. Some are built specifically for a single pair of systems. Others are shared standards that let many different systems talk to each other. Web APIs are very common because they allow computers to communicate over the internet.

Database management system diagram from 1978 workshop.png
Database management system diagram from 1978 workshop.png
There are also APIs for operating systems, like the Windows API. Some APIs are even used for computer hardware or specific programming languages. In the 1990s, standards like CORBA and DCOM helped manage these connections. By the year 2000, web APIs using XML and JSON became very popular.

You can think of an API as being like building blocks. Using APIs to build software is similar to using Lego bricks to build a model.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
Each software service acts like a brick that can be snapped into a larger project. An API can also be viewed as a contract between two parties. The service provider offers the API, and the developer relies on it. If the API stays stable and follows the rules, developers can trust it. This trust helps them build bigger and better tools for everyone to use.

474 words

An application programming interface, or API, is a digital connection between computers or software programs. It acts as a software interface that offers services to other pieces of software. While a user interface allows a person to interact with a computer, an API allows machines to talk to each other. This process is often described as "under the hood" communication because it is not intended for direct use by the average person. Instead, it is used by computer programmers to incorporate specific functions into their own software.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg

To understand how an API works, imagine a weather sensor that offers an API. A programmer can send a specific message to this sensor, which is known as an API call. This call might be a request for current temperature or wind speed. The sensor then detects the conditions and sends back a weather report, which is called an API response. These calls are also known by several other names, such as subroutines, methods, requests, or endpoints. By using these signals, two systems can communicate across a boundary using mutually agreed-upon rules. This process of joining different software parts together is called integration.

A key purpose of an API is to provide abstraction. This means the API hides the complex internal details of how a system works. It only exposes the specific parts or actions that a programmer needs to use. Because of this, the internal details of a system can change without breaking the software that relies on the API. This keeps the interface consistent and simplifies the job of programming. You can think of an API as a contract. The service provider offers the API, and the software developer relies upon it. If the API remains stable and predictable, developers can use it with more confidence.

The concept of the API has deep historical roots. In the 1940s, British computer scientists Maurice Wilkes and David Wheeler worked on a modular software library for an early computer called EDSAC. They used punched paper tape for their subroutines and kept a "library catalog" of notes. This catalog explained how to incorporate each subroutine into a program, acting as an early API specification. Some researchers, like Joshua Bloch, believe Wilkes and Wheeler "latently invented" the API because they created the fundamental concept.

Univac 1108 Census Bureau.jpg
Univac 1108 Census Bureau.jpg

The actual term "application program interface" first appeared in a 1968 paper regarding remote computer graphics. This interface allowed programmers to work with graphics without worrying about the specific details of the hardware. In 1974, C. J. Date introduced the term to the field of databases. By 1990, technologist Carl Malamud defined an API simply as a set of services available for performing certain tasks. As computer networks grew in the 1970s and 1980s, the idea expanded into remote procedure calls.

Database management system diagram from 1978 workshop.png
Database management system diagram from 1978 workshop.png

Today, there are many different types of APIs serving different needs. Web APIs are perhaps the most common, allowing computers to communicate over the internet using standards like XML or JSON.

Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png
There are also APIs for programming languages, software libraries, and computer hardware. For example, a library API describes the expected behavior of a tool, while the library itself is the actual implementation. Some APIs, called language bindings, allow a service written in one language to be used in another. Operating systems also use APIs, such as the POSIX standard, to help applications run on different systems like Linux.
Database management system diagram from 1978 workshop.png
Database management system diagram from 1978 workshop.png

APIs are essential to the modern digital world because they enable interoperability. This is the ability of many different systems to work together through shared standards. Building software with APIs is often compared to using building-block toys like Lego bricks.

LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
Each software service acts like a brick that can be snapped into a larger, more complex product. This modular approach allows for the creation of massive, interconnected systems that power the internet. From simple weather apps to complex global databases, APIs are the invisible threads that hold digital communication together.

661 words
🖼️ Images & Media (4)
File:LEGO-kompatiblo.jpg
LEGO-kompatiblo.jpg
File:Database_management_system_diagram_from_1978_workshop.png
Database_management_system_diagram_from_19...
File:Univac 1108 Census Bureau.jpg
Univac 1108 Census Bureau.jpg
File:Screenshot of NASA API documentation.png
Screenshot of NASA API documentation.png
Up Next
💻
Device driver
Technology
More to explore

What is Nepedia?

A free, ad-free encyclopedia for children. Every article is written at five reading levels, so the same page works for a five-year-old and a fifteen-year-old — use the level switcher above to see this one change. No account needed to read.