Nutrition that does the math.
Around 29 nutrient fields per ingredient — macros, fatty acids, minerals, vitamins — normalized per 100 g and converted to your amount on request. The API analyzes entire ingredient lists as totals and per serving.
What's inside.
Four field groups, cleanly normalized per 100 g — converted to real amounts with amount + unit.
energyKcal · protein · fat · carbohydrates · fibre · sugar · salt · water · alcohol · kJ
cholesterol · saturated · mono- · polyunsaturated
calcium · iron · magnesium · phosphorus · potassium · sodium · zinc
A · B1 · B2 · B6 · C · K · Niacin · Pantothensäure
Recipe analysis in one call.
An ingredient list with amounts in, a nutrition total out — and with servings, per-portion values too. Ideal for recipe screens, meal planners and food diaries.
Transparency over pretty numbers.
Items that can't be resolved reliably appear explicitly under unresolved — instead of silently entering the total as 0. Your app always knows what the number is based on.
Endpoints in this module.
Nutrition of one ingredient per 100 g — also converted with amount + unit
Analysis of an ingredient list: total + per-serving values
What it looks like.
curl -X POST https://api.foodoracle.app/v1/nutrition/analyze \
-H "X-API-Key: fo_live_..." \
-H "Content-Type: application/json" \
-d '{
"items": [
{ "ingredientId": "chicken_breast", "amount": 400, "unit": "gram" }
],
"servings": 2
}'
{
"total": { "macros": { "energyKcal": 678, "protein": 70.5 } },
"perServing": { "macros": { "energyKcal": 339 } }
}
Responses shown abbreviated — full schemas in the API reference.
Deterministic. No LLM.
Every answer comes from a curated ingredient library and fixed rules — reproducible, explainable, in milliseconds. Same request, same result. No hallucinations.