List All Ingredients - mkasfeldt/TheCocktailDB-Docs GitHub Wiki
The API call to list all ingredients by name.
https://www.thecocktaildb.com/api/json/v1/1/list.php?i=list
Subscriber API Call (Subscribe to The Cocktail DB through Patreon)
https://www.thecocktaildb.com/api/json/v2/API_Key/list.php?i=list
- Replace API_Key with your API key
Returns a JSON object of 'drinks' that contains an array of ingredients with key-pairs that provide information about it. The array will contain a maximum of 100 ingredients for the free API key.
A drinks object that contains an array of drinks with the following fields:
Key Name | Value |
---|---|
strIngredient1 |
(string) The ingredient name. |
https://www.thecocktaildb.com/api/json/v1/1/list.php?i=list
{"drinks":[{"strIngredient1":"Light rum"},{"strIngredient1":"Applejack"},{"strIngredient1":"Gin"},{"strIngredient1":"Dark rum"},{"strIngredient1":"Sweet Vermouth"},{"strIngredient1":"Strawberry schnapps"},{"strIngredient1":"Scotch"},{"strIngredient1":"Apricot brandy"},{"strIngredient1":"Triple sec"}, ...]}