API
An API is a set of rules that lets two pieces of software talk to each other without either one needing to know how the other is built.
In plain English
Think of a restaurant. You don't walk into the kitchen and start cooking. You read a menu, tell the waiter what you want, and food arrives. The menu is the API: a fixed list of things you're allowed to ask for, written in a format the kitchen understands.
When your WordPress site pulls posts from another site, sends an order to a payment provider, or asks an AI model to write a product description, it's ordering from a menu. It never sees the kitchen.
Why it matters
Almost everything interesting on a modern website happens through an API. Your contact form hands the message to a mail service. Your shop hands the payment to Stripe or Mollie. Your AI plugin hands the prompt to a model and gets text back.
Once you understand APIs, “connect this to that” stops being magic and becomes a task you can plan, price and debug.
How it works
- A request goes outYour site sends a message to a URL called an endpoint, usually carrying a key that proves who you are.
- The other service does the workIt checks the key, runs whatever it does internally, and never shows you the inside.
- A response comes backAlmost always JSON — a compact block of labelled data your site can read.
- Your site does something with itStores it, displays it, or triggers the next step in a workflow.
Keep your keys out of the browser
The most common API mistake is putting a secret key somewhere visitors can see it. Keys belong in server-side settings or environment variables — never in a page template, a JavaScript file, or a public repository.
Watch it in a real build
Related terms
Tip: use ← and → to move between entries.
One email a week. The thing I'd tell you over coffee.
What changed in WordPress and AI that week, what I'd actually use, and what I'd ignore. Written by me, not summarised by a tool.
- New tutorials the moment they're published
- Honest verdicts on tools — including the ones I dropped
- No sequences, no upsells, one click to leave
Pick a starting point. Have something real by tonight.
Every tutorial is free, complete, and built in real time — including the bits that break. Start where you are, not where a course thinks you should be.