BETTERMENU
Studio

Get Recipe Nutrition

Get total recipe nutrition (batch-level, all ingredients summed) — not per-serving.

Use this to answer: "what's the nutrition for my recipe?", "how many calories?", "show protein, fat, carbs", "get the nutrition facts"

Helper — call anytime to read stored nutrition data.

Returns the sum of all ingredient contributions for the full recipe batch. reference_weight_grams is the total weight of all ingredients. Does not include per-serving amounts or %DV.

Returns 404 if ⑥ computeRecipeNutrition has not been called yet.

For per-serving nutrition with FDA rounding and %DV, use getRecipePerServingNutritionFacts (after ⑦ and ⑧).

Related endpoints:

  • computeRecipeNutrition — compute nutrition (⑥)
  • getRecipeNutritionalAnalysis — per-ingredient breakdown
GET
/studio/recipes/{recipe_id}/nutrition

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

recipe_id*string

Unique recipe identifier

Response Body

application/json

application/json

curl -X GET "https://loading/studio/recipes/string/nutrition"
{
  "data": {
    "nutrients": [
      {
        "id": 0,
        "bmid": "string",
        "name": "string",
        "total_amount": "string",
        "unit": "string"
      }
    ],
    "reference_weight_grams": "string"
  },
  "meta": {
    "version": "string",
    "request_id": "string",
    "timestamp": "string"
  }
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}