API
A defined way for one piece of software to ask another for data or to do something, like a menu with an order window.
What it is
An API is a set of requests a system accepts and the answers it gives back. Your app's frontend uses one to talk to its backend; your backend uses other companies' APIs to send texts, charge cards, or check the weather.
Think of it as a restaurant menu: you don't walk into the kitchen, you order from a fixed list and get a dish back. Each item on the menu is an endpoint.
When you want your app to connect to another service, the question is usually "does that service have an API, and what can it do?"
How to ask for it
“Make it pull in the stock prices.”
“Fetch the latest price for each ticker in the watchlist from a market data API every 15 minutes, store it with a timestamp, and show "Last updated 3 min ago" on the dashboard.”
"Pull in" leaves the source and timing open; naming an API with a refresh schedule and storage plan defines the integration.
You've seen this in
- AA travel site pulling flight prices from airlines
- YYour app sending texts through Twilio
- SGoogle Maps embedded in a store locator