Edamam · Example Payload

Nutrition Analysis Full Recipe Analysis Example

Food And DrinkRecipesNutritionDietAllergensMeal PlanningSustainabilityCarbon FootprintPublic APIs

Nutrition Analysis Full Recipe Analysis Example is an example object payload from Edamam, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://api.edamam.com/api/nutrition-details",
    "query": {
      "app_id": "YOUR_NUTRITION_APP_ID",
      "app_key": "YOUR_NUTRITION_APP_KEY"
    },
    "headers": {
      "Content-Type": "application/json"
    },
    "body": {
      "title": "Garlic Roast Chicken",
      "ingr": [
        "1 whole chicken (4 lbs)",
        "4 cloves garlic, minced",
        "2 tbsp olive oil",
        "1 tsp salt",
        "1/2 tsp black pepper",
        "1 lemon, halved"
      ]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "uri": "http://www.edamam.com/ontologies/edamam.owl#recipe_2c4d6e8f0a1b3c5d7e9f0a1b2c3d4e5f",
      "yield": 4,
      "calories": 2384,
      "totalWeight": 1965.7,
      "dietLabels": ["High-Protein", "Low-Carb"],
      "healthLabels": ["Sugar-Conscious", "Gluten-Free", "Dairy-Free"],
      "cautions": [],
      "totalNutrients": {
        "ENERC_KCAL": {"label": "Energy", "quantity": 2384, "unit": "kcal"},
        "PROCNT": {"label": "Protein", "quantity": 188.6, "unit": "g"}
      }
    }
  }
}