Sign Up

Log In

Edamam Nutrition Analysis

By edamam
Updated 2 months ago
Popularity Score
Success Rate

Edamam Nutrition Analysis API Documentation

The Nutrition Analysis API and Database uses Natural Language Processing and semantically structured data. This is the most advanced nutrition analysis technology available! 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!
  • Edamam returns detailed information for each ingredient line. You can get information for the entire recipe as a whole or broken down automatically for each ingredient.

Food database

  • Edamam provides access to a food nutrient database with over 100,000 basic foods and consumer packaged goods
  • For basic foods (flour, eggs, flour etc.), Edamam returns data for calories, fats, carbohydrates, protein, cholesterol, sodium and another 30 micronutrients. For packaged foods and fast foods data is return as listed on their nutrition label
  • 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, Dairy Free are some of the 20+ claims generated automatically.

Low cost solution

  • Edamam provides free nutrient database access and recipe nutrition 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 and/or food data calls based on usage. Custom packages are also available.
View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub
GETFood Text Analysis
GETFood Text Analysis

Extracts information from a short unstructured food text – usually an ingredient line and returns: - Structured data for the text – quantity, measure and food, if available - Diet, health and allergen labels for the text - With the build in food logging feature it allows for change of context. For example “rice” will normallly be matched to raw rice while with the food logging feature on it will match to ready to eat ‘cooked rice’

Sign up to test this endpoint
Log in
Header Parameters
Required Parameters
REQUIREDAn ingredient line with quantity and measure
Optional Parameters
OPTIONALWhen set to nutrition-type=logging it turns on the food logging feature
Request Snippet
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
Sample Response


Log inSign up

Install SDK for NodeJS


To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard