Nutrition Analysis API Copy/paste any food recipe and learn its nutrition details in under a second
This API covers all key use cases related to recipe and food text natural language processing and nutrition analysis. The API employs NLP (Natural Language Processing) which allows for extraction of food entities from unstructured text.
- Covered Use Cases -- Full analysis of food recipes in real time – entity extraction, measure and quantity extraction with computation of the applicable nutrition for the recipe and applicable health and diet labels. Finally, it adjusts quantity for certain ingredients to account for the cooking process. For example, it calculates oil absorption for fried recipes, excludes solids from stock and broth recipes, calculates marinate absorption for marinates and much more. -- Extraction of food entities with measures and quantities from unstructured text. -- Usage in chatbots transcribing natural speech to text.
Key features
Full recipe nutrition analysis Submit the full text of any recipe or ingredient list. Edamam will extract the full nutrition and ingredient data from the text. No more need to spend hours entering your recipes line by line. The nutrition analysis takes less than a second!
Text Analysis Our Natural Language Processing engine allows for the extraction of food named entities from text. We also allow combined entity extraction with food database search. Once a text is submitted and entities are extracted our database is searched for additional food matches to the extracted entities.
Structured data and nutrition data output Edamam returns detailed information for each ingredient line for the Recipe Analysis and for each text string for the Text Analysis. You can get information for the entire recipe as a whole or broken down automatically for each ingredient. For each food (flour, eggs, flour etc.), Edamam returns data for calories, fats, carbohydrates, protein, cholesterol, sodium, etc. for a total of 28 macro and micronutrients. All food nutrient data is enriched with diet, allergy and health labeling, as calculated by Edamam based on the food's ingredients. Vegan, Paleo, Gluten Free, Low-Sodium, and Dairy Free are some of the 90+ claims generated automatically.
Data Caching The terms of use of the Edamam Data are covered in the API Terms of Use and do not permit data caching unless explicitly permitted by Edamam. The data caching described here does not constitute permission to copy or reuse the Edamam data. Data caching is allowed for some paid API plans when explicitly stated by the plan’s terms. API customers can cache only the four basic macro nutrient data points - protein, total fat, net carbs, and calories. Saved data can be used only in the end user’s account, behind a password. The caching as described here does not allow customers to build a copy of the Edamam data to be reused in any form or to build a food search. The API still provides full nutrient data which can be displayed on call without caching and customers can only cache the nutrients described above. Active subscription to an eligible plan is required as long as the data is used as well as attribution to Edamam.
Low-cost solution Edamam provides free recipe nutrition analysis and text analysis with its basic plan for developers, startups and non-profits alike. Enterprise customers are charged a very low monthly licensing fee for recipe analysis based on usage. Custom packages are also available.