βœ•
πŸ”Œ 25 XP

APIs & JSON Β· ~7 min Β· 2 quick checks

What is an API?

An API (Application Programming Interface) is a menu of things one program lets other programs ask it to do.

Restaurant analogy: you (the client) don't walk into the kitchen. You order from a menu (the API), a waiter (the request) carries it, and the kitchen (the server) sends back your dish (the response).