match_ingredients_to_products
Match recipe ingredients to purchasable products from Amazon and specialty retailers. Returns affiliate program details, estimated prices, and substitution alternatives.
Instructions
Match recipe ingredients to purchasable products on Amazon and specialty retailers. Returns affiliate program details (Amazon Associates, ShareASale, Awin), estimated price range, estimated commission rate (2–10%), and substitution alternatives. Commission rates are benchmark estimates — not live affiliate platform data. Use this tool for ingredient-level product details and substitutions; use suggest_affiliate_products for a revenue-ranked shopping list instead. Accepts ingredient list directly or recipe_id from a prior extract_recipe_ingredients call. Use for recipe affiliate monetization and shoppable recipe generation. Example: recipe_id='chocolate-chip-cookies-v1' → returns [{name:'flour',product:'King Arthur All-Purpose Flour',program:'Amazon Associates',estimated_commission_pct:4}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ingredients | No | Ingredient list from extract_recipe_ingredients. Provide this OR recipe_id. | |
| recipe_id | No | Recipe ID from a prior extraction — loads ingredients from cache. | |
| api_key | No | Optional API key for paid access beyond the free tier |