What is API?

What is API?

API stands for Application Programming Interface. 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.API architecture is usually explained in terms of client and server. The application sending the request is called the client, and the application sending the response is called the server. So in the weather example, the bureau’s weather database is the server, and the mobile app is the client.


There are four different ways that APIs can work depending on when and why they were created.

Click here to return to Amazon Web Services homepage

What is Cloud Computing? Cloud Computing Concepts Hub Application Integration

What is an API (Application Programming Interface)?


What is an API?

APIs are mechanisms that enable two software components to communicate with each other using a set of definitions and protocols. For example, the weather bureau’s software system contains daily weather data. The weather app on your phone “talks” to this system via APIs and shows you daily weather updates on your phone.


What does API stand for?

API stands for Application Programming Interface. 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.


How do APIs work?

API architecture is usually explained in terms of client and server. The application sending the request is called the client, and the application sending the response is called the server. So in the weather example, the bureau’s weather database is the server, and the mobile app is the client.


There are four different ways that APIs can work depending on when and why they were created.


SOAP APIs

These APIs use Simple Object Access Protocol. Client and server exchange messages using XML. This is a less flexible API that was more popular in the past.


RPC APIs

These APIs are called Remote Procedure Calls. The client completes a function (or procedure) on the server, and the server sends the output back to the client.


Websocket APIs

Websocket API is another modern web API development that uses JSON objects to pass data. A WebSocket API supports two-way communication between client apps and the server. The server can send callback messages to connected clients, making it more efficient than REST API.


REST APIs

These are the most popular and flexible APIs found on the web today. The client sends requests to the server as data. The server uses this client input to start internal functions and returns output data back to the client. Let’s look at REST APIs in more detail below.


What are REST APIs?

REST stands for Representational State Transfer. REST defines a set of functions like GET, PUT, DELETE, etc. that clients can use to access server data. Clients and servers exchange data using HTTP.


The main feature of REST API is statelessness. Statelessness means that servers do not save client data between requests. Client requests to the server are similar to URLs you type in your browser to visit a website. The response from the server is plain data, without the typical graphical rendering of a web page.

To view or add a comment, sign in

More articles by Madhumitha B

  • Industrial visit

    I recently had the opportunity to participate in an industrial visit to Zephyr Technologies & Solutions in Mangalore…

  • Industrial visit

    I recently had the opportunity to participate in an industrial visit to RDL Technologies Pvt. Ltd.

  • The Day AI Says “No” to Humans

    Artificial Intelligence has become a powerful part of our daily lives. From simple mobile applications to advanced…

  • Role of Robotics in Healthcare

    Robotics is one of the most important technologies in the modern world. In recent years, robotics has played a major…

  • Artificial Intelligence in Civil Engineering

    In analysis and design, FEM has revolutionized civil engineering; by employing intelligent algorithms, it enabled civil…

  • AI in Healthcare

    The rise of artificial intelligence in healthcare has been revolutionary, completely reshaping how patients are…

  • Gen AI in 2026

    We all saw the initial wave of AI-generated noise. But as we settle into 2026, the novelty has worn off, and utility is…

    1 Comment
  • SQL vs NoSQL: Choosing the Right Database

    That is a great summary of the fundamental differences between SQL and NoSQL. To expand on your notes, it’s helpful to…

  • IMMOBILISER IN KEYS

    An immobiliser or immobilizer is an electronic security device fitted to a motor vehicle that prevents the engine from…

  • Microsoft Certified Course. Completion

    Navigating the Future: In an era where artificial intelligence is no longer a futuristic concept but a daily utility…

Others also viewed

Explore content categories