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.
Returns a list of nutrition information extracted from given text. Nutrition data for each food item is scaled to 100g unless a quantity is specified within the query parameter.
Get Information - Endpoint Features
| Object | Description |
|---|---|
query |
[Required] The food that you want to consult. |
[{"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'
| 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.
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, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
1,239ms
Service Level:
100%
Response Time:
1,596ms
Service Level:
100%
Response Time:
734ms
Service Level:
100%
Response Time:
742ms
Service Level:
95%
Response Time:
680ms
Service Level:
100%
Response Time:
841ms
Service Level:
100%
Response Time:
1,673ms
Service Level:
100%
Response Time:
1,164ms
Service Level:
100%
Response Time:
717ms
Service Level:
100%
Response Time:
669ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
98%
Response Time:
0ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
280ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
465ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
908ms
Service Level:
100%
Response Time:
800ms