List All Ingredients - mkasfeldt/TheCocktailDB-Docs GitHub Wiki

Description

The API call to list all ingredients by name.

Format

API Call

Free Key API Call

https://www.thecocktaildb.com/api/json/v1/1/list.php?i=list

https://www.thecocktaildb.com/api/json/v2/API_Key/list.php?i=list

  • Replace API_Key with your API key

JSON Return

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.

JSON Return Format

A drinks object that contains an array of drinks with the following fields:

Key Name Value
strIngredient1 (string) The ingredient name.

Example

API Call Example

https://www.thecocktaildb.com/api/json/v1/1/list.php?i=list

JSON Response Example

{"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"}, ...]}

⚠️ **GitHub.com Fallback** ⚠️