TheCocktailDB
Cocktail recipes, ingredients and glassware
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.
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"
}
]
}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())/random.phpPROBEDCocktail recipes, ingredients and glassware
/listPaginated list of resources.
/random.php?limit=5Paginated variant with limit parameter.
We probe a documented GET and expect 2xx JSON — full uptime and health score. Export includes every documented route below.
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 300 ms median response. We re-probe it every sweep — the status badge and uptime chart above always show the latest.