TheCocktailDB

Cocktail recipes, ingredients and glassware

🩺 Health & FoodHEALTHYchecked 8h ago
AUTH NONECORS ✓AGENT ✓HTTPS ✓COMMERCIAL ?

TheCocktailDB is a crowd-sourced drinks database with the free test key `1` embedded in the URL path. Pull a random cocktail, search by name, or filter by ingredient — every response is JSON with measures, instructions and thumbnail images. Sister project to TheMealDB.

78HOW IT'S SCORED ⓘ
Status badge · for your READMEshipapis health badge: 78 · healthy
Uptime history
100%90 days
100%30 days
167P50 · ms
1338P95 · ms
operationalpartialdownno data
Response time · last 48 checks
Fastest 51 ms, slowest 826 ms, most recent 51 ms.
Live response samplecaptured by our last successful check
GET https://www.thecocktaildb.com/api/json/v1/1/random.php

{
  "drinks": [
    {
      "idDrink": "11053",
      "strDrink": "Arise My Love",
      "strDrinkAlternate": null,
      "strTags": null,
      "strVideo": null,
      "strCategory": "Ordinary Drink",
      "strIBA": null,
      "strAlcoholic": "Alcoholic"
    }
  ]
}
Call itcurl · fetch · python
curl "https://www.thecocktaildb.com/api/json/v1/1/random.php"
const res = await fetch("https://www.thecocktaildb.com/api/json/v1/1/random.php");
const data = await res.json();
console.log(data);
import requests

res = requests.get("https://www.thecocktaildb.com/api/json/v1/1/random.php")
print(res.json())
Endpoints · 3HealthyFULL DOCS ↗
Monitored path responding — GET /random.php167 mschecked 8h ago
GET/random.phpPROBED

Cocktail recipes, ingredients and glassware

GET/list

Paginated list of resources.

GET/random.php?limit=5

Paginated variant with limit parameter.

Machine-readable spec

We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.

Response-shape history

Stable. No schema drift observed since monitoring began — the response shape has not changed under our checks.

TheCocktailDB: common questions

Is TheCocktailDB free to use?

Yes — TheCocktailDB is a free health & food API. Free tier: Free — limits not published. Whether the free tier allows commercial use is unclear — check the provider docs.

Does TheCocktailDB need an API key?

No — TheCocktailDB needs no API key or signup. You can call it straight away; rate limits still apply (Unpublished).

Can I call TheCocktailDB from the browser?

Yes — TheCocktailDB returns CORS headers over HTTPS, so front-end code can fetch it directly with no backend proxy. Use the fetch snippet on this page, or hit "Run live" to try it now.

Is TheCocktailDB up right now?

As of our last scheduled check, TheCocktailDB is healthy with 100% uptime over 90 days and a 167 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.