食谱搜索器 API

通过食谱搜索API发现烹饪灵感 只需简单的关键词搜索即可解锁200万种美味食谱的宝藏 从美味的主菜到可口的甜点 找到满足任何渴望的完美菜肴 拥抱你内心的厨师 在指尖探索一个充满风味的世界
通过 MCP 从您的 AI 代理使用此 API
支持 OpenClaw、Claude Code/Desktop、Cursor、Windsurf、Cline 以及任何兼容 MCP 的 AI 客户端。
文档和设置
通过封装此 MCP 创建技能: https://mcp.zylalabs.com/mcp?apikey=YOUR_ZYLA_API_KEY

关于API: 

介绍食谱搜索API,您通往烹饪乐趣世界的入口。通过访问超过200万条精心策划的食谱,这个强大的工具将烹饪与美食探索的乐趣带到您指尖。无论您是经验丰富的厨师还是业余爱好者,这个API旨在激发您的烹饪创造力,鼓励您制作令人垂涎的美食。

寻找完美食谱从未如此简单。只需输入一个关键字或食材,让食谱搜索API发挥其魔力。从经典的舒适食品到异国情调的国际美食,庞大的数据库提供各种选择,以满足每一种口味和饮食偏好。无论您想吃一碗丰盛的素菜炖菜、一份开胃的海鲜意面,还是一块奢华的巧克力蛋糕,这个API都能满足您的需求。

食谱搜索API不仅提供食谱列表。它为每道菜提供详细信息,包括配料、准备步骤、烹饪时间和营养信息。无论您是在寻找无麸质选择、低卡路里替代品,还是适合特定饮食需求的食谱,API都允许您过滤和细化搜索结果,确保您找到符合您要求的完美食谱。

但食谱搜索API的功能不仅限于寻找食谱。它还提供额外的功能以增强您的烹饪体验。想要发现知名厨师或流行美食博客的食谱吗?API允许您根据创作者探索食谱,让您探索新的烹饪声音,并从行业专家那里获取灵感。

使用食谱搜索API,您可以将烹饪技能提升到新的高度。用它计划每周的餐食准备,创建主题晚宴,或简单地尝试新食材和风味。可能性是无穷的,API旨在赋予您知识和资源,让每一餐都成为杰作。

因此,无论您是寻找新鲜创意的专业厨师,还是需要灵感的家庭厨师,食谱搜索API都是您终极的厨房伙伴。开启烹饪的可能性世界,扩展您的食谱库,展开一场前所未有的美食冒险。今天就开始,让味道激发您的想象力。

 

这个API接受什么,您的API提供什么(输入/输出)?

传递一个关键字食材并为您接收相关食谱. 

 

这个API最常见的使用案例是什么?

  1. 食谱应用集成:将食谱搜索API整合到食谱应用中,使用户可以根据关键字或食材快速搜索食谱。用户可以发现新菜肴,保存他们最喜欢的食谱,甚至根据他们的喜好和饮食限制获得个性化推荐。

  2. 餐食规划平台:将食谱搜索API整合到餐食规划平台,使用户能够轻松找到与其饮食需求和偏好一致的食谱。用户可以创建自定义餐食计划,生成购物清单,简化烹饪过程,使健康饮食更容易,节省厨房时间。

  3. 智能厨房设备:将食谱搜索API连接到智能厨房设备,如语音助手或智能冰箱。用户只需语音输入所需食材或菜肴,API将提供食谱建议和烹饪说明,让餐食准备变得轻松方便。

  4. 营养与健康应用:将食谱搜索API整合到营养和健康应用中,为用户提供一个庞大的食谱数据库,以满足特定饮食需求或健康目标。无论某人是遵循低碳水化合物饮食、管理食物过敏,还是希望减肥,API都能帮助用户找到符合其营养需求的食谱。

  5. 美食博客与内容创作:利用食谱搜索API增强美食博客和内容创作平台。博客作者和内容创作者可以访问API以查找食谱,收集相关信息,并将食谱卡嵌入到他们的文章或视频中,为观众提供无缝体验和大量经过验证的食谱选择。

 

您的计划是否有任何限制?

除了API调用次数,其他没有限制

API 文档

端点


搜索200万种食谱,使用关键词、28种营养素和40种饮食与健康筛选器


                                                                            
GET https://www.zylalabs.com/api/2247/%e9%a3%9f%e8%b0%b1%e6%90%9c%e7%b4%a2%e5%99%a8+api/2108/%e8%8e%b7%e5%8f%96%e9%a3%9f%e8%b0%b1
                                                                            
                                                                        

获取食谱 - 端点功能

对象 描述
ingredients [必需]
测试端点

API 示例响应

       
                                                                                                        
                                                                                                                                                                                                                                                                                                                                        [{"id":942309,"title":"Calling all busy moms","image":"https://img.spoonacular.com/recipes/942309-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":1,"missedIngredients":[{"id":11120420,"amount":36.0,"unit":"oz","unitLong":"ounces","unitShort":"oz","aisle":"Pasta and Rice","name":"penne","original":"Bertolli Chicken Parmigiana Penne Family Size 36 oz.","originalName":"Bertolli Chicken Parmigiana Penne Family Size","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/penne-pasta.jpg"}],"usedIngredients":[{"id":5006,"amount":36.0,"unit":"oz","unitLong":"ounces","unitShort":"oz","aisle":"Meat","name":"chicken","original":"Bertolli Chicken Florentine Family Size 36 oz.","originalName":"Bertolli Chicken Florentine Family Size","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":0},{"id":559886,"title":"Chicken Fajita Sandwiches","image":"https://img.spoonacular.com/recipes/559886-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":18064,"amount":8.0,"unit":"slices","unitLong":"slices","unitShort":"slice","aisle":"Bakery/Bread","name":"bread","original":"8 slices of your favorite bread","originalName":"your favorite bread","meta":["your favorite"],"image":"https://img.spoonacular.com/ingredients_100x100/white-bread.jpg"},{"id":93838,"amount":4.0,"unit":"","unitLong":"","unitShort":"","aisle":"Cheese","name":"thicker of havarti cheese","original":"4 thicker slices of havarti cheese","originalName":"thicker slices of havarti cheese","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/taleggio-cheese.jpg"}],"usedIngredients":[{"id":5006,"amount":4.0,"unit":"servings","unitLong":"servings","unitShort":"servings","aisle":"Meat","name":"chicken fajitas","original":"chicken fajitas, click for recipe","originalName":"chicken fajitas, click for recipe","meta":["for recipe"],"image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":6042},{"id":574737,"title":"Garlic Herb Crock Pot Chicken","image":"https://img.spoonacular.com/recipes/574737-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":2063,"amount":3.0,"unit":"sprigs","unitLong":"sprigs","unitShort":"sprigs","aisle":"Produce","name":"rosemary","original":"3 sprigs of fresh rosemary","originalName":"fresh rosemary","meta":["fresh"],"extendedName":"fresh rosemary","image":"https://img.spoonacular.com/ingredients_100x100/rosemary.jpg"},{"id":14106,"amount":12.0,"unit":"oz","unitLong":"ounces","unitShort":"oz","aisle":"Alcoholic Beverages","name":"white wine and herb marinade","original":"12 oz. bottle of white wine and herb marinade","originalName":"white wine and herb marinade","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/white-wine.jpg"}],"usedIngredients":[{"id":5006,"amount":5.0,"unit":"lbs","unitLong":"pounds","unitShort":"lb","aisle":"Meat","name":"chicken","original":"5-6lbs. of whole chicken","originalName":"whole chicken","meta":["whole"],"extendedName":"whole chicken","image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":1974},{"id":217239,"title":"Beer-Can Chicken","image":"https://img.spoonacular.com/recipes/217239-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":10114003,"amount":1.0,"unit":"can","unitLong":"can","unitShort":"can","aisle":"Alcoholic Beverages","name":"lager","original":"1 can light lager","originalName":"light lager","meta":["light"],"extendedName":"canned light lager","image":"https://img.spoonacular.com/ingredients_100x100/beer.jpg"},{"id":1012034,"amount":2.0,"unit":"tablespoons","unitLong":"tablespoons","unitShort":"Tbsp","aisle":"Spices and Seasonings","name":"spice rub","original":"2 tablespoons 4-3-2-1 Spice Rub","originalName":"4-3-2-1 Spice Rub","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/seasoning.png"}],"usedIngredients":[{"id":5006,"amount":3.5,"unit":"pound","unitLong":"pounds","unitShort":"lb","aisle":"Meat","name":"chicken","original":"1 3 1/2- to 4-pound chicken","originalName":"chicken","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":724},{"id":1156204,"title":"Air Fryer Whole Chicken","image":"https://img.spoonacular.com/recipes/1156204-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":1001,"amount":2.0,"unit":"tbsp","unitLong":"tablespoons","unitShort":"Tbsp","aisle":"Milk, Eggs, Other Dairy","name":"butter","original":"2 tbsp butter softened","originalName":"butter softened","meta":["softened"],"image":"https://img.spoonacular.com/ingredients_100x100/butter-sliced.jpg"},{"id":1042027,"amount":2.0,"unit":"tbsp","unitLong":"tablespoons","unitShort":"Tbsp","aisle":null,"name":"bbq rub","original":"2 tbsp Trader Joe's BBQ Rub and Seasoning or bbq rub","originalName":"Trader Joe's BBQ Rub and Seasoning or bbq rub","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/seasoning.png"}],"usedIngredients":[{"id":5006,"amount":1.0,"unit":"","unitLong":"","unitShort":"","aisle":"Meat","name":"chicken 3-5 pounds","original":"1 whole chicken about 3-5 pounds","originalName":"whole chicken about 3-5 pounds","meta":["whole"],"extendedName":"whole chicken 3-5 pounds","image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":1},{"id":1075071,"title":"25 Chicken","image":"https://img.spoonacular.com/recipes/1075071-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":10123,"amount":1.0,"unit":"can","unitLong":"can","unitShort":"can","aisle":"Meat","name":"bacon wrapped chicken - no one resist this cheese stuffed","original":"Bacon Wrapped Chicken – No one can resist this cheese stuffed, bacon wrapped chicken! Brush on some bbq sauce and serve with mashed potatoes and corn and you're in business!","originalName":"Bacon Wrapped Chicken – No one resist this cheese stuffed, bacon wrapped chicken! Brush on some bbq sauce and serve with mashed potatoes and corn and you're in business","meta":["with mashed potatoes and corn and you're in business!"],"extendedName":"canned bacon wrapped chicken - no one resist this cheese stuffed","image":"https://img.spoonacular.com/ingredients_100x100/raw-bacon.png"},{"id":20444,"amount":15.0,"unit":"servings","unitLong":"servings","unitShort":"servings","aisle":"Pasta and Rice","name":"chicken & rice casserole - comfort food all the way! this recipe remind of of sunday supper at my gr","original":"Chicken & Wild Rice Casserole – Comfort food all the way! This recipe remind of of Sunday supper at my grandma's house.","originalName":"Chicken & Wild Rice Casserole – Comfort food all the way! This recipe remind of of Sunday supper at my grandma's house","meta":["wild"],"extendedName":"wild chicken & rice casserole - comfort food all the way! this recipe remind of of sunday supper at my gr","image":"https://img.spoonacular.com/ingredients_100x100/uncooked-white-rice.png"}],"usedIngredients":[{"id":5006,"amount":15.0,"unit":"servings","unitLong":"servings","unitShort":"servings","aisle":"Meat","name":"brown sugar pineapple chicken - my favorite grilling recipe! i love the glaze on this chicken and th","original":"Brown Sugar Pineapple Chicken – My favorite grilling recipe! I love the sweet glaze on this chicken and the pineapple is insanely good. Serve with rice or on a burger bun with lettuce!","originalName":"Brown Sugar Pineapple Chicken – My favorite grilling recipe! I love the sweet glaze on this chicken and the pineapple is insanely good. Serve with rice or on a burger bun with lettuce","meta":["sweet","with rice or on a burger bun with lettuce!"],"extendedName":"sweet brown sugar pineapple chicken - my favorite grilling recipe! i love the glaze on this chicken and th","image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":1},{"id":386635,"title":"Quick Sweet-and-Sour Chicken","image":"https://img.spoonacular.com/recipes/386635-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":20040,"amount":8.8,"unit":"ounces","unitLong":"ounces","unitShort":"oz","aisle":"Pasta and Rice","name":"brown rice","original":"1 package (8.8 ounces) ready-to-serve brown rice","originalName":"package ready-to-serve brown rice","meta":["ready-to-serve"],"image":"https://img.spoonacular.com/ingredients_100x100/uncooked-brown-rice.png"},{"id":12585,"amount":3.0,"unit":"tablespoons","unitLong":"tablespoons","unitShort":"Tbsp","aisle":"Nuts","name":"cashews","original":"3 tablespoons salted cashews","originalName":"salted cashews","meta":["salted"],"extendedName":"salted cashews","image":"https://img.spoonacular.com/ingredients_100x100/cashews.jpg"}],"usedIngredients":[{"id":5006,"amount":13.2,"unit":"ounces","unitLong":"ounces","unitShort":"oz","aisle":"Meat","name":"breaded chicken nuggets","original":"1 package (13.2 ounces) breaded chicken nuggets","originalName":"package breaded chicken nuggets","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/whole-chicken.jpg"}],"unusedIngredients":[],"likes":0},{"id":133849,"title":"Chicken Salad Crescent Rolls","image":"https://img.spoonacular.com/recipes/133849-312x231.jpg","imageType":"jpg","usedIngredientCount":1,"missedIngredientCount":2,"missedIngredients":[{"id":2033,"amount":2.0,"unit":"tablespoons","unitLong":"tablespoons","unitShort":"Tbsp","aisle":"Baking","name":"poppy seeds","original":"2 tablespoons poppy seeds","originalName":"poppy seeds","meta":[],"image":"https://img.spoonacular.com/ingredients_100x100/poppyseed.png"},{"id":93618,"amount":8.0,"unit":"oz"}]},{"_note":"Response truncated for documentation purposes"}]
                                                                                                                                                                                                                    
                                                                                                    

获取食谱 - 代码片段


curl --location --request GET 'https://zylalabs.com/api/2247/%e9%a3%9f%e8%b0%b1%e6%90%9c%e7%b4%a2%e5%99%a8+api/2108/%e8%8e%b7%e5%8f%96%e9%a3%9f%e8%b0%b1?ingredients=chicken' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API 访问密钥和身份验证

注册后,每个开发者都会被分配一个个人 API 访问密钥,这是一个唯一的字母和数字组合,用于访问我们的 API 端点。要使用 食谱搜索器 API 进行身份验证,只需在 Authorization 标头中包含您的 bearer token。
标头
标头 描述
授权 [必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。

简单透明的定价

无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。

🚀 企业版

起价
$ 10,000/年


  • 自定义数量
  • 自定义速率限制
  • 专业客户支持
  • 实时 API 监控

客户喜爱的功能

  • ✔︎ 仅支付成功请求
  • ✔︎ 7 天免费试用
  • ✔︎ 多语言支持
  • ✔︎ 一个 API 密钥,所有 API。
  • ✔︎ 直观的仪表板
  • ✔︎ 全面的错误处理
  • ✔︎ 开发者友好的文档
  • ✔︎ Postman 集成
  • ✔︎ 安全的 HTTPS 连接
  • ✔︎ 可靠的正常运行时间

食谱搜索器 API FAQs

要访问食谱搜索API,您需要在我们的开发者门户上注册一个API密钥。一旦您获得API密钥,就可以使用该密钥作为身份验证参数向API端点发出HTTP请求

您可以使用各种搜索参数,例如关键词、食材、饮食限制、烹饪时间和菜系类型,来细化您的食谱搜索。这使您能够找到符合特定偏好和要求的食谱

是的,API为每个食谱提供详细的营养信息,包括卡路里数量、宏量营养素和其他相关的饮食信息。这使得用户能够根据他们的营养需求做出明智的选择

是的,API提供了访问食谱图片的功能。每个食谱对象都包含一个可以在您的应用程序或平台中用来显示食谱视觉效果的图片URL

食谱数据库会定期更新,以确保全面且最新的收藏。更新通常每周或每月进行,具体取决于新食谱和内容的可用性

获取食谱端点根据提供的搜索参数返回一系列食谱 每个食谱包括成分 准备步骤 烹饪时间 营养成分 和创作者信息

响应数据中的关键字段包括食谱标题 成分清单 烹饪说明 准备时间 营养信息和食谱图片的URL 这些字段帮助用户有效理解和利用食谱

响应数据以结构化的JSON格式组织 每个食谱作为数组中的一个对象表示 通过各自的键可以方便地访问单个食谱的详细信息

用户可以利用关键词、成分、饮食限制、烹饪时间和菜系类型等参数来定制他们的食谱搜索。这种灵活性有助于找到满足特定需求的食谱

获取食谱接口提供全面的信息,包括食谱名称,成分清单,烹饪说明,准备时间,营养成分和图像,满足多样的烹饪兴趣

用户可以利用返回的数据创建餐食计划 生成购物清单 或将食谱集成到应用程序中 详细的结构便于以各种格式解析和显示食谱信息

这些数据来源于广泛的烹饪专家、食品博主和食谱数据库,确保收集到多样且丰富的食谱,以满足各种口味和饮食偏好

数据准确性通过定期更新和质量检查保持,包括用户反馈和专家评审。这个过程确保食谱对用户保持可靠和相关

一般常见问题

Zyla API Hub 就像一个大型 API 商店,您可以在一个地方找到数千个 API。我们还为所有 API 提供专门支持和实时监控。注册后,您可以选择要使用的 API。请记住,每个 API 都需要自己的订阅。但如果您订阅多个 API,您将为所有这些 API 使用相同的密钥,使事情变得更简单。

价格以 USD(美元)、EUR(欧元)、CAD(加元)、AUD(澳元)和 GBP(英镑)列出。我们接受所有主要的借记卡和信用卡。我们的支付系统使用最新的安全技术,由 Stripe 提供支持,Stripe 是世界上最可靠的支付公司之一。如果您在使用卡片付款时遇到任何问题,请通过 [email protected]


此外,如果您已经以这些货币中的任何一种(USD、EUR、CAD、AUD、GBP)拥有有效订阅,该货币将保留用于后续订阅。只要您没有任何有效订阅,您可以随时更改货币。

定价页面上显示的本地货币基于您 IP 地址的国家/地区,仅供参考。实际价格以 USD(美元)为单位。当您付款时,即使您在我们的网站上看到以本地货币显示的等值金额,您的卡片对账单上也会以美元显示费用。这意味着您不能直接使用本地货币付款。

有时,银行可能会因其欺诈保护设置而拒绝收费。我们建议您首先联系您的银行,检查他们是否阻止了我们的收费。此外,您可以访问账单门户并更改关联的卡片以进行付款。如果这些方法不起作用并且您需要进一步帮助,请通过 [email protected]

价格由月度或年度订阅决定,具体取决于所选计划。

API 调用根据成功请求从您的计划中扣除。每个计划都包含您每月可以进行的特定数量的调用。只有成功的调用(由状态 200 响应指示)才会计入您的总数。这确保失败或不完整的请求不会影响您的月度配额。

Zyla API Hub 采用月度订阅系统。您的计费周期将从您购买付费计划的那一天开始,并在下个月的同一日期续订。因此,如果您想避免未来的费用,请提前取消订阅。

要升级您当前的订阅计划,只需转到 API 的定价页面并选择您要升级到的计划。升级将立即生效,让您立即享受新计划的功能。请注意,您之前计划中的任何剩余调用都不会转移到新计划,因此在升级时请注意这一点。您将被收取新计划的全部金额。

要检查您本月剩余多少 API 调用,请参考响应标头中的 "X-Zyla-API-Calls-Monthly-Remaining" 字段。例如,如果您的计划允许每月 1,000 个请求,而您已使用 100 个,则响应标头中的此字段将显示 900 个剩余调用。

要查看您的计划允许的最大 API 请求数,请检查 "X-Zyla-RateLimit-Limit" 响应标头。例如,如果您的计划包括每月 1,000 个请求,此标头将显示 1,000。

"X-Zyla-RateLimit-Reset" 标头显示您的速率限制重置之前的秒数。这告诉您何时您的请求计数将重新开始。例如,如果它显示 3,600,则意味着还有 3,600 秒直到限制重置。

是的,您可以随时通过访问您的账户并在账单页面上选择取消选项来取消您的计划。请注意,升级、降级和取消会立即生效。此外,取消后,您将不再有权访问该服务,即使您的配额中还有剩余调用。

您可以通过我们的聊天渠道联系我们以获得即时帮助。我们始终在线,时间为上午 8 点至下午 5 点(EST)。如果您在该时间之后联系我们,我们将尽快回复您。此外,您可以通过 [email protected]

为了让您有机会在没有任何承诺的情况下体验我们的 API,我们提供 7 天免费试用,允许您免费进行最多 50 次 API 调用。此试用只能使用一次,因此我们建议将其应用于您最感兴趣的 API。虽然我们的大多数 API 都提供免费试用,但有些可能不提供。试用在 7 天后或您进行了 50 次请求后结束,以先发生者为准。如果您在试用期间达到 50 次请求限制,您需要"开始您的付费计划"以继续发出请求。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。或者,如果您在第 7 天之前不取消订阅,您的免费试用将结束,您的计划将自动计费,授予您访问计划中指定的所有 API 调用的权限。请记住这一点以避免不必要的费用。

7 天后,您将被收取试用期间订阅的计划的全额费用。因此,在试用期结束前取消很重要。因忘记及时取消而提出的退款请求不被接受。

当您订阅 API 免费试用时,您可以进行最多 50 次 API 调用。如果您希望超出此限制进行额外的 API 调用,API 将提示您执行"开始您的付费计划"。您可以在个人资料中的订阅 -> 选择您订阅的 API -> 定价标签下找到"开始您的付费计划"按钮。

付款订单在每月 20 日至 30 日之间处理。如果您在 20 日之前提交请求,您的付款将在此时间范围内处理。


相关 API


您可能还喜欢