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