Data
Cocktails by ingredient API
Find cocktails made with a given ingredient (e.g. Vodka, Gin, Lime) via TheCocktailDB (keyless, free), returning drink stubs with id, name, and thumbnail. Answers 'what cocktails use vodka', 'drinks with gin', 'cocktails containing lime', 'what can I make with rum'.
Price$0.01per request
MethodPOST
Route/v1/data/food-cocktail-by-ingredient
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache86400s public
drinkcocktailingredientfilterbarthecocktaildbmixologyspirits
API URL
Integration docshttps://x402.hexl.dev/v1/data/food-cocktail-by-ingredientExample request
{
"ingredient": "Vodka"
}Example response
{
"ingredient": "Vodka",
"count": 2,
"drinks": [
{
"id": "11000",
"name": "Mojito",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/metwgh1606770327.jpg"
}
]
}Input schema
{
"type": "object",
"required": [
"ingredient"
],
"properties": {
"ingredient": {
"type": "string",
"examples": [
"Vodka",
"Gin"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}