Get Ingredient Substitutes
GET {{baseUrl}}/food/ingredients/substitutes?ingredientName=butter
Search for substitutes for a given ingredient.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
ingredientName | string | (Required) The name of the ingredient you want to replace. |
RESPONSES
status: OK
{"ingredient":"butter","substitutes":["1 cup = 7/8 cup shortening and 1/2 tsp salt","1 cup = 7/8 cup vegetable oil + 1/2 tsp salt","1/2 cup = 1/4 cup buttermilk + 1/4 cup unsweetened applesauce","1 cup = 1 cup margarine"],"message":"Found 4 substitutes for the ingredient."}