Recipe Search by Ingredients
Search for recipe that contain certain ingredients
Parameter
Example
Get the list of recipes with specific ingredients
{
searchRecipesByIngredients(
mustIngredients: ["broccoli", "eggs", "avocado"]
) {
edges {
node {
name
ingredients {
name
}
ingredientLines
}
}
}
}{
"data": {
"searchRecipesByIngredients": {
"edges": [
{
"node": {
"name": "Garlic Roasted Broccoli",
"ingredients": [
{
"name": "Olive oil"
},
{
"name": "Broccoli florets"
},
{
"name": "Garlic"
},
{
"name": "Salt"
}
],
"ingredientLines": [
"12 oz broccoli leaves",
"1 tbsp extra virgin olive oil",
"2 cloves garlic, sliced",
"Salt, to taste",
"Freshly ground black pepper to taste"
]
},
{
"node": {
"name": "Avocado With Tomatoes",
"ingredients": [
{
"name": "Avocado"
},
{
"name": "Tomato"
},
{
"name": "Cumin"
},
{
"name": "Garlic powder"
},
{
"name": "Oregano"
},
{
"name": "Salt"
},
{
"name": "Lemon juice"
}
],
"ingredientLines": [
"* 1 avocado",
"* 1/2 tomato",
"* a dash of cumin powder",
"* a dash of garlic powder",
"* a dash of oregano",
"* little salt to taste",
"* few drop of lemon juice (optional)"
]
}
}
]
}
}
}UI/UX example

Last updated
Was this helpful?