Sum an ingredient list into per-serving nutrition
recipe_nutritionSum ingredient nutrients from USDA data, divide by servings, and get %DV plus per-ingredient contributions. Include manual items for off-database foods.
Instructions
Give an ingredient list as {query or fdc_id, grams} and get summed totals divided by servings, with %DV and a per-ingredient breakdown of who contributed what. Ingredients absent from FDC (supplement powders, branded products) can be passed in manual_items with nutrients already known.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | ||
| servings | No | Default 1. | |
| manual_items | No | Off-database items such as protein powder, creatine, or a branded spread. |