Recipe Search and Diet

FREE
By edamam
Updated 4 months ago
Media
8.2/10
Popularity Score
591ms
Latency
35%
Success Rate

Recipe Search and Diet API Documentation

Since we understand the recipe – ingredients, diets, allergies, nutrition, taste, techniques & more. We can connect your users with the best recipes available for their unique food preferences.

Search over 2 million recipes

  • Search our large recipe database. We add new sites and recipes continuously.
  • You will also get access to over 5000 top web recipe sources
  • Our search algorithm returns the most relevant recipes from the most popular and best recipes sources on the web. We order recipes by their cookability and quality so your customer can always count on getting the best recipes!

Semantically organized database

  • The recipes in our database are normalized and can be filtered in the search by calorie and diet preferences.

Full nutrition for each recipe

  • We have the most accurate automated nutrition analysis on the web powered by our proprietary Natural Language Processing (NLP) engine. Customers get detailed nutrition breakdown of each recipe with 25+ nutrients and appropriateness for all major diets.
  • Filter by calories, diet or allergy restrictions
  • Edamam has developed over 35 diet and health filters for your customers to use. Now you can develop applications for virtually any popular diet or major health condition.

Recipe caching

  • Edamam may allow caching for those customer on custom plans.
View API Details
GETRecipe Search and Recommendations
GETRecipe Search and Recommendations

Search 2 million recipes using keywords, 28 nutrients and 40 diet and health filters

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
rSTRING
OPTIONAL
qSTRING
OPTIONAL
Code Snippet
unirest.get("https://edamam-recipe-search.p.rapidapi.com/search")
.header("X-RapidAPI-Host", "edamam-recipe-search.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://edamam-recipe-search.p.rapidapi.com/search
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://edamam-recipe-search.p.rapidapi.com/search")
.header("X-RapidAPI-Host", "edamam-recipe-search.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication