USDA FoodData Central
USDA FoodData Central: search foods and read key nutrients (energy, protein, fat, carbohydrate, sugars, sodium).
No API key needed to call. The provider needs an API key; AgentNative holds it.
- Source
- USDA FoodData Central
- Licence and terms
- CC0 1.0 Universal
- Coverage
- United States foods
- Refresh cadence
- Answers are shared and cached for 86400 seconds.
Questions you can ask
Operations
Search foods and key nutrients
Answers: how much energy, protein, fat, carbohydrate, sugars and sodium are in this food? Foundation and SR Legacy values are per 100 g; Branded values follow the label.
| query | required, string, Food name. |
|---|---|
| data_type | optional, string, Foundation | SR Legacy | Branded | Survey (FNDDS), Restrict to one FoodData Central data type. |
| limit | optional, integer, default 3 |
Example: How much protein and sodium is in cheddar cheese?
Over MCP
{"tool":"call_connector_operation","arguments":{"connector":"usda_fdc","operation":"food_search","params":{"query":"cheddar cheese","data_type":"Foundation","limit":2}}}Over HTTP
curl '/v1/connectors/usda_fdc/food_search?query=cheddar+cheese&data_type=Foundation&limit=2'Source notice
Source: U.S. Department of Agriculture, Agricultural Research Service, FoodData Central. Terms: "USDA FoodData Central data are in the public domain and they are not copyrighted." "They are published under CC0 1.0 Universal (CC0 1.0)". Not endorsed by USDA.