Saltar al contenido principal
Aprende en 10
HomeLessonsWhat is an API?
Lesson 02 · Technology

$ Understand what

What is an API?an API is. · in 7 min.

Your weather app doesn't measure the temperature. It asks someone for it.

In 7 minutes you'll know what an API is, how a request and its response travel, and you'll read a real exchange like a conversation.

No app knows everything: it asks for it. Understanding that exchange is understanding half the internet.

Two programs exchanging a request and a response
  1. Request — What one program asks for: where and what it wants.
  2. Endpoint — The exact address that handles that request.
  3. Response — What the other side returns, with a status.
  4. Format — The agreed language of the response, usually JSON.

Keep going

Lessons that go with this one