Food API
Food API - for food inventory, food traceability, food sales & shipping, food manufacturing, food packing. Fully open API for any developer to integrate with Producepak food business management app.

Food API - For food businesses


Use the Producepak API to connect your financial solution, payroll, integrate with temperature & moisture sensors, create your own interfaces, link with your transport company, scales and weighing equipment, RFID, and video & camera systems.  

Fresh produce API integration
Fresh produce API integration

Using the farmsoft API you can connect all parts of your fresh produce enterprise in a seamless centralized manner.  Perform the integration using your own I.T. department, outsource to your preferred vendor, or simply ask our development team to do it for you.  

GET STARTED - Go to Settings > Technical > and select "API configuration" from the more options drop down (top right).

CREATE YOUR API KEY - Select Create API key, and copy your key.  Note this is a secret key for your company only.

TEST YOUR API CONNECTION - Select Test API, if you don't get any data back, that is because you have no Task/s in your database.

START USING YOUR API CONNECTION - use your chosen API enabled interface to make calls to [please refer to this document]

If you receive “No data found using those filters.” Please change the filters and call again, OR there is simply no matching data.

API calls are limited to 4 per second using the same API key, if this is exceeded your API will be blocked (no response) for 60 seconds.

Only one API call can be processed at a time using the same key, no response will be issued for subsequent calls if a call is already pending.

All dates are MM/DD/YY

All date/time are MM/DD/YY HH:MM AM

The API uses Bearer authentication

You should use Crystal Reports or similar software to mine your data (writing your own reports from scratch is time consuming without these tools)

Security will block your IP address if an excessive number of API requests are received in a short time period

Fresh produce API integration

If you are unable to connect to the API, please contact support.  We love to provide support, however, support for using an API is too technical for our support team (unless you have a  Premium Support contract).  For all other matters related to the API, your company is expected to have the expertise to proceed without requesting support.  We are unable to tell you how to use the data, how to filter it, or how to write SQL or build reports from it, we will not write your SQL, we are unable to change the filtering of the data (once again, you can do this yourself using whatever tool you have chosen).  The data is provided in a flat file XML format, with the associations between data logical and determined by using the "Data Definition" document.  It is assumed a company capable of using an API is capable of understanding and massaging the data without assistance.

DOWNLOAD THE DATA DEFINITION FOR EACH API CALL HERE.  This document also includes source code samples and other technical details.  

Make your own reports!

Did you know you can design your own reports, labels, invoices, and documents?

The only food API you'll ever need.

Our knowledge engineers spent years crafting our complex food ontology, which allows us to understand the relationships between ingredients, recipes, nutrition, allergens, and more.

We understand "nut free" muffins can't contain pecans (even if the recipe doesn't mention "nuts" anywhere!) and we automatically determine that a recipe with Worcestershire sauce isn't vegetarian (we're looking at you, anchovies.)

API Slides

Download API slides

Food Ontology



  • ⤷ nutrition data
  • ⤷ price data
  • ⤷ cooking tips
  • ⤷ health information
  • ⤷ substitutions
  • ⤷ conversions
  • ⤷ mapping to products



  • ⤷ nutrition analysis
  • ⤷ cost breakdown
  • ⤷ cooking tips
  • ⤷ related recipes
  • ⤷ scaling/converting
  • ⤷ semantic search
  • ⤷ wine pairings
  • ⤷ shoppable content



  • ⤷ ingredient analysis
  • ⤷ nutrition data
  • ⤷ nutrition visualization
  • ⤷ descriptions
  • ⤷ product comparison
  • ⤷ product search

Menu Items


  • ⤷ over 800 American restaurant chains
  • ⤷ nutrition data
  • ⤷ nutrition visualization
  • ⤷ images
  • ⤷ descriptions
  • ⤷ menu search

Use Cases

spoonacular case study

Special Diets/Intolerances

We automatically analyze recipes to check for ingredients that contain common allergens, such as wheat, dairy, eggs, soy, nuts, etc. We also determine whether a recipe is vegan, vegetarian, Paleo friendly, Whole30 compliant, and more.

Nutritional Information

We compute the nutritional information for recipes automatically using a proprietary algorithm. With this information, you can find individual recipes or even create entire meal plans that satisfy your users' dietary goals.

Something else in mind?

We are more than just a recipe API. We provide solutions to make any food-related vision a reality.

  • ✓ find recipes to use ingredients you already have ("what's in your fridge" search)
  • ✓ find recipes based on nutritional requirements
  • ✓ extract recipes from any website
  • ✓ classify a recipe's type or cuisine
  • ✓ generate an entire meal plan
  • ✓ generate shopping lists
  • ✓ UPC lookup of American grocery products
  • ✓ detect food in text (NER)
  • ✓ food trivia and jokes
  • ✓ create a chatbot
    Request a custom solution



Glycemic Index Data

Glycemic Index Data

We now have glycemic index and glycemic load data for many ingredients and can compute the total glycemic load for multiple ingredients or a recipe. Check out the dedicated endpoint or just find the data that is now added to the "nutrition" object called "properties",

Widget Code

We have updated all the widget endpoints for visualizing recipe nutrition, equipment, price breakdown, and ingredients and you can use the "play" button in the docs to preview the widgets.

Furthermore, you can find fully working example code that you can copy to your projects which we host on GitHub here:

Meal Planning Updates

In our last release, we introduced our new meal planning API and we were surprised how many of you adopted it so quickly! From the feedback we received we added and improved a couple endpoints:

  • You can add all meals from a certain meal plan template to a user's meal plan with just one API call, see: Add to Meal Plan.
  • You can now clear an entire meal planned day with just one API call, see: Clear Meal Plan Day.
  • Instead of preloading an entire week of planned meals (which can be quite a big json response), you can now load individual days, see: Get Meal Plan Day.
  • Instead of adding meals one by one, you can now pass a list of items to add to the meal planner in a single call, see: Add to Meal Plan.

What else is new?

In our last release, we introduced our new meal planning API and we were surprised how many of you adopted it so quickly! From the feedback we received we added and improved a couple endpoints:

  • You can now search ALL kinds of food, even videos and articles, in a single endpoint.
  • We have published a short guide explaining the wines currently covered by our database. This data is relevant for all wine-related endpoints.

Saturday, September 26, 2020

Meal Planning API

New meal planning endpoints are now officially available in the spoonacular food API. Go and check out what you can do:

Whether you want to generate meal plans, compute shopping lists, or manage food tracking, it is all possible. Go and build something tasty!

Sunday, July 5, 2020

spoonacular image recognition comparison

spoonacular food image classification versus Amazon, Google, Imagga, Clarifai, Microsoft, and Watson: Read all here:

Tuesday, April 21, 2020

Show more (11 left)

via Content Hub

API Users

Our API is used by hundreds of universities, schools, companies, and hackathons all around the world. See some applications built with the recipe API and check out the map:

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.

Food database

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

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 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.

Low-cost solution

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.

10 Most Popular Food APIs

Brief, Food, Bars, Nutrition, Restaurants, Top APIs

Aug 06, 2019

By Joy Culbertson, ProgrammableWeb Staff

Developers looking to create applications for chefs, nutritionists, farmers, and foodies have plenty of Application Programming Interfaces, or APIs, to choose from. ProgrammableWeb's Food category contains hundreds of APIs that provide information about food, products, nutrition, restaurants, spirits, special diets, food remedies, nutrients, organics, food labels & barcodes, allergens, ordering, delivery services, grocery markets, farming & agriculture, taste, recipes, reviews and more.

In this article, we examine ten popular Food APIs, chosen by user page visits on ProgrammableWeb.

1. Food API

spoonacular's Food and Recipe API provides access to over 360,000 recipes and 80,000 food products. The API enables users to search for recipes using natural language (such as "gluten-free brownies without sugar"). Users can visualize recipe nutrition and ingredient lists, analyze recipe costs, find recipes by nutritional requirements, favorite ingredients, or what's in the refrigerator, classify recipes, convert ingredient amounts, and even compute an entire meal plan. The service covers ingredients, recipes, food products, and menu items.

spoonacular Food API includes a Visualize Recipe Nutrition feature
spoonacular Food API includes a Visualize Recipe Nutrition feature. Image: spoonacular

2. Edamam Food Database API

Edamam provides nutrition analysis tools and applications. The Edamam Food Database API can enable applications to find nutrition and diet data for generic foods, packaged foods, and restaurant meals. It uses Natural Language Processing to extract food entities from unstructured text. Use the API to search for a food by given nutrient quantity, brand, keyword, name or UPC/Barcode. It allows users to source nutrition facts for a given food, like macro and micronutrients, allergen labels and more.

Related: Edamam Adds to its Suite of Nutrition APIs

3. Chomp API

Chomp API provides access to nutritional data on over 500,000 food products. The Chomp API enables developers to programmatically access nutrition labels, ingredients, trace ingredients, allergen warnings, product images, barcodes, and more. The service provides a "Product List Builder" to generate a customized list of products that match inputted search terms. A customer could use this to retrieve data for all products in the United States that include cheese ingredients, organic products that include a nut allergen, plant-based products that include vitamin B6, etc.

Chomp provides lists of unfriendly ingredients for vegan, vegetarian, and gluten free lifestyles
Chomp provides lists of unfriendly ingredients for vegan, vegetarian, and gluten-free lifestyles. Screenshot: Chomp

4. Can I Eat It? Barcode API

Can I Eat It? is a social food and drink application for users to connect and share food products and nutritional information. Developers can enable applications to access data about over 80,000 food products with the Can I Eat It? Barcode API. The API supports product search by name, product search by barcode, basic product information, tasting notes, detailed nutritional data, allergen lists, vegan, vegetarian, and fairtrade status.

5. USDA Food Composition Databases API

The USDA Food Composition Databases API allows developers to incorporate nutrient data into their websites and applications. The API provides both Food Reports and Nutrient Reports. Food Reports list the nutrient values for a specified food (e.g. cheddar cheese, potatoes); Nutrient Reports return lists of foods and their nutrient values for a given set of nutrients (e.g. protein, iron).

6. Food2Fork Recipe API

Food2Fork is a recipe sharing website. The Food2Fork Recipe API provides JSON responses to access recipes based on a huge recipe database, powerful ingredient search Function, and social-media based ranking algorithm.

Food2Fork API
Screenshot: Food2Fork

Also of Interest: 7 Top Nutrition APIs

7. BigOven Recipe API

BigOven is a social network that aims to make users better cooks. Users can query recipes, plan menus, and make shopping lists with the BigOven Recipe site. The BigOven Recipe API enables users to get 350,000+ recipes and hundreds of thousands of photos. This API gives developers and data scientists working on applications in the food-tech, health, grocery delivery, home automation field access to recipes at affordable prices. Search by title, ingredient, keyword, nutritional information (paid plan required) plus manage folders and grocery lists in the cloud.

8. BARZZ API is an online bar, restaurant and nightclub directory. The BARZZ API allows users to retrieve detailed bar and nightclub venue information including bar type, location, amenities, hours, daily specials, and more. Data is available for bars and venues in over 60 cities and regions across the USA and growing daily.

9. FatSecret Platform API

The FatSecret Platform API is a food and nutrition database that is utilized by more than 10,000 developers in more than 50 countries. Use the API to integrate high quality, curated food, nutrition, and calorie data into mobile apps, websites, devices, and complementary products and services.

10. EatStreet API

The EatStreet API allows developers to get information and menu data for local restaurants as well as place and track orders for takeout and delivery. EatStreet's database includes menu information for more than 12,000 restaurants. The API can also be used to create and manage user accounts, including information such as credit cards and addresses.

But this is only a small sampling of the 175 APIs, along with 26 SDKs, and 24 Sample Source Codes that are available in the ProgrammableWeb directory.


Producepak food manufacturing app

Read more
Read more
Read more
Read more
Read more
Read more
Read more
Read more
Read more
Read more

Producepak provides a simple solution for food manufacturers, processors, food packers, fresh produce packers, pack-houses, fruit & vegetable packers, and food packers. Producepak concentrates on food safety, food inventory control, food expiry management, first in first out stock rotation, food order management, food production management in batches, food shipping & sales, food export / import. Use the Producepak Quality Control module to improve food safety, or turn on a simple food safety checklist to ensure consistent quality food packing and production.

Producepak food manufacturing app is a simple to use solution for buying, and selling food inventory, fresh produce, seafood, meats, and flowers. The traceability built into Producepak provides instant recalls, accurate food traceability, and easy to produce audits, and mock audits. Producepak provides tools to pack food, fresh produce, flowers, and hops. You can use Producepak for food manufacturing, configure the bill of materials for each food product line you manufacture, and manage the food manufacturing process by projecting required raw ingredients requirements and scheduling batches and purchase orders for raw food manufacturing processes. Accurate fresh produce inventory management reduces waste through better FIFO stock rotation, stock-takes, and inventory alerts.

Increase the efficiency of food inventory using options like scanning incoming bar-codes to reduce data entry & errors. Guarantee food quality with quality control testing systems. Customer feedback management, supplier quality, customer qulity standards.

Producepak food manufacturing app can project required inventory (and shortages), schedule orders to be packed in batches , automatic alerts to production line managers, inventory teams telling them which inventory needs to be moved to which production line; guarantees the correct product and quantity is packed on time. Shipping teams are guided through the dispatch process from picking using a phone or tablet (optional bar-code scanning), automatic picking, thru bill of lading, invoice, and automatic shipping notifications for customers, transport, and sales teams. Automatic generation of food labels, bill of lading, invoice, picking documents and more; reduces administrative burden. Easy audit & recall systems reduces compliance costs.