# Calories Per Serving

### List of Fields

Please note that fields not documented here may be out of date or deprecated.&#x20;

| 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.

{% tabs %}
{% tab title="Query" %}

```graphql
{
  recipe(id: "UmVjaXBlOjFkMWIzYzU4LTk3Y2MtNDJlMi05NGEyLTA0OTdjMjVjNjhjYQ==") {
    name
    caloriesPerServing {
      protein
      carbs
      fat
    }
  }
}

```

{% endtab %}

{% tab title="Response" %}

```
{
  "data": {
    "recipe": {
      "name": "Three Bean Salad With Corn & Peppers",
      "caloriesPerServing": {
        "protein": 62.48838057617347,
        "carbs": 220.73646040095224,
        "fat": 51.05270997574553,
      }
    }
  }
}
```

{% endtab %}
{% endtabs %}
