Skip to content

APIs and endpoints

How the web actually works

Reading 1 of 5

An API is a menu of things a program can ask for

API stands for application programming interface, which explains nothing. Here is what it is: a list of requests your server agrees to answer, in a format meant for programs rather than people.

Where a web page returns HTML for a human to look at, an API returns data, usually JSON, for a program to use.

A page is for people. An API is for programs.