跳转到主要内容

Response Fields

What the API returns for recipes, supplies and products: CO₂ values and ratings, the Vita Score, environmental indicators and nutrient values. The fields per resource are listed on Recipes, Supplies and Products.

CO₂ and Ratings​

CO₂ Metrics​

The recipe-level fields (co2-value, rating, eaternity-award, improvement and reduction values) are described under Response Properties.

Rating Scale​

RatingCO₂ per PortionDescription
A≤ 400gExcellent - Very low environmental impact
B401-600gGood - Low environmental impact
C601-1000gAverage - Moderate environmental impact
D1001-1500gBelow Average - High environmental impact
E> 1500gPoor - Very high environmental impact

Ingredient Response Fields​

These fields are returned for each ingredient when full-resource=true:

FieldTypeDescription
ratingstringCO₂ rating for this ingredient (A-E). A is best, E is worst.
co2-valueintegerAbsolute CO₂ emissions for the ingredient in grams for the specified amount
co2-value-improvement-percentagefloatComparison of this ingredient's CO₂ footprint per food unit to the average
co2-value-reduction-valuefloatGrams of CO₂ saved compared to an average product providing the same nutritional value
bar-chartnumberPercentage contribution of this ingredient to total recipe CO₂ (0-100)
foodUnitnumberNutritional density value used for CO₂ per nutrition calculations
nutrient-values-estimated-per-specified-amountobjectBackend-estimated nutrient values for the specified amount (when nutrient-values=true is set)
indicatorsobjectEnvironmental indicators for this ingredient (when indicators=true is set)

foodUnit Explained​

The foodUnit represents the nutritional value of a food item, used to calculate CO₂ emissions per unit of nutrition rather than per gram. This ensures fair comparison between foods with different caloric densities.


Vita Score​

The Vita Score rates nutritional quality on an A-E scale based on health risk factors.

Core Fields​

FieldTypeDescription
vita-score-pointsnumberTotal points (lower is healthier)
vita-score-ratingstringRating A (healthiest) to E
vita-score-awardbooleantrue if recipe achieves A or B rating
energy-kcalsnumberTotal calories
nutrition-labelbooleantrue if nutritionally balanced

Risk Factor Fields​

Each risk factor has two fields: {factor}-risk-factor-amount-gram (amount) and {factor}-risk-factor-points (health impact points).

Risk FactorHealthy DirectionDescription
fruitMore is betterFruit content
vegetableMore is betterVegetable content
wholegrainMore is betterWhole grain content
nuts-seedsMore is betterNuts and seeds
milkModerateDairy products
processed-meatLess is betterProcessed meat products
red-meatLess is betterRed meat content
saltLess is betterSodium content

Macronutrient Risk Points​

FieldDescription
high-in-energy-risk-factor-pointsPoints for high calorie density
high-in-fat-risk-factor-pointsPoints for high fat content
low-in-fat-risk-factor-pointsPoints for insufficient fat
high-in-protein-risk-factor-pointsPoints for excess protein
low-in-protein-risk-factor-pointsPoints for insufficient protein

Environmental Indicators​

Additional environmental impact metrics beyond CO₂. Enable with indicators=true.

All calculations use Life Cycle Assessment (LCA) methodology following ISO 14040/14044 standards, with peer-reviewed scientific data covering the complete supply chain from farm to plate.

CO₂ Interpretation​

CO₂ values measure total greenhouse gas emissions in grams of CO₂-equivalent, including CO₂, methane (CH₄, 28x more potent), and nitrous oxide (N₂O, 265x more potent). The rating bands per portion are in the Rating Scale.

Major emission sources: Agriculture (40-70%), Animal Production (20-50%), Transport (5-15%), Processing (5-10%), Storage (2-5%).

Water Footprint​

FieldTypeDescription
scarce-water-litersnumberLiters of scarce water used
water-footprint-ratingstringA-E rating for water use
water-footprint-awardbooleantrue for excellent water efficiency
water-footprint-improvement-percentagenumber% better than average
water-footprint-reduction-valuenumberLiters saved vs average
Water per PortionCategory
< 100LVery low
100-500LLow
500-1000LModerate
1000-2000LHigh
> 2000LVery high

Animal Treatment​

Assessment of animal welfare standards for animal-derived ingredients.

RatingDescriptionStandards
excellentHighest welfare standardsFree-range, organic, certified humane
goodAbove-average welfareCage-free, enriched housing
mediumStandard practicesConventional farming
poorBelow standard welfareIntensive/factory farming
very-poorWelfare concernsCramped conditions, no outdoor access
not-applicableNo animal productsVegan/vegetarian items

Rainforest Impact​

Risk of deforestation associated with ingredients.

RatingRisk LevelCommon Ingredients
very-lowNegligible riskLocal vegetables, grains
lowMinimal riskCertified sustainable palm oil, cocoa
mediumModerate riskSome tropical fruits, nuts
highSignificant riskUncertified palm oil, beef from Brazil
very-highSevere riskSoy from deforested areas

Biodiversity Impact​

Effect on ecosystems and species diversity.

RatingImpactContributing Factors
very-lowMinimal impactOrganic, diverse cropping, habitat-friendly
lowLow impactSustainable practices, crop rotation
mediumModerate impactConventional monoculture
highSignificant impactPesticide-intensive, habitat destruction
very-highSevere impactLarge-scale monoculture, deforestation

Energy Consumption​

Total energy use throughout the supply chain, measured in Megajoules (MJ) per portion.

Energy per PortionCategory
< 1 MJVery low
1-3 MJLow
3-6 MJModerate
6-10 MJHigh
> 10 MJVery high

Soil Impact​

Effect on soil health and degradation.

RatingImpactPractices
very-lowSoil buildingRegenerative agriculture, no-till
lowMinimal degradationOrganic, cover crops
mediumSome degradationConventional farming, rotation
highSignificant degradationIntensive monoculture, heavy tillage
very-highSevere degradationErosion-prone practices

Sustainability Labels​

Each indicator has a {name}-label (boolean) and {name}-rating (A-E):

IndicatorLabel MeaningWhat It Measures
rainforestDeforestation-freeAvoids rainforest destruction
animal-treatmentWelfare certifiedMeets animal welfare standards
seasonIn seasonIngredient is in season locally
localLocally producedProduced within region

Nutrient Values​

The same nutrient fields are used in requests (nutrient-values) and in responses (nutrient-values-estimated-per-specified-amount, nutrient-values-estimated-per-recipe-portion). In requests all are optional; provide what you have.

Basic Macronutrients​

FieldUnitDescription
energy-kcalkcalEnergy in kilocalories
energy-kjoulekJEnergy in kilojoules
fat-gramgTotal fat
saturated-fat-gramgSaturated fat
monounsaturated-fat-milligrammgMonounsaturated fat
polyunsaturated-fat-milligrammgPolyunsaturated fat
cholesterol-milligrammgCholesterol
carbohydrates-gramgTotal carbohydrates
sucrose-gramgSugars
protein-gramgProtein
fibers-gramgDietary fiber
water-gramgWater content
sodium-chloride-gramgSalt
alcohol-volume-percent%Alcohol content

Vitamins​

FieldUnitVitamin
vitamine-a1-microgrammcgVitamin A (retinol)
vitamine-b1-microgrammcgVitamin B1 (thiamine)
vitamine-b2-microgrammcgVitamin B2 (riboflavin)
vitamine-b6-microgrammcgVitamin B6 (pyridoxine)
vitamine-b12-microgrammcgVitamin B12 (cobalamin)
vitamine-c-milligrammgVitamin C
vitamine-d-microgrammcgVitamin D
vitamine-e-microgrammcgVitamin E (tocopherol)
vitamine-h-microgrammcgVitamin H (biotin)
vitamine-k-microgrammcgVitamin K
beta-carotene-milligrammgBeta-carotene
niacin-milligrammgNiacin (B3)
pantohen-milligrammgPantothenic acid (B5)
folic-acid-microgrammcgFolic acid (B9)

Minerals​

FieldUnitMineral
sodium-milligrammgSodium
potassium-milligrammgPotassium
chlorine-milligrammgChlorine
calcium-milligrammgCalcium
magnesium-milligrammgMagnesium
phosphorus-milligrammgPhosphorus
iron-milligrammgIron
zinc-microgrammcgZinc
copper-microgrammcgCopper
manganese-microgrammcgManganese
flouride-microgrammcgFluoride
iodine-microgrammcgIodine

Other Compounds​

FieldUnitDescription
purine-milligrammgPurine content
uric-acid-milligrammgUric acid

The data sources behind these values are described in Methodology › Data Sources.