Learn AI Math

API

What is API?

In one sentence: An API, or Application Programming Interface, is a set of rules that lets one program talk to another.

It is like a restaurant menu: it lists what you can order and how to ask for it, and the kitchen handles the rest. AI companies offer APIs so developers can send text to a model and get answers back in their own apps.

What does API look like?

A weather app showing today's forecast by asking a weather service's API.

Why does API matter?

APIs are how AI gets built into apps, websites and tools.

Last updated · Fact-checked by The AI Math

Linking to this page from a lesson or article?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.