Your agent guesses nutrition numbers; this returns real values from USDA and Open Food Facts.
Food and nutrition data: search USDA FoodData Central for foods and nutrient profiles, and look up packaged products by barcode or filters via Open Food Facts. USDA data is US public domain; Open Food Facts data is licensed under the Open Database License (ODbL), credit "Open Food Facts".
Filter Open Food Facts products by category, brand, label, or Nutri-Score.
Result page.
Comma-separated fields to return (e.g. "product_name,brands,nutriscore_grade").
Sort key (e.g. "popularity_key", "unique_scans_n").
Results per page (1-100).
Exact brand tag.
Exact label tag (e.g. "organic", "vegan").
Exact English category tag (e.g. "breakfast-cereals").
Nutri-Score grade.
curl -X POST "https://skill.askfaro.com/skills/nutrition/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Find organic breakfast cereals on Open Food Facts"
}
}'askfaro describe nutrition/off_search
Install pip install askfaro-cli, then askfaro auth login.
Search USDA FoodData Central for foods and their nutrient summaries.
Food search terms.
Field to sort by.
Comma-separated data types to include (e.g. "Foundation,SR Legacy,Branded").
Results per page (1-200).
Sort direction.
Filter branded foods by brand owner.
Page number.
curl -X POST "https://skill.askfaro.com/skills/nutrition/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Search USDA for cheddar cheese"
}
}'askfaro describe nutrition/usda_search_foods
Install pip install askfaro-cli, then askfaro auth login.
Get the full nutrient profile for a single USDA food by its FDC ID.
USDA FoodData Central ID.
Response detail level.
Comma-separated nutrient numbers to limit the response (max 25).
curl -X POST "https://skill.askfaro.com/skills/nutrition/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Get the full nutrition for FDC ID 173410"
}
}'askfaro describe nutrition/usda_food_details
Install pip install askfaro-cli, then askfaro auth login.
Look up a packaged food product by its barcode (EAN/UPC).
Comma-separated fields to return (e.g. "product_name,brands,nutriments").
Product barcode digits (EAN/UPC).
curl -X POST "https://skill.askfaro.com/skills/nutrition/run" \
-H "Authorization: Bearer faro_<your_key>" \
-H "Content-Type: application/json" \
-d '{
"intent": {
"prompt": "Look up barcode 3017620422003"
}
}'askfaro describe nutrition/off_product_by_barcode
Install pip install askfaro-cli, then askfaro auth login.