# Get Recipe Nutritional Analysis



{/* This file was generated by Fumadocs. Do not edit this file directly. Any changes should be made by running the generation command again. */}

Return per-nutrient ingredient breakdown for the recipe.

Shows which ingredients contribute the most to each nutrient (protein, fat,
calories, vitamins, minerals, etc.) with percentage contributions. Use
`nutrient_set` to filter to a predefined group and `top_n` to limit
contributors per nutrient. Pass `?version_id=` to read analysis at a
historical snapshot. Returns 404 if nutrition has not been computed yet.

<APIPage document="&#x22;bettermenu&#x22;" operations="[{&#x22;path&#x22;:&#x22;/studio/recipes/{recipe_id}/nutrition/analysis&#x22;,&#x22;method&#x22;:&#x22;get&#x22;}]" />
