APIs are behind almost every digital service you use, from booking a flight to paying by card or asking an AI assistant a question. In this IBM Technology explainer, Amanda Downie explains what an API is, the main types and architectures, and the central role APIs play in connecting AI to business software.
This guide covers the same ground in plain language, for anyone who needs to understand APIs without being a developer.
WHAT IS AN API?
API stands for Application Programming Interface. It is a defined way for one piece of software to request information or actions from another. A common analogy is a restaurant: you (the application) give your order to the waiter (the API), who takes it to the kitchen (the other system) and brings back your food (the response). You never need to know how the kitchen works.
HOW AN API REQUEST WORKS
- Endpoint: the address the request is sent to, for example a URL for customer records.
- Method: what you want to do, such as read data, create a record, update it or delete it.
- Authentication: an API key or token that proves you are allowed to make the request.
- Response: structured data sent back, usually in JSON format, along with a status code that shows whether it worked.
TYPES OF APIS
- Public (open) APIs: available to outside developers, such as weather or maps services.
- Partner APIs: shared with specific business partners.
- Internal (private) APIs: used within a company to connect its own systems.
COMMON API ARCHITECTURES
- REST: the most widely used style for web APIs, simple and flexible.
- SOAP: an older, stricter protocol still common in banking and enterprise systems.
- GraphQL: lets the client ask for exactly the data it needs in one request.
- gRPC: designed for fast communication between services.
WHY APIS MATTER FOR AI
Most businesses access AI models through APIs: an application sends text or data to a model provider and receives a response. APIs also let AI agents take action, such as creating a ticket, updating a CRM or sending a message. Standards like the Model Context Protocol (MCP) build on this idea to make tool connections reusable across AI applications. In short, the quality of a company's APIs often decides how easily it can put AI to work.
KEY TAKEAWAYS
- An API is a contract that lets software systems exchange data and actions.
- Requests go to endpoints, need authentication and return structured responses.
- REST is the most common architecture, with SOAP, GraphQL and gRPC used in specific cases.
- APIs are how AI models are accessed and how AI agents act in other systems.
FAQ
WHAT DOES API STAND FOR?
Application Programming Interface: a defined way for software applications to communicate with each other.
WHAT IS A REST API?
An API that follows REST conventions, using standard web requests to read, create, update and delete data. It is the most common type of web API.
WHAT IS AN API KEY?
A unique code that identifies and authorises the application making a request. It should be kept secret, like a password.
HOW DO AI TOOLS USE APIS?
AI models are offered through APIs, and AI agents call other systems' APIs to read data and take actions on a user's behalf.



