find_foods
Rank Indian dishes and ingredients by a chosen nutrient or glycemic load per 100 kcal, 100 g, or serving, and filter by diet, region, and dish/ingredient to find high-protein or iron-rich options.
Instructions
Rank foods by one nutrient or by glycemic load, per 100 kcal, per 100 g or per serving (dishes only), for questions such as high-protein vegetarian dishes or iron-rich foods. Highest first, except lowest first for kcal, sugars, saturated fat, sodium and glycemic load; order says which. Foods with no value for the ranked nutrient are left out and counted in skipped_missing, and so is a dish with an incomplete value for the ranked nutrient. Per 100 g or per 100 kcal, seasonings, fats and salt can top a ranking though nobody eats 100 g of them; kind="dish" or per="serving" ranks foods eaten as a portion. Values are rounded to 2 decimals, so 0.0 can be a small amount.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per | No | 100kcal | |
| diet | No | Keep foods suitable for this diet: veg includes vegan. | |
| kind | No | Keep only dishes or only ingredients. | |
| limit | No | ||
| region | No | Keep dishes from this region. Ingredients have none, so leave it out with kind=ingredient. | |
| rank_by | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per | Yes | ||
| order | Yes | ||
| rank_by | Yes | ||
| results | Yes | ||
| skipped_missing | Yes |