Search for a Cocktail Recipe or Ingredient
Learn how to use TheCocktailDB to search for the recipe of a cocktail or ingredient.
We'll cover the following
Let’s assume that we had a great time at a party, and we loved a particular drink served. However, we can’t recall the precise name of the drink. TheCocktailDB API can help us search for the recipe of that drink. Along with a typical search, by using the name functionality, TheCocktailDB API allows searching for drinks using just their initials. This helps users find the recipe of a drink whose name they can’t recall.
Search drink or ingredient
We can search for the recipe of a cocktail or ingredient using the base URI, www.thecocktaildb.com/api/json/v1/1/search.php
.
Request parameters
We can use these query parameters with this endpoint:
Get hands-on with 1200+ tech skills courses.