The Recipe Parser API enables users to extract online recipes from any website and convert them into a structured format, such as JSON. With this API, users can easily create their own digital cookbook by parsing recipes from various sources. The API's simple and user-friendly interface makes it an excellent tool for developers and cooking enthusiasts alike.
{"status":201,"recipe":{"recipeDiet":[],"recipeCuisine":["mongolian","chinese"],"recipeCategory":["dinner"],"recipeOccasion":[],"recipeUtensils":["whisk","bowl"],"name":"Super-Simple, Super-Spicy Mongolian Beef","image":["https://www.allrecipes.com/thmb/OPRTlH-cDntVlWw-4ThIZ_vkmTo=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/385999-9ee53db2a875481bbf4257a0ff0c2a98.jpg"],"description":"This spicy Mongolian beef is marinated with soy, hoisin, sesame, sugar, garlic, and chili, then quickly stir-fried with green onions for a tasty dish.","cookTime":"10 m","cookTimeOriginalFormat":"PT10M","prepTime":"15 m","prepTimeOriginalFormat":"PT15M","totalTime":"85 m","totalTimeOriginalFormat":"PT85M","recipeYield":"4","recipeIngredients":["0.25 cup soy sauce","1 tablespoon hoisin sauce","1 tablespoon sesame oil","2 teaspoons white sugar","1 tablespoon minced garlic","1 tablespoon red pepper flakes","1 pound beef flank steak, thinly sliced","1 tablespoon peanut oil","2 large green onions, thinly sliced"],"recipeInstructions":[{"type":"text","text":"Whisk together soy sauce, hoisin sauce, sesame oil, sugar, garlic, and red pepper flakes in a large bowl. Toss beef with marinade; cover the bowl and refrigerate for 1 hour to overnight."},{"type":"text","text":"Heat peanut oil in a wok or large, nonstick skillet over high heat. Cook and stir green onions in hot oil for 5 to 10 seconds. Remove beef from marinade and add to green onions in the wok; discard marinade. Cook and stir until beef is no longer pink and begins to brown, about 5 minutes."}],"ratingValue":5,"nutritionCalories":"200 kcal","nutritionFatContent":"12 g","nutritionSaturatedFatContent":"3 g","nutritionUnsaturatedFatContent":"0 g","nutritionCholesterolContent":"25 mg","nutritionSodiumContent":"996 mg","nutritionCarbohydrateContent":"8 g","nutritionFiberContent":"1 g","nutritionSugarContent":"4 g","nutritionProteinContent":"15 g","recipeTags":[{"name":"beef"},{"name":"steak"},{"name":"sesame"},{"name":"garlic"},{"name":"onions"}],"searchTerms":"super simple super spicy mongolian beef spicy marinated soy hoisin sesame sugar garlic chili quickly stir fried green onions tasty dish dinner beef steak "},"url":"https://www.allrecipes.com/recipe/148831/super-simple-super-spicy-mongolian-beef/"}
curl --location --request GET 'https://zylalabs.com/api/1920/recipe+parser+api/1629/recipe+parser?source=Required' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Recipe Parser API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
About the API:
The Recipe Parser API is a powerful tool that enables users to extract online recipes from any website and convert them into a structured output format, such as JSON. With this API, users can easily create their own digital cookbook by parsing recipes from various sources, including popular recipe websites, food blogs, and cooking forums. The API's simple and user-friendly interface makes it an excellent tool for developers and cooking enthusiasts alike.
One of the key features of the Recipe Parser API is its ability to parse recipes from a wide variety of websites. The API's advanced parsing algorithms can detect and extract recipe data from HTML pages, regardless of the website's structure or formatting. This means that users can quickly and easily parse recipes from virtually any website, without the need for complex data extraction tools or custom scripts.
Once a recipe has been parsed, the API generates a structured output format in JSON, which includes all of the relevant recipe data, such as ingredients, cooking instructions, nutritional information, and more. This structured output format makes it easy for users to manipulate and analyze recipe data, and it can be easily integrated into a wide range of applications and platforms.
Another key benefit of the Recipe Parser API is its ability to handle large volumes of recipe data. With the API's robust processing capabilities, users can easily parse hundreds or even thousands of recipes in a matter of minutes. This makes it an ideal solution for developers and organizations that need to process large amounts of recipe data on a regular basis.
The Recipe Parser API also includes a number of advanced features and customization options, such as the ability to exclude certain ingredients or sections of a recipe, customize the output format, and more. These features make it a flexible and versatile tool that can be tailored to the specific needs of each user or application.
In summary, the Recipe Parser API is a powerful and versatile tool that enables users to parse online recipes from any website and convert them into a structured output format, such as JSON. With its advanced parsing algorithms, robust processing capabilities, and flexible customization options, the API is an ideal solution for developers, cooking enthusiasts, and organizations that need to process large volumes of recipe data.
Pass the URL from where you want to scrape and parse the recipe of your choice.
Recipe Aggregator Website: A recipe aggregator website can use the Recipe Parser API to extract recipe data from various recipe websites and display it in a structured format on their platform. This can help them to create a comprehensive database of recipes that users can browse and search.
Recipe Management App: A recipe management app can use the Recipe Parser API to allow users to import their favorite recipes from various sources and store them in a centralized location. The app can also provide features such as meal planning, grocery list creation, and recipe sharing.
Nutrition App: A nutrition app can use the Recipe Parser API to extract nutritional information from recipes and calculate the total calories, carbohydrates, protein, and fat content of each recipe. This can help users to track their daily intake of nutrients and plan their meals accordingly.
Meal Delivery Service: A meal delivery service can use the Recipe Parser API to extract recipes from various sources and create a meal plan for their customers. They can also use the API to generate grocery lists for each recipe, making it easier for customers to purchase the necessary ingredients.
Cooking Chatbot: A cooking chatbot can use the Recipe Parser API to provide users with recipes based on their preferences and dietary restrictions. The chatbot can also assist users with cooking instructions, ingredient substitutions, and other cooking-related queries.
Besides API call limitations per month, there are no other limitations.
The Recipe Parser API returns structured recipe data in JSON format, including fields such as recipe name, ingredients, cooking instructions, nutritional information, preparation and cooking times, and images.
Key fields in the response include "name" (recipe title), "recipeIngredients" (list of ingredients), "cookTime" (cooking duration), "prepTime" (preparation duration), "recipeCuisine" (cuisine type), and "image" (recipe image URLs).
The response data is organized in a JSON object with a "status" field indicating the request outcome and a "recipe" object containing all relevant recipe details, making it easy to parse and utilize in applications.
The endpoint provides comprehensive recipe information, including ingredients, cooking instructions, dietary categories, cuisine types, preparation and cooking times, and serving sizes, allowing for detailed recipe management.
Users can customize their requests by specifying the URL of the recipe they wish to parse. Advanced features may allow for excluding certain ingredients or sections, though specific customization options should be checked in the API documentation.
The Recipe Parser API extracts data from various online sources, including popular recipe websites, food blogs, and cooking forums, utilizing advanced algorithms to ensure accurate data extraction regardless of website structure.
Data accuracy is maintained through the API's advanced parsing algorithms, which are designed to detect and extract relevant recipe information from diverse HTML structures, ensuring reliable and consistent output.
Typical use cases include creating recipe aggregator websites, developing recipe management apps, building nutrition tracking tools, generating meal plans for delivery services, and powering cooking chatbots for user assistance.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund