v1cocktail
Search for cocktail recipes by name or ingredients using the API Ninjas Cocktail API, supporting partial matches and ingredient-based filtering.
Instructions
API Ninjas Cocktail API endpoint. Either name or ingredients parameter must be set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | name of cocktail. This parameter supports partial matches (e.g. bloody will match bloody mary and bloody margarita) | |
| ingredients | No | comma-separated string of ingredients to search. Only cocktails containing all listed ingredients will be returned. For example, to search cocktails containing Vodka and lemon juice, use vodka,lemon juice. |