What is API?

An API (application programming interface) is a defined way for one piece of software to request data or actions from another, such as a website fetching bookings from a scheduling system.

Curious how your site handles API?

Send me the address. I’ll look under the hood and tell you plainly what I find, free.

No newsletter. Just what you asked for, from me. Privacy

In plain English

An API is like a service counter. Your website asks for something in an agreed format, such as “list open appointment times,” and the other system responds with data. Neither needs to know how the other works inside.

Websites use APIs constantly: maps, payments, booking systems, review feeds, CRMs and headless CMSs all connect this way.

Why it matters for a small business

APIs let a small business website work with tools it already uses, rather than replacing them. They also create dependencies. If a provider changes or retires its API, the connected feature can break.

An example

A Calgary physiotherapy clinic uses an online booking system with an API. Instead of an iframe that looks out of place, the website fetches available times through the API and shows them in the site’s own design, while bookings still land in the clinic’s existing system.

Common mistakes

Where I see API go wrong most often.

  1. Putting private API keys in public website code where anyone can find them.

  2. Not handling the case where the API is down, so the page breaks instead of showing a fallback.

  3. Building a key feature on an API without checking its limits, pricing model or terms of use.

FAQ

API, answered

  1. No. It helps to know which services your site depends on, so you know what might be affected if one changes.

  2. They can be, with proper authentication and keys kept on the server rather than in public code.

Keep reading

Let’s begin

Let’s build something you’re proud to share.

Let’s Talk