Unleash the power of nutritional insights with our Nutrition Information API. Transform text into a culinary journey as it effortlessly extracts and calculates nutrition data. From food blogs to recipes, this intelligent API, with its custom portioning magic, ensures precision by scaling nutrition based on specified quantities. Culinary intelligence at your fingertips!
[{"name": "brisket", "calories": 1312.3, "serving_size_g": 453.592, "fat_total_g": 82.9, "fat_saturated_g": 33.2, "protein_g": 132.0, "sodium_mg": 217, "potassium_mg": 781, "cholesterol_mg": 487, "carbohydrates_total_g": 0.0, "fiber_g": 0.0, "sugar_g": 0.0}, {"name": "fries", "calories": 317.7, "serving_size_g": 100.0, "fat_total_g": 14.8, "fat_saturated_g": 2.3, "protein_g": 3.4, "sodium_mg": 212, "potassium_mg": 124, "cholesterol_mg": 0, "carbohydrates_total_g": 41.1, "fiber_g": 3.8, "sugar_g": 0.3}]
curl --location --request GET 'https://zylalabs.com/api/3043/nutrition+information+api/3218/get+information?query=1lb brisket and fries' --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 Nutrition Information 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 🎉)
Trusted by leading companies
Introducing our Nutrition Information API, a cutting-edge tool that transforms text into a nutritional treasure trove. Leveraging advanced natural language processing, this API seamlessly extracts nutrition information from diverse sources—be it food blogs, menus, or recipes. It becomes your culinary companion, decoding textual content to deliver accurate and comprehensive nutrition data.
A standout feature is its intelligent custom portioning capability. If your input text specifies quantities for individual food items or ingredients, the algorithm works its magic by automatically scaling the nutrition data in the result. This ensures precision and adaptability, allowing users to obtain nutrition information tailored to the specific portions mentioned in the text.
From aiding dietary analysis to empowering recipe apps, this API opens a realm of possibilities. Developers can integrate it into a variety of applications, offering users a hassle-free means of accessing precise nutrition information derived from the textual context. Whether you're a health-conscious consumer or a developer enhancing food-related applications, our Nutrition Information API brings a new dimension to culinary exploration and nutritional understanding. Experience the fusion of technology and nutrition at your fingertips!
Returns a list of nutrition information extracted from the given text. Nutrition data for each food item is scaled to 100g unless a quantity is specified within the query parameter.
Recipe Apps with Automated Nutrition Labels: Integrate the Nutrition Information API into recipe applications to automatically generate accurate nutrition labels for each recipe. Users can input or discover recipes, and the API will seamlessly calculate and display detailed nutritional information, enhancing health-conscious meal planning.
Dietary Analysis Tools: Develop dietary analysis tools that leverage the API to extract nutrition details from meal plans or food logs. Users can effortlessly analyze their daily or weekly intake, gaining insights into calorie counts, macronutrient distribution, and other key nutritional aspects.
Menu Optimization for Restaurants: Restaurants can utilize the API to analyze and optimize their menus. By extracting nutrition information from menu descriptions, chefs and restaurateurs can make informed decisions to balance offerings, accommodate dietary preferences, and meet nutritional goals without compromising flavor.
Health and Wellness Blogs with Instant Nutritional Insights: Enhance health and wellness blogs by integrating the API to provide instant nutritional insights for recipes or dietary tips. Readers can enjoy a seamless experience as the API extracts nutrition data from the text, fostering an informative and engaging platform for nutrition-conscious audiences.
Fitness Apps for Personalized Meal Planning: Integrate the API into fitness applications to offer users personalized meal planning based on their dietary preferences and fitness goals. The API's custom portioning feature ensures accurate nutritional information, enabling users to tailor their meal plans to specific dietary requirements or fitness regimens
Besides the number of API calls, there are no other limitations.
The API employs advanced natural language processing algorithms to analyze text, identifying food-related information and extracting relevant nutrition data.
The API is versatile, capable of processing various text sources such as food blogs, menus, and recipes to calculate corresponding nutrition data.
Yes, the API is designed to process and extract nutrition information for multiple food items or ingredients mentioned within a single text input.
The nutrition database undergoes regular updates to include the latest nutritional information for a wide range of food items, ensuring the accuracy of the extracted nutrition details.
The custom portioning feature is designed for precision. The algorithm intelligently scales nutrition data according to specified quantities, ensuring accurate and tailored results.
The API returns a list of nutrition information for food items extracted from the input text. Each item includes details such as calories, serving size, fat content, protein, sodium, potassium, cholesterol, carbohydrates, fiber, and sugar.
Key fields in the response include "name" (food item), "calories," "serving_size_g," "fat_total_g," "protein_g," "sodium_mg," "potassium_mg," "cholesterol_mg," "carbohydrates_total_g," "fiber_g," and "sugar_g."
The response data is structured as a JSON array, where each object represents a food item with its corresponding nutritional values. This allows for easy parsing and integration into applications.
The API provides comprehensive nutritional information, including macronutrients (fats, proteins, carbohydrates), micronutrients (sodium, potassium, cholesterol), and caloric content for each food item mentioned in the input text.
The primary parameter is the input text containing food items. Users can specify quantities within the text to utilize the custom portioning feature, allowing for tailored nutritional data based on specified serving sizes.
Users can integrate the returned data into applications for dietary analysis, recipe labeling, or menu optimization. The detailed nutritional breakdown enables users to make informed dietary choices and enhance meal planning.
The API extracts nutritional data from a variety of reliable sources, including food databases, nutritional guidelines, and culinary resources, ensuring a broad coverage of food items and accurate information.
Data accuracy is maintained through regular updates and quality checks, which involve cross-referencing multiple sources and validating nutritional values to ensure the information provided is reliable and up-to-date.
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