Search APIs
Ctrl+K
Add Your API

Food APIs

Food APIs

About food APIs

Eating is a fundamental part of every person’s day. As people learn more about the relationship between food and wellness, they want more information about what they take into their bodies. A food-related API is a database that contains a broad range of information about food nutrition, ingredients, and preparation. Using this tool, a developer can create a website or app that analyzes restaurant menus, promotes healthy eating, or even helps a user find the ingredients for a new recipe.

How does a food API work?

An API is a digital collection of information. When a website or app makes a GET request of a food API, the database returns the information in JSON or XML format. For a recipe API like the FoodtoFork API, the user will receive a list of the ingredients and the steps required to make a dish. For a nutrition-focused API like Edamam’s Nutrition Analysis API will return information such as the calorie and macronutrient content.

Who would use a food menu API?

Because there are many sources of food, there are many applications for food and nutrition APIs. Developers who make apps that relate to health and wellness will find these APIs to be critical tools. Apps that focus on the restaurant industry will also use these databases for information about menus and locations. If a user wants to the nearest spot for their favorite restaurant, the app will reach out to a food API.

Why is food information important?

People need accurate food information because food is critical to the physical and mental health of every human being. These APIs can help people find the comfort food they crave while sharing information about their nutritional value. They can help people discover healthy recipes and avoid foods that will trigger their allergies.

What information is available on food APIs?

The data in food menu APIs covers many aspects of the food-related world. Depending on the resource, developers can link to information about restaurants, nutrition, and recipes. The EatStreet API helps with apps related to menus and takeout orders. The USDA Food Composition API has comprehensive nutrition information.

Are there examples of free food APIs?

Most information from government resources like the USDA is free for developers. While it is a free food API, there can be restrictions on the number of requests allowed in an hour. The Campbell’s Kitchen API has free recipe information because it serves as a marketing platform for the company.

Browse these food-related APIs to access food databases (like Spoonacular), nutritional data, recipe/ingredient analyses, and many more.

Spoonacular's Food API

The Food and Recipe API is spoonacular's Food, Recipe, Menu, Restaurant and Nutrition API which allows users to access over 360,000 recipes and 80,000 food products.

> Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as "gluten free brownies without sugar" or "low fat vegan cupcakes." You can automatically calculate the nutritional information for any recipe, analyze recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and especially nutrition apps.

> Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, low sodium, low carb, Paleo, Primal, ketogenic, FODMAP, and Whole 30. We will soon be adding Weight Watcher points, too.

Food API SDKs

All food APIs are supported and made available in multiple developer programming languages and SDKs including:

  1. Node.js
  2. PHP
  3. Python
  4. Ruby
  5. Objective-C
  6. Java (Android)
  7. C# (.NET)
  8. cURL

Just select your preference from any API endpoints page.

Sign up today for free on RapidAPI to begin using Food APIs!

FAQ

What is a good food API?

There are many good food APIs available to use within this food-related API collection.

What are the best recipe and diet APIs?

Some of the best recipe and diet APIs include:

  • Spoonacular
  • Nutritionix
  • Edamam
  • WebKnox

What is RapidAPI?

RapidAPI is an API Marketplace for developers to find, connect, and manage their API connections. ... If you have an API you've created, use RapidAPI to make it available to hundreds of thousands of developers already utilizing APIs through RapidAPI.

Hero Image Food APIs
All APIs
Recipe - Food - Nutrition
The spoonacular Recipe - Food - Nutrition API gives you to access to thousands of recipes, storebought packaged foods, and chain restaurant menu items. Our food ontology and semantic recipe search engine makes it possible to search for recipes using natural language queries, such as "gluten free brownies without sugar" or "low fat vegan cupcakes." You can automatically calculate the nutritional information for any recipe, estimate recipe costs, visualize ingredient lists, find recipes for what's in your fridge, find recipes based on special diets, nutritional requirements, or favorite ingredients, classify recipes into types and cuisines, convert ingredient amounts, or even compute an entire meal plan. With our powerful API, you can create many kinds of food and nutrition apps. Special diets/dietary requirements currently available include: vegan, vegetarian, pescetarian, gluten free, grain free, dairy free, high protein, low sodium, low carb, Paleo, Primal, ketogenic, and more.
Updated 10 months ago
MyCookbook.io
Make your own cookbook - parse online recipes from any website and convert them to a structured output (JSON).
Updated 10 months ago
FatSecret
The FatSecret Platform API is the #1 verified food and nutrition database in the world, available for 56+ countries in 24 languages.
Updated 3 months ago
Edamam Nutrition Analysis
The Nutrition Analysis API and Database uses Natural Language Processing and semantically structured data.
Updated 10 months ago
Tasty
API to query data about recipe, plan, ingredients, etc... as on official site
Updated 10 months ago
Edamam Food and Grocery Database
This API provides you with tools to find nutrition and diet data for generic foods, packaged foods and restaurant meals. In addition it employs NLP (Natural Language Processing) which allows for extraction of food entities from unstructured text. Covered Use Cases: -Search for a food by keyword, food name or UPC/Barcode -Sourcing of nutrition facts for a given food, including: macro and micro nutrients, allergen labels, lifestyle and health labels -Search for a food by given nutrient quantity for 28 nutrients -Seach for foods within a given brand -Built in food-logging context it allows for NLP requests for chat bots and natural language calorie counters
Updated 2 months ago
Recipe and Ingredient Analysis
Zestful is the simplest way to parse recipe ingredients into beautiful JSON.
Updated 10 months ago
Recipe
The WebKnox Recipe API allows you to access over 330,000 recipes. It allows users to search for recipes using natural language such as "gluten free brownies without sugar". Furthermore, several widgets to visualize ingredient lists, price breakdowns, This Food API also contains thousands of information bits about ingredients such as nutrition, prices, tips, and more.
Updated 10 months ago
The Cocktail DB
API to get data on alcohol & cocktails.
Updated 10 months ago
Food2Fork
Food2Fork is a place to find top socially ranked recipes from tons of recipe blogs and websites.
Updated 10 months ago
Campbells Kitchen
Campbell’s Kitchen is all about sharing information. In our case, that information includes thousands of recipes using brands like Campbell’s, Swanson®, Pace®, Prego® & Pepperidge Farm® – brands people love and trust, and use every day. GET ACCESS T
Updated 10 months ago
Rakuten Recipe
Retrieve data from Rakuten Recipe.
Updated 10 months ago
Global Wine Score
Global Wine Score is designed as a REST API for multiple clients: you can use it for your web app on computers as well as any mobile devices. A client is a program that will consume our API, that will use its endpoints and returned data. You can do pretty much anything our web client can. This will be most useful to integrate Global Wine Score capabilities into your own website, with your own layout and your own way of managing rights. Search for a wine by name. The API returns 1 unique score for that specific wine.
Updated 10 months ago