USDA FoodData Central food search: FDC ID, description
gov_usda_fooddata_centralUSDA FoodData Central food search: FDC ID, description, data type (Branded, Foundation, SR Legacy and others), brand owner and publication date, for a food name. Search results only; nutrient values are not returned here. Usually answers in about 9 s, up to 17 s on slower calls; allow a 30 s timeout. Price: $0.002 in USDC per successful call, paid with x402 (Base, Solana or Arc); failed calls are not charged.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "gov_usda_fooddata_central"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Foods to return, 1 to 10 (default 5) | |
| query | Yes | Food name, 2 to 60 characters |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| foods | No | ||
| query | No | ||
| source | No | ||
| checkedAt | No | ||
| totalHits | No |