RapidAPI logo

Sign Up

Log In

Recipe and Ingredient Analysis

FREEMIUM
By zestfuldata
Updated 3 months ago
7.5/10
Popularity Score
447ms
Latency
98%
Success Rate

Recipe and Ingredient Analysis API Documentation

Zestful provides tools to help recipe app developers better understand their recipes and ingredients.

View API Details
POSTParse Ingredients
POSTParse Ingredients

Parse recipe ingredients into structured data

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Parse IngJSON_STRING
REQUIRED
Request Snippet
unirest.post("https://zestful.p.rapidapi.com/parseIngredients")
.header("X-RapidAPI-Host", "zestful.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"ingredients":["2 cups baby portobello mushrooms, sliced","3 tablespoons extra-virgin olive oil, or more to taste","1 1/2 tbsp cinnamon"]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
Log inSign up

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.post("https://zestful.p.rapidapi.com/parseIngredients")
.header("X-RapidAPI-Host", "zestful.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"ingredients":["2 cups baby portobello mushrooms, sliced","3 tablespoons extra-virgin olive oil, or more to taste","1 1/2 tbsp cinnamon"]})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication