API: Application Programming Interface: a defined way for one piece of software to talk to another. An API lets an app ask a service for data or actions without knowing how that service works inside.
Example
A food delivery app shows your order status by calling the restaurant system's API. The app sends a request with your order ID; the API replies with the status, such as "Out for delivery".
How an API Works
- A client sends a request, for example a mobile app asking for a user's orders.
- The API checks it, such as whether the user is logged in (authentication).
- The server does the work, usually reading or writing a database.
- The API sends a response, commonly as JSON, with a status code saying whether it worked.
Think of a restaurant menu: you choose from a fixed list and the kitchen prepares it. You never need to know how the kitchen works.
Types of APIs You Will Hear About
| Type | What it means |
|---|---|
| REST API | The most common style; uses URLs and HTTP methods such as GET and POST |
| Third-party API | A service from another company, such as payments, maps, or SMS |
| Internal API | Used between a company's own systems, not open to the public |
| Library API | The functions a library or SDK exposes to your code |
How Interns Work with APIs
- Backend interns build or change API endpoints and their validation.
- Frontend interns call APIs and show the data on screen.
- QA interns test APIs with tools such as Postman, checking status codes and responses.
- Data interns pull data from APIs for analysis.
API Questions in Interviews
Common questions include "What is an API?", "What is the difference between GET and POST?", and "What does a 404 or 500 status code mean?" If your project uses an API, expect to explain one endpoint: what it receives, what it does, and what it returns. Practise in the technical interview questions guide.
Related terms
- REST API: the most common style of web API.
- HTTP: the protocol most web APIs use.
- JSON: the data format most APIs send and receive.
- Backend: where APIs are usually built.
- Authentication: how an API checks who is calling it.
Previous term: Analytics | Next term: Aptitude Test
Related guides
- Frontend vs Backend: Which Is Better for an Internship?
- Technical Interview Questions for Freshers
- Which Technology Should I Learn for an IT Internship?
Frequently asked questions
What is an API in simple words?
An API is a set of rules that lets one program ask another program for data or actions, without knowing how the other program works inside.
What is an example of an API?
A weather app calling a weather service's API to get today's temperature, or a shopping site calling a payment gateway's API to take a payment.
What is the difference between an API and a REST API?
API is the general idea. A REST API is a common style of web API that uses URLs and HTTP methods such as GET, POST, PUT, and DELETE.
Do I need to know APIs for an internship?
For most development and testing internships, yes. Know what an API is, the main HTTP methods, common status codes, and how your own project uses one.
Explore more internship terms
The IT Internship Glossary explains 199 terms you will hear before and during your internship, with simple definitions and real examples.
Browse all 199 terms