
What Is an API and How Does It Work?
An API (application programming interface) is a set of rules that lets one program ask another for data or an action. How a request and response work, the main types of APIs, everyday examples, what third-party APIs cost in 2026 and what to check before your product depends on one.