Technical Docs
  • Introduction
  • Guides
    • Getting Started
    • Attribution Guidelines
    • Core Concepts
      • Adherence Score
      • Programs, Diets, and Rulesets
      • User Profile
      • Datasets
    • Tutorials and Walkthroughs
      • Creating a Meal Plan
      • Food Log Guide
      • Pagination
      • Executing Multiple Mutations
  • Knowledge Base
    • How-to guides
      • How to add desserts to your meal plan
      • How to log your custom recipe
      • How to generate a Meal Plan based on a template
    • Common errors
      • Meal Plan generation
    • FAQs
      • Getting Started on Suggestic
      • API and Authentication
      • Device Compatibility
      • Meal Plan
      • Nutrition
      • Programs
      • Recipes
  • HELPFUL RESOURCES
    • Deprecated Features
    • Glossary
    • Integrations
      • Building a No-code Meal Planning Application
        • Step 1: Creating the Integromat Scenario and Google Forms Connection
        • Step 2: Creating a User, Generating a Meal Plan, and Retrieving It
        • Step 3: Crafting Our PDF and Connecting PDFMonkey
        • Step 4: Sending The Document to Our User
  • Packages and SDKs
    • Node Package (NPM)
  • GraphQL
    • GraphQL Overview
    • Authentication
    • Calling GraphQL
    • GraphQL Playground
  • Changelog
    • 2025
      • March
      • April
  • Suggestic API Reference
    • Search
      • Food Log
        • Branded Foods Search
        • Common Foods Search
        • My Branded Food Search
        • My Common Foods Search
        • Food Search
        • Legacy
          • Autocomplete
          • Barcode Search
      • Recipe Search
        • Recipe Search
        • Recipe Search by Name or Ingredients
        • Recipe Search by Ingredients
      • Meal Plan Template Search
      • Profile Search
      • Restaurant Search
        • Restaurant Search by Location
        • Restaurant Search
    • Queries
      • Appointments
        • Upcoming Appointments
        • Past Appointments
        • Appointments Types
      • Assessments
        • Assessment Answers
        • Display Assessments
        • Supplement Recommendations
        • User Assessments
      • Content
        • Content Library
        • Content Categories
        • Content Tags
        • Journey
      • Food Log
        • Frequently Logged
        • Food Log Entries
        • Macros Aggregation
        • Micronutrients Aggregation
        • Macro Goals
        • Recently Logged
        • User's Foods and Recipes
          • User's Recipes
        • Legacy
          • Food Log Entries (Legacy)
          • Own Food Items
          • Own Food Item
          • Own Food Item by Id
          • Own Items
          • Own Recipe
          • Own Recipes
      • Lab Tests
        • Biomarker Categories
        • Biomarker Units
        • Biomarker Catalog
        • Biomarkers
        • Biomarker Results
        • Historical Biomarker Results
        • Historical Results by Biomarker
        • Lab Test Reports
        • Recommended Supplements
        • Recommended Articles
      • Meal Plan
        • Meal Plan
        • Custom Meal Plan
        • Simplified Meal Tracking
          • Meal Tracker
        • Meal Plan Config
        • Meal Planner (deprecated)
      • Program
        • All Programs
        • Program Details
      • Recipes
        • Equivalent Recipes (Macros)
        • Equivalent Recipes (Calories)
        • Recipe by Id
        • Recipes By MealTime
        • Recipes By Tag
        • Recipe Swap Options
        • Popular Recipes
        • Favorite Recipes
        • Premium Program Recipes
      • Restaurants
        • Restaurant By Id
        • Menu Items
        • Menu Item By Id
        • Menu Item by Program
        • Recommend Menu Items
      • Restrictions
        • Restrictions
        • Restriction by ID
      • Shopping List
        • Shopping List by Aisle
        • Shopping List by Recipes
      • Subscriptions
        • Subscription List
      • Supplement Plans
        • Supplement plan list
        • Supplement list
      • Tracking
        • Activity and Exercise
        • Checklists
          • Intake Checklist
        • Daily Recap
          • Get Daily Recap
          • Get Daily Recaps
          • Get Daily Recap Questions
          • Get Daily Mood Summary
        • Inisghts
        • Wellness Score
        • Sleep
          • Sleep Time
          • Sleep Quality Score
        • Steps
        • Water and Hydration
        • Heart Rate
        • HRV
        • Weight Tracker
      • USDA Food
      • Users
        • Users
        • User Profile
      • WGPT
        • Assistants
        • Journey
        • Guardrails
    • Mutations
      • Appointments
        • Update Appointment Credits
      • Assessments
        • New User Assessments
        • Set User Answers
      • Content
        • Mark Content as Read
      • Feedback
      • Food Log
        • Log Entries
          • Food Log
            • Add a Food Log Entry
            • Delete a Food Log Entry
          • Meal Log (Legacy)
            • Create Log Entry
            • Update Log Entry
            • Remove Log Entry
        • User's Foods and Recipes
          • Create a User Recipe
          • Create my Branded Food
          • Create my Common Foods
          • Update a User Recipe
          • Delete a User Recipe
          • Legacy: "Own" Recipe
            • Create "Own" Recipe
            • Update "Own" Recipe
            • Remove "Own" Recipe
        • AI Food Log
          • Process Ai Food
        • Legacy (ownFoods and ownRecipes)
          • Create "own" Food Item
          • Update "own Food"
          • Remove "own" Food Item
      • Journey Status
        • Start Journeys
        • Journey Status
        • Toggle Task Completed
      • Lab Tests
        • Add Biomarker
        • Update Biomarker
        • Add Biomarker Result
        • Add Biomarker Category
        • Update Biomarker Category
        • Remove Biomarker Category
        • Add Lab Test Report
        • Delete Lab Test Report
        • Update Lab Test Report
        • Create Recommended Supplement
        • Update Recommended Supplement
        • Remove Recommended Supplement
        • Create Recommended Article
        • Update Recommended Article
        • Remove Recommended Supplement
      • Meal Plan
        • Create Meal Plan Template
          • Custom Options
          • From Days
          • From Scratch
        • Assign a Meal Plan Template to a User
        • Generate Simple Meal Plan
        • Generate Meal Plan
        • Start Over Meal Plan
        • Swap Meals
        • Simplified Meal Tracking
          • Create a Meal Tracker Entry
        • Remove Meal Plan
        • Remove Meal Plan Recipe
      • Recipes
        • Add new recipe
        • Add Favorite Recipe
      • Shopping List
        • Add Multiple Recipes to the Shopping List
        • Add a Recipe to the Shopping List
        • Bulk Check/Uncheck Items
        • Check/Uncheck an Item
        • Clear Checked Items
        • Clear Shopping List
        • Remove Recipe
        • Update Serving Number
      • Subscriptions
        • Update Subscription
      • Supplement Plans
        • Create supplement plan for user
        • Update user supplement plan
        • Add Supplement
        • Update Supplement
      • Tracking
        • Activity and Exercise
          • Add Exercise Entry
          • Delete Exercise Entry
        • Checklists
          • Create my Checklist Item
          • Delete my Checklist Item
        • Daily Recap
          • Create a daily recap question
          • Select Daily Recap Questions
          • Delete a Daily Recap Question
        • Sleep
          • Add Sleep Time
          • Add Sleep Quality Score
        • Steps
          • Add Steps Count
          • Delete Steps Count
        • Heart Rate
          • Add Heart Rate
          • Delete Heart Rate
        • HRV
          • Add HRV
          • Delete HRV
        • Water and Hydration
        • Weight
          • Add Weight Entry
          • Remove Weight Entry
        • User Tracker Goals
          • Create User Goal
          • Update User Goal
          • Remove User Goal
      • Users
        • Authenticate using a Magic Link
        • Create User
        • Custom Attributes
        • Delete a User Account
        • Login User
        • Merge User Accounts
        • Request Reset Password
        • Reset Password
        • Request Password Reset email
        • Sensitive Profile Attributes
        • Update Profile
        • Update User's Program
        • User's Restrictions
        • Update Meal Plan Settings
        • User's Goals
        • Legacy User Mutations
          • Legacy | User's Biomarkers
          • User's Meal Plan Settings (deprecated)
      • WGPT
        • Add user to journey
  • Objects
    • Appointments
      • Appointment
      • Appointment Type
      • Appointment Credit
      • Attendee
      • Coach
    • Common
      • User
      • Adherence
      • Aisle Name
      • CPC
      • CPCIngredientGroup
      • Meal Times
      • Menu Item
      • Own Serving
      • Own Nutrients
      • MacroNutrientsRangeInput
      • Range
      • Tracker
      • Restaurant
    • Food Logs
      • Food Filter
      • Ingredient Amount
      • Ingredients
      • Own Recipe Ingredient
      • Meal Type
      • Nutrients
        • Nutrient Enum
      • Portions
      • Servings
      • AI Food Log
        • Food Analysis
    • Meal Plan
      • Debug Meal Plan Conditions
      • Meal
      • Meal Plan Day
      • Maximum Time per Meal
      • Maximum Ingredient Count
      • Meal Plan Template
      • Simple Meal Plan Filters
    • Recipe
      • Recipe
        • Tags
        • Cuisines
      • Recipe Swap Options
      • Parsed Ingredient Lines
      • Nutritional Info
      • Nutrients Per Serving
      • Calories Per Serving
      • Relative Calories
      • Source
      • Ingredients
      • Units of Measurement
    • Lab Tests
      • Article
      • Biomarker
    • Supplement
    • Assessments
      • Question
      • Answer
    • Content
      • Content Library
      • Content Categories
      • Content Tag
    • WGPT
      • Journey
      • dayJourney
      • Interaction
  • Case Studies
    • Reverse Health Case Study
Powered by GitBook
On this page
  • Available Arguments
  • Available Fields
  • Example
  • Example with tags
  • Example with cuisines

Was this helpful?

  1. Suggestic API Reference
  2. Queries
  3. Recipes

Recipes By MealTime

Obtain recommended recipes by mealTime

Use the recipesByMealTime query to obtain a set of recommended recipes for different meals.

These recommendations change daily.

Available Arguments

None of the following arguments are required:

Argument

Type

Description

mealTime

RecipeMealTime

Valid values are: BREAKFAST, LUNCH, DINNER, SNACK, TREAT_DESSERT

dietaryTags

[DietaryTag]

Possible values: VEGETARIAN DAIRY_FREE GLUTEN_FREE PLANT_BASED VEGAN

maxPrepTime

Int

Maximum preparation time in minutes. Sending this parameter filters out recipes with prep time longer than this value.

cuisines

[String]

Example:[Mexican, Asian, Thai, American]

Available Fields

The following fields will be displayed in the response:

Field Name

Type

Description

id

ID!

The recipe's id

databaseId

String

The database id of the recipe

totalTime

String

Total preparation and cooking time in text format

E.g., 5 minutes

name

String

Name of the recipe

Example

{
  recipesByMealTime(mealTime: BREAKFAST) {
    edges {
      node {
        name
        mealTags
      }
    }
  }
}
{
  "data": {
    "recipesByMealTime": {
      "edges": [
        {
          "node": {
            "name": "Soft Boiled Eggs With Salmon And Spring Mix",
            "mealTags": [
              "Breakfast"
            ]
          }
        },
        {
          "node": {
            "name": "1-Day Cleanse Glowing Green Smoothie",
            "mealTags": [
              "Breakfast"
            ]
          }
        },
        {
          "node": {
            "name": "Sweet Potato Breakfast Skillet Hash",
            "mealTags": [
              "Breakfast"
            ]
          }
        }
      ]
    }
  }
}

Example with tags

The following example filters the recipe by meal time and dietary tags

{
  recipesByMealTime(mealTime: BREAKFAST, dietaryTags: [GLUTEN_FREE]) {
    edges {
      node {
        name
        author
        ingredients {
          name
        }
        instructions
        ingredientLines
      }
    }
  }
}
{
  "data": {
    "recipesByMealTime": {
      "edges": [
        {
          "node": {
            "name": "Superfood Protein Shake ",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Hemp heart seeds"
              },
              {
                "name": "Chia seeds"
              },
              {
                "name": "Kale"
              },
              {
                "name": "Flax seed"
              },
              {
                "name": "Pumpkin seeds"
              },
              {
                "name": "Walnuts"
              },
              {
                "name": "Coconut milk"
              }
            ],
            "instructions": [
              "Add all ingredients to blender and blend until you reach the desired consistency.",
              "You can add extra water in case you need to adjust the consistency."
            ],
            "ingredientLines": [
              "1 teaspoons hemp heart seeds",
              "1/4 cup chia seeds",
              "1/2 cup kale",
              "3 tablespoons flax seed",
              "1 handful pumpkin seeds",
              "1 handful walnuts",
              "1 cup unsweetened coconut milk"
            ]
          }
        },
        {
          "node": {
            "name": "Mushroom Omelette With Avocado",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Mushrooms"
              },
              {
                "name": "Eggs"
              },
              {
                "name": "Olive oil"
              },
              {
                "name": "Cherry tomatoes"
              },
              {
                "name": "Yellow onion"
              },
              {
                "name": "Avocado"
              }
            ],
            "instructions": [
              "Crack eggs into a mixing bowl and beat with a fork.",
              "Heat olive oil in frying pan and add chopped onion, tomatoes and mushroooms until they are soft.",
              "Set aside vegetables and add eggs to the pan, moving them around to spread them out.",
              "When the omelet begins to firm up, sprinkle over the vegetables.",
              "Serve with avocado and season with black pepper and herbs of your choice."
            ],
            "ingredientLines": [
              "1/2 cup mushrooms",
              "3 eggs",
              "2 tablespoons olive oil",
              "1/2 cup cherry tomatoes",
              "1/4 yellow onion",
              "1/2 avocado"
            ]
          }
        },
        {
          "node": {
            "name": "Eggs With Guacamole And Veggies",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Spinach"
              },
              {
                "name": "Olive oil"
              },
              {
                "name": "Guacamole"
              },
              {
                "name": "Eggs"
              },
              {
                "name": "Chia seeds"
              },
              {
                "name": "Red bell pepper"
              }
            ],
            "instructions": [
              "Sauté chopped bell pepper and spinach in olive oil.",
              "Add the eggs to the pan and cook them.",
              "Sprinkle with chia seeds and serve with guacamole."
            ],
            "ingredientLines": [
              "1 cup spinach",
              "3 tablespoons olive oil",
              "1/2 cup guacamole ",
              "3 eggs",
              "7 teaspoons chia seeds",
              "1 red bell pepper"
            ]
          }
        },
        {
          "node": {
            "name": "Greek Yogurt With Fruits And Nuts",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Nuts"
              },
              {
                "name": "Fruit"
              },
              {
                "name": "Greek yogurt"
              }
            ],
            "instructions": [
              "Serve the greek yogurt with one cup of fruit of your choice and 10 nuts.",
              "You can add vanilla extract or cinnamon in order to spice it up.",
              "You can also add the ingredients to a blender in order to create a smoothie, adding extra water in case you need to adjust the consistency."
            ],
            "ingredientLines": [
              "10 nuts",
              "1 cup fruit",
              "1 cup greek yogurt"
            ]
          }
        },
        {
          "node": {
            "name": "Scrambled Eggs With Chives",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Avocado"
              },
              {
                "name": "Ricotta cheese"
              },
              {
                "name": "Hemp seeds"
              },
              {
                "name": "Butter"
              },
              {
                "name": "Chives"
              },
              {
                "name": "Eggs"
              }
            ],
            "instructions": [
              "Beat eggs and ricotta cheese in bowl until blended.",
              "Heat butter in frying pan over medium heat.",
              "Pour in egg mixture.",
              "As eggs begin to set, gently pull the eggs across the pan with a spatula, forming large soft curds.Continue cooking and folding eggs until thickened and no visible liquid egg remains.",
              "Sprinkle over fresh chives and hemp seeds.",
              "Season with black pepper and herbs of your choice.",
              "Serve with avocado slices."
            ],
            "ingredientLines": [
              "1/2 avocado",
              "1 ounce ricotta cheese",
              "2 teaspoons hemp seeds",
              "2 tablespoons butter",
              "1/2 cup fresh chives",
              "2 eggs"
            ]
          }
        },
        {
          "node": {
            "name": "Oatmeal Pancakes With Blueberries",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Oat flour"
              },
              {
                "name": "Blueberries"
              },
              {
                "name": "Butter"
              },
              {
                "name": "Egg"
              },
              {
                "name": "Almond milk"
              }
            ],
            "instructions": [
              "In a blender, combine the oat flour, egg and almond milk.",
              "Blend until the mixture is smooth.",
              "Heat a frying pan over medium heat.",
              "Fry spoonfuls of the batter until golden brown on both sides.",
              "You can add some blueberries while the batter is cooking, so they burst into the pancakes, or serve them on top of the finished pancakes."
            ],
            "ingredientLines": [
              "1 cup oat flour",
              "1/2 cup blueberries",
              "1 tablespoon butter",
              "1 egg",
              "1 1/2 cup almond milk"
            ]
          }
        },
        {
          "node": {
            "name": "Coconut Milk Kefir With Almonds And Chia Seeds",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Coconut milk kefir"
              },
              {
                "name": "Chia seeds"
              },
              {
                "name": "Almonds"
              }
            ],
            "instructions": [
              "Add all ingredients to a blender and blend until mixture is smooth.",
              "You can always add some water in order to adjust the desired consistency."
            ],
            "ingredientLines": [
              "1/2 cup coconut milk kefir",
              "7 teaspoons chia seeds",
              "10 almonds"
            ]
          }
        },
        {
          "node": {
            "name": "Veggie Omelette With Olives",
            "author": "Suggestic",
            "ingredients": [
              {
                "name": "Olive oil"
              },
              {
                "name": "Green olives"
              },
              {
                "name": "Cheese cheddar"
              },
              {
                "name": "Eggs"
              },
              {
                "name": "Vegetables"
              }
            ],
            "instructions": [
              "Crack eggs into a mixing bowl and beat with a fork.",
              "Heat olive oil in frying pan and add vegetables.",
              "Cook until soft.",
              "Set aside vegetables and add eggs to pan.",
              "When the eggs begin to firm up, add the vegetables and sprinkle on cheese.",
              "Serve with green olives and season with black pepper and herbs of your choice."
            ],
            "ingredientLines": [
              "2 tablespoons olive oil",
              "6 green olives, pitted",
              "1 ounce cheddar cheese, grated",
              "2 eggs",
              "1 cup mixed vegetables"
            ]
          }
        }
      ]
    }
  }
}

Example with cuisines

{
recipesByMealTime(cuisines:["Mexican", "Asian"]){
edges { 
    node { 
        name 
        mealTags 
        cuisines 
        }
     }
   }
}
{
  "data": {
    "recipesByMealTime": {
      "edges": [
        {
          "node": {
            "name": "Breakfast Tacos",
            "mealTags": [
              "Breakfast"
            ],
            "cuisines":[
            "Mexican"
            ]
          }
        },
        {
          "node": {
            "name": "Fried Shallots",
            "mealTags": [],
             "cuisines":[
            "Asian"
            ]
          }
        }
      ]
    }
  }
}
PreviousRecipe by IdNextRecipes By Tag

Last updated 2 years ago

Was this helpful?

Refer to to get the complete list of recipe fields you can add to the query response.

this documentation