RapidAPI logo

Sign Up

Log In

AI powered recipe ingredients parsing

PAID
By Cookalo
Updated 3 months ago
Data
3/10
Popularity Score
968ms
Latency
100%
Success Rate

AI powered recipe ingredients parsing API Documentation

AI powered API for parsing ingredients out of recipes

View API Details
POST/recipe-mashape
POST/recipe-mashape

Returns a JSON array with the detected ingredients

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
/v2/recipe model
REQUIRED
Request Snippet
unirest.post("https://akia-ai-powered-recipe-parsing-v1.p.rapidapi.com/recipe-mashape")
.header("X-RapidAPI-Host", "akia-ai-powered-recipe-parsing-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "text/plain")
.send("2 cups shredded Cheddar cheese1/2 teaspoon baking soda1 teaspoon salt1 cup chopped yellow onion3 teaspoons pure vanilla extract1 tbsp olive oil2 large eggs3 cups (about 12 ounces) milk chocolate chips")
.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://akia-ai-powered-recipe-parsing-v1.p.rapidapi.com/recipe-mashape")
.header("X-RapidAPI-Host", "akia-ai-powered-recipe-parsing-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "text/plain")
.send("2 cups shredded Cheddar cheese1/2 teaspoon baking soda1 teaspoon salt1 cup chopped yellow onion3 teaspoons pure vanilla extract1 tbsp olive oil2 large eggs3 cups (about 12 ounces) milk chocolate chips")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication