APIs, explained: how software talks to software
Almost every app you use is quietly talking to other software in the background. The mechanism that lets them do it is the API — short for application programming interface.
A contract, not a mystery
An API is best understood as a contract. It defines a set of requests one program can make and the responses it will get back, without exposing how the work is actually done inside. A weather app, for example, does not run its own network of sensors. It sends a request to a weather service’s API — “what is the forecast for this location?” — and receives a structured answer it can display.
The classic analogy is a restaurant menu. You order from the menu without knowing how the kitchen operates. The menu is the interface; the kitchen is the implementation. An API works the same way: it lists what you can ask for and hides the machinery behind it.
Why it matters
APIs are what make modern software composable. A developer building a store does not have to build payments, maps, and messaging from scratch — they connect to APIs that already provide those capabilities. This lets small teams build sophisticated products quickly, and it lets large services open up their features for others to build on.
Well-designed APIs are also stable: because the contract stays the same, the provider can improve or rewrite what happens behind it without breaking the apps that depend on it. That stability is exactly why developers value a clear, consistent interface.
The bigger picture
When people say the internet is “connected,” APIs are a big part of what they mean. Every time an app logs you in with another account, pulls in a map, or processes a payment, an API call is happening. They are the plumbing of the digital economy — invisible when they work, and essential all the same.