The Food API uses Natural Language Processing and semantically structured data.
Each search string you input in the API goes through Edamam's proprietary natural language analysis engine. Food entities are found and quantities are attached to them when available.
In Food Logging mode the API allows for development of food logging chatbots. All text is analyzed and quantities of the food are estimated on the fly.
With Edamam's Food Database API you can use the native iOS or Android voice recognition for one click data entry. No more drop downs and search boxes are required.
Edamam provides access to a food and grocery database with close to 900,000 basic foods, restaurant items and consumer packaged foods
The foods in the Food API can be filtered by Diet and health filters generated by Edamam. All food database data is enriched with diet, allergy and nutrition labeling, as calculated by Edamam based on the food's ingredients. Peanut Free, Shellfish Free, Gluten Free, Vegan, and Vegetarian are some of the 70+ claims generated automatically.
For basic foods from the food database (flour, eggs, flour etc.), Edamam returns data for calories, fats, carbohydrates, protein, cholesterol, sodium, etc. for a total of 28 nutrients. For UPC foods and fast foods data is return as listed on their nutrition label
Data caching is allowed for some paid API plans when explicitly stated by plan’s terms. API customers can cache only the four basic macro nutrient datapoints - protein, total fat, net carbs and calories as well as the fooId, food label and food image. Saved data can be used only in the end user’s account, behind a password. The caching as described here does not allow API subscribers 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 and data elements described above. Active subscription to an eligible plan is required as long as the data is used
UPC or Barcode search
The Food Database API provides access to over 680,000 unique UPC codes.
Edamam provides free Food API access with its basic plan for developers, startups and non-profits alike.
Enterprise customers are charged a very low monthly and per call fee based on usage. Custom packages are also available.
** All plans allow only human, end user driven requests. The terms of the API prohibit any automated programatic requests with the goal to collect, scrape or save data provided by the API. The data returned in the response can be only used for presentation to the human end user who initiated the request and can not be stored. Edamam reserves the right to determine if the API is being used by automated means in which case the access to the API will be stopped immediately without refund to paid monthly fee.
***All Edamam plans require the following attribution by using the image provided here
and a link to http://developer.edamam.com . For the Recipe Analysis API, such attribution should be placed right next to the nutrition facts. You can see the available image formats and examples from other customers here
. Not providing attribution is considered breach of contract and is followed by immediate service suspension.