Recipe - Food - Nutrition

FREEMIUM
By spoonacular
Updated 8 months ago
Food
9.9/10
Popularity Score
470ms
Latency
96%
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
POSTCreate Recipe Card

Create a recipe card given a recipe.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
backgroundImageSTRING
REQUIREDThe background image ("none","background1", or "background2").
imageBINARY
REQUIREDThe binary image of the recipe as jpg.
ingredientsSTRING
REQUIREDThe ingredient list of the recipe, one ingredient per line.
instructionsSTRING
REQUIREDThe instructions to make the recipe. One step per line.
maskSTRING
REQUIREDThe mask to put over the recipe image ("ellipseMask", "diamondMask", "diamondMask", "starMask", "heartMask", "potMask", "fishMask").
readyInMinutesNUMBER
REQUIREDThe number of minutes it takes to get the recipe on the table.
servingsNUMBER
REQUIREDThe number of servings that you can make from the ingredients.
titleSTRING
REQUIREDThe title of the recipe.
Optional Parameters
authorSTRING
OPTIONALThe author of the recipe.
backgroundColorSTRING
OPTIONALThe background color on the recipe card as a hex-string.
fontColorSTRING
OPTIONALThe font color on the recipe card as a hex-string.
sourceSTRING
OPTIONALThe source of the recipe.
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication