NutrientsDB · Arazzo Workflow
Resolve a food name to a NutrientsDB record and read its nutrient profile
Version 1.0.0
Two-step flow over the free, keyless NutrientsDB Sample API: search the public 1,000-food sample by name fragment, then re-fetch the chosen record by its stable public_id. Both steps use the single published operation, findFoods, selected by q or by id. No authentication is required.
View Spec
View on GitHub
nutritionfoodnutrientsfood-compositiondatasearchsample-datadatasetai-buildersreference-dataopen-datakeyless-apiArazzoWorkflows
Provider
Workflows
search-then-lookup-food
Search the sample by food name, then retrieve the selected food by public_id.
Step 1 searches by name fragment and returns up to 20 matches with total_matches so the caller knows how many were withheld. Step 2 pins the chosen record by its stable public_id, which is the identifier to persist — food names are verbose and ambiguous, ids are not.
1
search-foods
findFoods
Search the public 1,000-food sample by name fragment.
2
lookup-food
findFoods
Retrieve the selected food by its exact public_id. q and id are mutually exclusive, so this step sends only id.