Analyze Recipe

Go to Product

Analyze Recipe

This endpoint allows you to send raw recipe information, such as title, servings, and ingredients, to then see what we compute (badges, diets, nutrition, and more). This is useful if you have your own recipe data and want to enrich it with our semantic analysis.

Options

Language (*)
The input language, either "en" or "de".
Include Nutrition (*)
Whether nutrition data should be added to correctly parsed ingredients.
Include Taste (*)
Whether taste data should be added to correctly parsed ingredients.
Body
Example request body.

Request body which must comply to the following JSON Schema:

{
  "type" : "object",
  "properties" : {
    "title" : {
      "type" : "string"
    },
    "servings" : {
      "type" : "integer"
    },
    "ingredients" : {
      "type" : "array",
      "items" : {
        "type" : "string"
      }
    },
    "instructions" : {
      "type" : "string"
    }
  },
  "x-examples" : {
    "Example 1" : {
      "title" : "Spaghetti Carbonara",
      "servings" : 2,
      "ingredients" : [ "1 lb spaghetti", "3.5 oz pancetta", "2 Tbsps olive oil", "1  egg", "0.5 cup parmesan cheese" ],
      "instructions" : "Bring a large pot of water to a boil and season generously with salt. Add the pasta to the water once boiling and cook until al dente. Reserve 2 cups of cooking water and drain the pasta. "
    }
  }
}
Result Format
Specify how the response should be mapped to the table output. The following formats are available:
  • Raw Response: Returns the raw response in a single row with the following columns:
    • body: Response body
    • status: HTTP status code

Input Ports

Icon
Configuration data.

Output Ports

Icon
Result of the request depending on the selected Result Format.
Icon
Configuration data (this is the same as the input port; it is provided as passthrough for sequentially chaining nodes to declutter your workflow connections).

Popular Predecessors

  • No recommendations found

Popular Successors

  • No recommendations found

Views

This node has no views

Workflows

  • No workflows found

Links

Developers

You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.