Tools/nutrition/usda_search_foods

nutrition/usda_search_foods

Search USDA FoodData Central for foods and their nutrient summaries.

0.1 credits / call ($0.0001)
charged on success

What it does

Searches USDA FoodData Central and returns matching foods with their FDC IDs, descriptions, data types, brand owners, and nutrient summaries.

Primary use cases

  • Finding a food and its FDC ID before a detailed nutrient lookup.
  • Comparing generic vs branded versions of a food.

Good to know

Filter by dataType (e.g. "Branded", "Foundation", "Survey (FNDDS)", "SR Legacy"). Use pageSize/pageNumber to paginate. USDA data is US public domain (no attribution required).

Parameters

querystringrequired

Food search terms.

sortBystringoptional

Field to sort by.

dataTypestringoptional

Comma-separated data types to include (e.g. "Foundation,SR Legacy,Branded").

pageSizeintegeroptionaldefault: 50

Results per page (1-200).

sortOrderstringoptional

Sort direction.

brandOwnerstringoptional

Filter branded foods by brand owner.

pageNumberintegeroptionaldefault: 1

Page number.

nutrition/usda_search_foods — Faro