API Directory โ€บ Guides โ€บ What Is an API? A Plain-English Guide

What Is an API? A Plain-English Guide

An API lets two pieces of software talk to each other. Here's what that really means, with everyday analogies and real examples.

An API (Application Programming Interface) is a contract between two pieces of software: one side agrees to accept requests in a documented format and to answer them in a documented format. You send a request; you get a response. You never need to know how the other program works inside — only what it accepts and what it returns.

The usual analogy is a restaurant. Your app is the customer; the other company’s servers are the kitchen. You don’t walk into the kitchen — you give an order to the waiter (the API) using the menu (the documentation), and the waiter brings back your food (the data). The API is the messenger with a fixed menu and fixed rules.

Why software is built out of APIs

Almost every app you use is stitched together from other people’s APIs. A weather app calls a weather API. A checkout page calls a payments API. A travel site calls airline and hotel APIs. Building each of those capabilities from scratch would take years; calling an API that already does it well takes an afternoon.

What a web API call actually looks like

Here is a real, free call — Bitcoin’s price from CoinGecko. You send a URL; you get JSON back:

GET https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd

โ†’  { "bitcoin": { "usd": 64213 } }

Every request has the same parts: a method (GET to read, POST to create), a URL (which service, which resource, which filters), headers (authentication, the format you want), and sometimes a body (data you are sending). Every response has a status code (200 = OK, 404 = not found, 401 = unauthorised) and a body (usually JSON).

Public, private and partner APIs

Public / openAnyone can sign up and use it, often free. Weather, maps, crypto prices, dictionary data. The focus of this directory.
PartnerAvailable only to approved business partners under a contract.
Private / internalUsed only inside one company, to connect its own systems.

Key terms you will meet

How to start using one

Pick an API from the directory, read its authentication section, get a key if it needs one, and make one request with curl or your browser before writing any code. Check the status code first, then parse the body. If you get 401 the key is wrong; 429 means you are going too fast; 404 means the URL is wrong.

FAQ

What does API stand for?

Application Programming Interface. ‘Interface’ is the key word: it is the agreed boundary through which two programs talk, hiding everything behind it.

Is an API a website?

A web API uses the same technology as a website (HTTP, URLs) but returns data (usually JSON) for programs to read, not HTML pages for people to look at.

Are APIs free?

Many public APIs have a free tier that is enough for learning and small projects. Heavier use, commercial use, or premium data usually costs money. Each page in this directory states the limits.

Do I need to be a programmer to use an API?

To build something with one, yes — you write code that sends requests and handles responses. But you can explore any GET API right now by pasting its URL into a browser.

Keep going

Try it on a real API

Browse all 196 free APIs โ†’

๐Ÿ”Œ Explore free public APIs

Hundreds of free APIs, searchable by category, with auth & CORS at a glance.

Browse the directory โ†’