
Log meals from a photo model's guess
Your vision model says "spaghetti bolognese, 350 g"; the Meal Logging API returns the sourced record, alternatives and the nutrients for that weight.
Meal Logging APIFood and nutrition data API
Find foods in 5 languages, scan US barcodes, analyse recipes and ingredient lines, and ground what a photo model or an assistant recognised in sourced values.

Chickpea and onion stewPOST /v1/food/analyze
Per serving, 1 of 4 (149.5 g). Real answer of the API for the recipe in the photo.
Empty, never zero. Energy in kJ is not reported for “1 tbsp olive oil”, so the recipe's total is a lower bound: at least 2,092.8 kJ.
Ingredient lines as people write them go in; each line comes back matched to a food, weighed from a source portion and totalled, with the record behind every number. This is the real answer for the stew above.
{
"title": "Chickpea and onion stew",
"servings": 4,
"lines": [
"2 cups chopped onion",
"1 tbsp olive oil",
"3 cloves garlic, minced",
"1 can (400 g) chickpeas, drained",
"1 tsp ground cumin",
"salt to taste"
]
}{
"data": {
"title": "Chickpea and onion stew",
"complete": false,
"excluded_lines": [5],
"totals": {
"grams": 598.1,
"nutrients": {
"energy_kcal": { "value": 626.415, "unit": "kcal" },
"energy_kj": {
"value": null,
"unit": "kJ",
"lower_bound": 2092.827,
"missing_from": [1]
}
… 17 more
}
},
"lines": [
{
"line": "2 cups chopped onion",
"food": {
"id": "fdc:170000",
"name": "Onions, raw"
… 5 more
},
"grams": 320,
"weight": {
"method": "portion",
"detail": "2 cup x 160 g per '1 cup, chopped' (source portion)"
},
"provenance": {
"source": {
"dataset": "fdc_sr_legacy",
"record_id": "170000",
"retrieved": "2026-10-10"
}
… 2 more
}
… 6 more
}
… 5 more
]
… 9 more
},
"meta": {
"dataset_version": "1.0.0"
… 9 more
}
}One key and one plan for all of them; each is a REST API and an MCP tool.
Find a food and get every nutrient with its source: search, autocomplete, details, portions.
GET/v1/food/search
Look up a packaged food by its barcode: label nutrition, ingredients and the USDA records behind it.
GET/v1/food/barcode/0160002289861 unit
Turn a recipe or an ingredient list into nutrition per serving and per 100 g.
POST/v1/food/analyze1 unit per 5 lines
Ground a photo model's or an assistant's guess in sourced values: dish and grams in, matched food and nutrients out.
POST/v1/food/meal/match1 unit per item
Every food product as tools for Claude, ChatGPT, Cursor and agent frameworks.
POST/mcpsame units as REST
The whole dataset, versioned, for embedding, research and enterprise systems.
GET/v1/datasets/food/snapshot
Every food value is copied by code from USDA FoodData Central or the ANSES-CIQUAL table, with its source record, nutrient id and retrieval date.
Each nutrient carries the source dataset, record id, source nutrient id and retrieval date, so your app or assistant can say where a number came from.
A nutrient the source does not report stays empty, and totals become a lower bound instead of a smaller number.
English, French, German, Italian and Spanish names on the same food; translated names say how they were made and checked.
The terms allow caching results inside your product and calls from AI agents, and ask for no logo in your interface; each response lists the attributions its sources require.
From a photo model's guess to a sourced meal log, from a recipe to nutrition per serving, from an assistant's answer to a citation.

Your vision model says "spaghetti bolognese, 350 g"; the Meal Logging API returns the sourced record, alternatives and the nutrients for that weight.
Meal Logging API
Paste ingredient lines as written; the Nutrition Analysis API matches each to a food, weighs it from a source portion and totals per serving and per 100 g.
Nutrition Analysis API
Give Claude or another agent the MCP server: answers quote the source record and the dataset version instead of a number from memory.
Nutrition MCP serverFood dataset 1.0.0, built 2026-10-10. Sources: USDA FoodData Central (Foundation, SR Legacy, Survey/FNDDS, Branded) and ANSES-CIQUAL 2025, all cleared for commercial use. Open Food Facts is not included, because its licence is share-alike.
Free: 2,500 units a month for every product. Developer $19 a month, Pro $99 a month.
The whole dataset, versioned, for embedding, research and enterprise systems. Bulk files and enterprise terms, or write to support@nutrientgraph.com.
Nutrition reference data. Not medical or dietary advice.