Editor’s Note: This article was published in it’s original form in August of 2019. It has been updated to provide the current most popular food APIs based on page visits to ProgrammableWeb.
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.
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. Image: spoonacular
GrubHub is a web app that allows a user to search for food delivery options from local restaurants. Users can search by type of food to discover convenient local bites. The semi-open GrubHub API can be used by providers to update restaurant information such as addresses, hours, and cuisine types. The API can also be used to retrieve menu information from a database of 10,000+ restaurants.
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.
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. Screenshot: Chomp
The USDA FoodData Central API allows developers to incorporate nutrient and food component data into their websites and applications. The API provides access to five distinct data types: Foundation Foods, Food and Nutrient Database for Dietary Studies 2013-2014, National Nutrient Database for Standard Reference Legacy Release, USDA Global Branded Food Products Database, and Experimental Foods. This API used to be known as the USDA Food Composition Databases 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.
Open Food Facts API provides access to data and information on food products from around the world. Access extensive data on product ingredients, nutrition facts, allergens, additives, and search/filter by product or brand. This free and open API is JSON based and accessed over HTTP using product barcode information.
Related: Open Food Facts Launches Laravel API Library
Kroger is a U.S. retail supermarket chain. The Kroger API provides access to data from Kroger retail supermarket stores and its subsidiaries. The API offers access to customer profiles, product catalogs, carts, and location-based information.
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
BARZZ.net 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.
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.
Be sure to read the next Food article: Edamam Provides Update on Its Nutrition Data APIs
COVID-19 APIs, SDKs, coverage, open source code and other related dev resources »