POST /recipes/analyzeInstructions

Analyze Recipe Instructions

This endpoint allows you to break down instructions into atomic steps. Furthermore, each step will contain the ingredients and equipment required. Additionally, all ingredients and equipment from the recipe's instructions will be extracted independently of the step they're used in.

Request Traces

Request Headers

POST https://api.spoonacular.com/recipes/analyzeInstructions
Accept: application/json

HTTP Response

HTTP 200

Success

{
   "equipment":    [
      {
         "id": 0,
         "name": "string",
      },
   ],
   "ingredients":    [
      {
         "id": 0,
         "name": "string",
      },
   ],
   "parsedInstructions":    [
      {
         "name": "string",
         "steps":          [
            {
               "equipment":                [
                  {
                     "id": 0,
                     "image": "string",
                     "localizedName": "string",
                     "name": "string",
                  },
               ],
               "ingredients":                [
                  {
                     "id": 0,
                     "image": "string",
                     "localizedName": "string",
                     "name": "string",
                  },
               ],
               "number": 0,
               "step": "string",
            },
         ],
      },
   ],
}
HTTP 401

Unauthorized

HTTP 403

Forbidden

HTTP 404

Not Found