Recipe - Food - Nutrition

FREEMIUM
By spoonacular
Updated 8 months ago
Food
9.9/10
Popularity Score
486ms
Latency
97%
Success Rate

Recipe - Food - Nutrition API Documentation

The spoonacular Nutrition, Recipe, and Food API allows you to access over 365,000 recipes and 86,000 food products. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as "gluten free brownies without sugar" or "low fat vegan cupcakes." You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps.

Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, low sodium, low carb, Paleo, Primal, ketogenic, FODMAP, and Whole 30. We will soon be adding Weight Watcher points, too.

View API Details
Compute
GETQuick Answer
POSTClassify Cuisine
GETMatch Recipes to Daily Calories
POSTCreate Recipe Card
POSTVisualize Ingredients
POSTVisualize Recipe Nutrition
POSTVisualize Price Breakdown
GETSummarize Recipe
POSTClassify a Grocery Product
POSTClassify Grocery Products (Batch)
POSTMap Ingredients to Grocery Products
POSTVisualize Equipment
GETConvert Amounts
GETGenerate Meal Plan
GETVisualize Product Nutrition
GETVisualize Menu Item Nutrition
GETVisualize Recipe Nutrition by id
GETGuess Nutrition by Dish Name
GETVisualize Recipe Ingredients by id
GETVisualize Recipe Equipment by id
GETVisualize Recipe Price Breakdown by id
Extract
GETExtract Recipe from Website
POSTParse Ingredients
GETAnalyze a Recipe Search Query
POSTAnalyze Recipe Instructions
POSTDetect Food in Text
Search
GETSearch Recipes
GETSearch Recipes by Ingredients
GETSearch Recipes by Nutrients
GETGet Similar Recipes
GETSearch Grocery Products
GETAutocomplete Ingredient Search
GETSearch Recipes Complex
GETAutocomplete Recipe Search
GETGet Random Recipes
GETSearch Site Content
GETSearch Grocery Products by UPC
GETGet Ingredient Substitutes by Id
GETGet Ingredient Substitutes
GETSearch Food Videos
GETSearch Menu Items
GETGet Comparable Products
GETGet Wine Pairing
GETGet Dish Pairing for Wine
GETGet Wine Description
GETGet Wine Recommendation
GETAutocomplete Menu Item Search
GETAutocomplete Product Search
GETRecipe Complex Search
Data
GETGet Recipe Information
GETGet Product Information
GETGet Analyzed Recipe Instructions
GETGet a Random Food Joke
GETGet Random Food Trivia
GETGet Food Information
GETGet Recipe Information Bulk
GETGet Menu Item Information
GETGet Recipe Equipment by id
GETGet Recipe Price Breakdown by id
GETGet Recipe Ingredients by id
GETGet Recipe Nutrition by id
Chat
GETTalk to a chatbot
GETGet Conversation Suggests
GETSearch Recipes by Nutrients

Find a set of recipes that adhere to the given nutrient limits. All the found recipes will have macro nutrients within the calories, protein, fat, and carbohydrate limits.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
minCarbsNUMBER
OPTIONALThe minimum number of carbohydrates in grams the recipe must have.
minProteinNUMBER
OPTIONALThe minimum number of protein in grams the recipe must have.
offsetNUMBER
OPTIONALThe offset number for paging in the interval [0,990].
numberNUMBER
OPTIONALThe number of expected results in the interval [1,10].
randomBOOLEAN
OPTIONALIf true, every request will give you a random set of recipes within the requested limits.
maxCaloriesNUMBER
OPTIONALThe maximum number of calories the recipe can have.
maxCarbsNUMBER
OPTIONALThe maximum number of carbohydrates in grams the recipe can have.
maxFatNUMBER
OPTIONALThe maximum number of fat in grams the recipe can have.
maxProteinNUMBER
OPTIONALThe maximum number of protein in grams the recipe can have.
minFatNUMBER
OPTIONALThe minimum number of fat in grams the recipe must have.
minCaloriesNUMBER
OPTIONALThe minimum number of calories the recipe must have.
minAlcoholNUMBER
OPTIONALThe minimum number of alcohol in grams the recipe must have.
maxAlcoholNUMBER
OPTIONALThe maximum number of alcohol in grams the recipe must have.
minCaffeineNUMBER
OPTIONALThe minimum number of milligrams of caffeine the recipe must have.
maxCaffeineNUMBER
OPTIONALThe maximum number of alcohol in grams the recipe must have.
minCopperNUMBER
OPTIONALThe minimum number of copper in milligrams the recipe must have.
maxCopperNUMBER
OPTIONALThe maximum number of copper in milligrams the recipe must have.
minCalciumNUMBER
OPTIONALThe minimum number of calcium in milligrams the recipe must have.
maxCalciumNUMBER
OPTIONALThe maximum number of calcium in milligrams the recipe must have.
minCholineNUMBER
OPTIONALThe minimum number of choline in milligrams the recipe must have.
maxCholineNUMBER
OPTIONALThe maximum number of choline in milligrams the recipe can have.
minCholesterolNUMBER
OPTIONALThe minimum number of cholesterol in milligrams the recipe must have.
maxCholesterolNUMBER
OPTIONALThe maximum number of cholesterol in milligrams the recipe must have.
minFluorideNUMBER
OPTIONALThe minimum number of fluoride in milligrams the recipe must have.
maxFluorideNUMBER
OPTIONALThe maximum number of fluoride in milligrams the recipe can have.
minSaturatedFatNUMBER
OPTIONALThe minimum number of saturated fat in grams the recipe must have.
maxSaturatedFatNUMBER
OPTIONALThe maximum number of saturated fat in grams the recipe must have.
minVitaminANUMBER
OPTIONALThe minimum number of Vitamin A in IU the recipe must have.
maxVitaminANUMBER
OPTIONALThe maximum number of Vitamin A in IU the recipe must have.
minVitaminCNUMBER
OPTIONALThe minimum number of Vitamin C milligrams the recipe must have.
maxVitaminCNUMBER
OPTIONALThe maximum number of Vitamin C in milligrams the recipe can have.
minVitaminDNUMBER
OPTIONALThe minimum number of Vitamin D in micrograms the recipe must have.
maxVitaminDNUMBER
OPTIONALThe maximum number of Vitamin D in micrograms the recipe must have.
minVitaminENUMBER
OPTIONALThe minimum number of Vitamin E in milligrams the recipe must have.
maxVitaminENUMBER
OPTIONALThe maximum number of Vitamin E in milligrams the recipe must have.
minVitaminKNUMBER
OPTIONALThe minimum number of Vitamin K in micrograms the recipe must have.
maxVitaminKNUMBER
OPTIONALThe maximum number of Vitamin K in micrograms the recipe must have.
minVitaminB1NUMBER
OPTIONALThe minimum number of Vitamin B1 in milligrams the recipe must have.
maxVitaminB1NUMBER
OPTIONALThe maximum number of Vitamin B1 in milligrams the recipe must have.
minVitaminB2NUMBER
OPTIONALThe minimum number of Vitamin B2 in milligrams the recipe must have.
maxVitaminB2NUMBER
OPTIONALThe maximum number of Vitamin B2 in milligrams the recipe must have.
minVitaminB5NUMBER
OPTIONALThe minimum number of Vitamin B5 in milligrams the recipe must have.
maxVitaminB5NUMBER
OPTIONALThe maximum number of Vitamin B5 in milligrams the recipe can have.
minVitaminB3NUMBER
OPTIONALThe minimum number of Vitamin B3 in milligrams the recipe must have.
maxVitaminB3NUMBER
OPTIONALThe maximum number of Vitamin B3 in milligrams the recipe can have.
minVitaminB6NUMBER
OPTIONALThe minimum number of Vitamin B6 in milligrams the recipe must have.
maxVitaminB6NUMBER
OPTIONALThe maximum number of Vitamin B6 in milligrams the recipe can have.
minVitaminB12NUMBER
OPTIONALThe minimum number of Vitamin B12 in micrograms the recipe must have.
maxVitaminB12NUMBER
OPTIONALThe maximum number of Vitamin B12 in micrograms the recipe must have.
minFiberNUMBER
OPTIONALThe minimum number of fiber in grams the recipe must have.
maxFiberNUMBER
OPTIONALThe maximum number of fiber in grams the recipe must have.
minFolateNUMBER
OPTIONALThe minimum number of folate in grams the recipe must have.
maxFolateNUMBER
OPTIONALThe maximum number of folate in grams the recipe must have.
minFolicAcidNUMBER
OPTIONALThe minimum number of folic acid in grams the recipe must have.
maxFolicAcidNUMBER
OPTIONALThe maximum number of folic acid in grams the recipe must have.
minIodineNUMBER
OPTIONALThe minimum number of Iodine in grams the recipe must have.
maxIodineNUMBER
OPTIONALThe maximum number of iodine in grams the recipe must have.
minIronNUMBER
OPTIONALThe minimum number of iron in milligrams the recipe must have.
maxIronNUMBER
OPTIONALThe maximum number of iron in milligrams the recipe can have.
minMagnesiumNUMBER
OPTIONALThe minimum number of magnesium in milligrams the recipe must have.
maxMagnesiumNUMBER
OPTIONALThe maximum number of magnesium in milligrams the recipe can have.
minManganeseNUMBER
OPTIONALThe minimum number of manganese in milligrams the recipe must have.
maxManganeseNUMBER
OPTIONALThe maximum number of manganese in milligrams the recipe can have.
minPhosphorusNUMBER
OPTIONALThe minimum number of phosphorus in milligrams the recipe must have.
maxPhosphorusNUMBER
OPTIONALThe maximum number of phosphorus in milligrams the recipe can have.
minPotassiumNUMBER
OPTIONALThe minimum number of potassium in milligrams the recipe must have.
maxPotassiumNUMBER
OPTIONALThe maximum number of potassium in milligrams the recipe can have.
minSeleniumNUMBER
OPTIONALThe minimum number of selenium in grams the recipe must have.
maxSeleniumNUMBER
OPTIONALThe maximum number of selenium in grams the recipe must have.
minSodiumNUMBER
OPTIONALThe minimum number of sodium in milligrams the recipe must have.
maxSodiumNUMBER
OPTIONALThe maximum number of sodium in milligrams the recipe must have.
minSugarNUMBER
OPTIONALThe minimum number of sugar in grams the recipe must have.
maxSugarNUMBER
OPTIONALThe maximum number of sugar in grams the recipe must have.
minZincNUMBER
OPTIONALThe minimum number of zinc in milligrams the recipe must have.
maxZincNUMBER
OPTIONALThe maximum number of zinc in milligrams the recipe can have.
limitLicenseBOOLEAN
OPTIONALWhether the recipes should have an open license that allows for displaying with proper attribution.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication