For the complete documentation index, see llms.txt. This page is also available as Markdown.

Calories Per Serving

Per serving caloric value of each nutrient

List of Fields

Please note that fields not documented here may be out of date or deprecated.

Nutrient

Name

Unit

protein

Proteins

kcal

carbs

Carbohydrates

kcal

fat

Fats

kcal

dha

DHA

kcal

dpa

DPA

kcal

epa

EPA

kcal

omega3

Omega 3 (DHA, DPA, EPA, ALA)

kcal

Example

Obtaining the caloric value of each nutrient per serving of a recipe.

{
  recipe(id: "UmVjaXBlOjFkMWIzYzU4LTk3Y2MtNDJlMi05NGEyLTA0OTdjMjVjNjhjYQ==") {
    name
    caloriesPerServing {
      protein
      carbs
      fat
    }
  }
}
{
  "data": {
    "recipe": {
      "name": "Three Bean Salad With Corn & Peppers",
      "caloriesPerServing": {
        "protein": 62.48838057617347,
        "carbs": 220.73646040095224,
        "fat": 51.05270997574553,
      }
    }
  }
}

Last updated

Was this helpful?