What the response contains
Try Margarita, Mojito, and Negroni and use the returned fields to identify the right record.
Fields worth checking
- Type
- Glass
- Ingredients
Type a real query, scan the cards and confirm the key details before opening the full source.
Try Margarita, Mojito, and Negroni and use the returned fields to identify the right record.
Fields worth checking
/search.php?s={name} returns drinks with fields such as idDrink, strDrink, strCategory, strAlcoholic, strGlass, instructions, ingredients, measures, an image, and modification date. A Margarita search also returned instructions in some languages. Translation availability varies by drink; use an available language and do not fill an absent field with an invented translation.
/filter.php?i={ingredient} returns a reduced list: in a Gin search, each item had strDrink, strDrinkThumb, and idDrink. This route suits a grid or selecting a next drink, but it does not contain the complete recipe. After selecting an item, fetch its record by identifier before listing measures, glass, or instructions.
A record can state whether a drink is alcoholic, its glass, and instructions, but it does not know a reader’s preferences, medical restrictions, or consumption context. Show ingredients and measures as supplied and leave preparation and consumption decisions to informed adults under local rules. For a non-alcoholic drink, search specifically for that kind of result instead of randomly removing alcohol from a recipe.