Software Development

What is API?

Quick answer

Application Programming Interface: a defined set of rules that lets one piece of software request data or services from another.

API, explained

An API acts like a menu in a restaurant. It lists what you can order and how to ask for it, without exposing how the kitchen works. Developers use APIs to connect apps to payment processors, maps, weather data, AI models, and countless other services.

For example, a weather app might send a request such as GET /forecast?city=Darjeeling to a provider's API and receive structured data, often in JSON, describing temperature and rainfall. Well-designed APIs are documented, versioned, and secured with authentication keys or tokens. Common styles include REST, GraphQL, and gRPC. APIs are also a business model: many companies charge for access based on usage.

Related terms

API Gateway

A server that sits in front of backend services and handles routing, authentication, rate limiting, and monitoring for API requests.

API Key

A unique code that identifies an application or user when it calls an API, used to control access, track usage, and apply billing.

Backend

The server-side part of an application that handles data storage, business logic, and integrations, out of the user's direct view.

Function Calling

A feature that lets a language model request a specific software function, with structured inputs, so an application can take an action or fetch data.

GraphQL

A query language and runtime for APIs that lets clients request exactly the data they need in a single request.

Interoperability

The ability of different systems, devices, or applications to exchange data and work together without special effort from users.

JSON

JavaScript Object Notation: a lightweight, text-based format for storing and exchanging structured data.

Model Context Protocol

An open standard, known as MCP, that defines how AI applications connect to external tools, data sources, and services in a consistent way.

OAuth

An open standard that lets users grant an app limited access to their data on another service without sharing their password.

Open Banking

A system in which banks securely share customer financial data with authorized third-party apps through APIs, with the customer's consent.

REST API

An API that follows Representational State Transfer principles, using standard HTTP methods and URLs to work with resources.

Rate Limiting

Restricting how many requests a user, device, or application can make to a service within a set time period.

Robotic Process Automation

Software bots that mimic human actions on a computer, such as clicking, typing, and copying data, to automate repetitive tasks.

Software Development Kit

A packaged set of tools, libraries, documentation, and code samples that helps developers build software for a specific platform or service.

Webhook

An automated message one application sends to another via an HTTP request when a specific event happens.

XML

Extensible Markup Language: a text-based format that uses custom tags to structure, store, and exchange data.

Guides that mention API