Skip to content

What is an API?

An API is a set of rules that lets one program ask another for data or actions. Your app uses APIs to talk to outside services, such as maps, payments, or weather.

An example

A weather app asks a weather service's API for "tomorrow's forecast in Boston." The API sends back the temperature and chance of rain, and the app shows them.

Where you’ll meet it