Find Recipes by Ingredients
spoonacular.recipes.by_ingredientsFind recipes using ingredients you have on hand. Shows used and missing ingredients count, ranked by best ingredient match.
Instructions
Find recipes using ingredients you have on hand — shows used/missing ingredients count, ranked by ingredient match (Spoonacular)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ingredients | Yes | Comma-separated list of ingredients you have (e.g. "chicken,rice,tomato") | |
| number | No | Number of results to return (default 10, max 100) | |
| ranking | No | Ranking mode: 1 = maximize used ingredients, 2 = minimize missing ingredients (default 1) | |
| ignore_pantry | No | Ignore common pantry items like water, flour, salt (default false) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |