usda_food_nutrition
Get nutrition information for any food from the USDA database. Returns per 100g macro breakdown and alternative matches. Requires x402 authorization.
Instructions
USDA FoodData Central nutrition lookup. Query any food (brand or generic) and receive the best-matching record with a clean per_100g macro block (calories_kcal, protein_g, carb_g, fat_g, fiber_g, sugar_g, potassium_mg), plus alternates. Priced at $0.002 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Alternates to return (1-10). Default 5. | |
| query | Yes | Food name (e.g. 'banana', 'chicken breast raw'). | |
| _payment | No | Optional. Signed x402 v2 X-PAYMENT header value (base64-encoded EIP-3009 authorization). If present, forwarded upstream; if absent, tool returns the 402 accept-list. |