What is an API
An API (application programming interface) is how one program asks another to do something. Like a waiter: you don't walk into the kitchen, you give your order and the dish comes to you.
Almost everything useful already exists as an API: email (Resend, Brevo), payments (Stripe), AI (the Anthropic or OpenAI API), weather, maps, translation. The setup is nearly always the same: sign up, get an API key, put it in the server's environment variables rather than the code, and call the service from the server. The browser never sees the key.
Covered in the lessonAPIs: plugging in other servicesOpen the lesson →
Articles on this topic
Free course on this topic: Vibe coding →