Tools / Nutrition Data
Nutrition Data icon

Nutrition Data

Nutrition facts for any food

Look up nutrition facts for any food or packaged product. Search by name for USDA macro/micronutrient breakdowns, or search international packaged products by brand. Scan a barcode to get ingredients, allergens, nutri-scores, and per-100g nutrition.

4 skillsv0.03
Search Foods

Search food databases for foods by name, brand, or keyword. Returns matching foods with basic nutrition info and FDC IDs for detailed lookup.

Returns: List of matching foods with FDC IDs, descriptions, brand owners, and key macros (calories, protein, fat, carbs)
Parameters
query *stringSearch term like 'chicken breast' or 'coca cola'
page_sizenumberNumber of results to return (default 10, max 50)
Example
Search for chicken breast nutrition
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "nutrition-data",
  "skill": "search_foods",
  "input": {
    "query": "chicken breast"
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Get Nutrition Details

Get detailed nutrition breakdown for a specific food by its FDC ID. Returns comprehensive macro and micronutrient data including vitamins, minerals, and serving sizes.

Returns: Full nutrition breakdown including calories, protein, fats, carbs, fiber, sugars, sodium, cholesterol, vitamins A/C, calcium, iron, and potassium with units
Parameters
fdc_id *numberFoodData Central ID from search results
Example
Get full nutrition for a food
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "nutrition-data",
  "skill": "get_nutrition",
  "input": {
    "fdc_id": 534358
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Search Products

Search an international database of packaged food products by name or brand. Returns product names, brands, nutri-scores, images, and nutrition per 100g. Best for branded and packaged foods worldwide.

Returns: List of matching products with names, brands, nutri-scores, images, and nutrition per 100g (calories, protein, fat, carbs, fiber, sugars, salt)
Parameters
query *stringSearch term like 'nutella' or 'oat milk'
page_sizenumberNumber of results to return (default 10, max 50)
Example
Search for a popular branded product
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "nutrition-data",
  "skill": "search_products",
  "input": {
    "query": "nutella"
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Lookup Barcode

Look up a packaged food product by its barcode (EAN/UPC). Returns full product details including name, brand, ingredients, allergens, nutri-score, packaging, and detailed nutrition per 100g and per serving.

Returns: Full product details including name, brand, ingredients, allergens, nutri-score, packaging, and nutrition breakdown per 100g and per serving
Parameters
barcode *stringProduct barcode (EAN-13 or UPC-A), e.g. '3017620422003'
Example
Look up Nutella by barcode
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{
  "tool": "nutrition-data",
  "skill": "lookup_barcode",
  "input": {
    "barcode": "3017620422003"
  }
}' \
  https://api.toolrouter.com/v1/tools/call
Loading reviews...
Loading activity...
v0.032026-03-22
  • Added subtitle, expanded description, and agent instructions
v0.022026-03-21
  • Added product search skill with international food database
  • Added barcode lookup skill
v0.012026-03-20
  • Initial release

Quick Start

MCP (Claude Code)
claude mcp add --transport stdio \
  --env TOOLROUTER_API_KEY=YOUR_API_KEY \
  toolrouter -- npx -y toolrouter-mcp
REST API
curl -H "Authorization: Bearer $TOOLROUTER_API_KEY" \
  -d '{"tool":"nutrition-data","skill":"search_foods","input":{}}' \
  https://api.toolrouter.com/v1/tools/call

Use Cases

Open Look Up Food Nutrition

Look Up Food Nutrition

Search for any food and get detailed nutritional information including calories, protein, fat, and carbohydrates.

Nutrition Data icon
Nutrition Data
4 agent guides
Open Calculate Meal Calories

Calculate Meal Calories

Add up the total calories and macros for a complete meal by looking up each ingredient individually.

Nutrition Data icon
Nutrition Data
4 agent guides
Open Search Papers by Topic

Search Papers by Topic

Find relevant academic papers on any research topic across millions of scholarly publications.

Academic Research icon
Academic Research
4 agent guides
Open Geocode Addresses to Coordinates

Geocode Addresses to Coordinates

Convert street addresses into precise latitude and longitude coordinates for mapping and spatial analysis.

Address Geocoding icon
Address Geocoding
4 agent guides
View all use cases for Nutrition Data

Workflows

Open Nutrition & Recipe Planner

Nutrition & Recipe Planner

Plan meals with nutritional data, recipe discovery, and beautiful food imagery in one workflow.

Nutrition Data icon
Nutrition Data
Recipe Finder icon
Recipe Finder
Generate Image icon
Generate Image
3 steps3 tools

Frequently Asked Questions

Can it look up both foods and packaged products?

Yes. It supports USDA food lookups as well as international packaged products by brand.

What does barcode lookup add?

Barcode scans return ingredients, allergens, nutri-scores, and per 100g nutrition.

Does it show micronutrients or just calories?

It includes macro and micronutrient breakdowns.

Is it useful for grocery or meal-planning apps?

Yes. It is especially useful when you need structured nutrition and allergen data.