GET /cocktails/search
Search for cocktail recipes by name (e.g., margarita, mojito, old fashioned). Returns matching cocktails with names, images, ingredients with measurements, mixing instructions, glass type, and whether the drink is alcoholic. Data from TheCocktailDB. Useful for bartending apps, drink recipe sites, restaurant menu builders, and party planning tools.
GET /cocktails/random
Get a random cocktail recipe with full details: name, image, ingredients with measurements, mixing instructions, glass type, and category. Perfect for 'surprise me' drink features, cocktail-of-the-day widgets, bartending practice tools, and social gathering apps. Data from TheCocktailDB covering hundreds of classic and modern cocktails.
GET /cocktails/categories
List all available cocktail categories (e.g., Ordinary Drink, Cocktail, Shot, Punch/Party Drink, Coffee/Tea, Homemade Liqueur). Use these to build filtered cocktail browsing by drink type. Data from TheCocktailDB.
GET /cocktails/ingredients
List all available cocktail ingredients in the database (vodka, rum, gin, tequila, various mixers, garnishes, etc.). Use this to build ingredient-based recipe search, 'what can I make with what I have' features, and bar inventory management tools. Data from TheCocktailDB.
GET /cocktails/ingredient/:ingredient
Find all cocktails that use a specific ingredient (e.g., vodka, rum, lime juice). Returns matching cocktail names and thumbnails. Useful for building 'cocktails you can make' features based on available ingredients, ingredient-focused recipe discovery, and bartending apps that organize drinks by spirit type. Data from TheCocktailDB.