Nutrition Information API

Nutrition Information API

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!

API description

About the API:  

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!

 

What this API receives and what your API provides (input/output)?

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.

 

What are the most common use cases of this API?

  • 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

 

 

Are there any limitations to your plans?

Besides the number of API calls, there are no other limitations.

API Documentation

Endpoints


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 https://zylalabs.com/api/3043/nutrition+information+api/3218/get+information
                                                                            
                                                                        

Get Information - Endpoint Features
Object Description
query [Required] The food that you want to consult.
Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [{"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}]
                                                                                                                                                                                                                    
                                                                                                    

Get Information - CODE SNIPPETS


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' 

    

API Access Key & Authentication

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 REST API, simply include your bearer token in the Authorization header.

Headers

Header Description
Authorization [Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.


Simple Transparent Pricing

No long term commitments. One click upgrade/downgrade or cancellation. No questions asked.

🚀 Enterprise
Starts at $10,000/Year

  • Custom Volume
  • Dedicated account manager
  • Service-level agreement (SLA)

Customer favorite features

  • ✔︎ Only Pay for Successful Requests
  • ✔︎ Free 7-Day Trial
  • ✔︎ Multi-Language Support
  • ✔︎ One API Key, All APIs.
  • ✔︎ Intuitive Dashboard
  • ✔︎ Comprehensive Error Handling
  • ✔︎ Developer-Friendly Docs
  • ✔︎ Postman Integration
  • ✔︎ Secure HTTPS Connections
  • ✔︎ Reliable Uptime

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.

Zyla API Hub is, in other words, an API MarketPlace. An all-in-one solution for your developing needs. You will be accessing our extended list of APIs with only your user. Also, you won't need to worry about storing API keys, only one API key for all our products is needed.

Prices are listed in USD. We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world’s most reliable payment companies. If you have any trouble with paying by card, just contact us at [email protected]

Sometimes depending on the bank's fraud protection settings, a bank will decline the validation charge we make when we attempt to be sure a card is valid. We recommend first contacting your bank to see if they are blocking our charges. If more help is needed, please contact [email protected] and our team will investigate further

Prices are based on a recurring monthly subscription depending on the plan selected — plus overage fees applied when a developer exceeds a plan’s quota limits. In this example, you'll see the base plan amount as well as a quota limit of API requests. Be sure to notice the overage fee because you will be charged for each additional request.

Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.

Just go to the pricing page of that API and select the plan that you want to upgrade to. You will only be charged the full amount of that plan, but you will be enjoying the features that the plan offers right away.

Yes, absolutely. If you want to cancel your plan, simply go to your account and cancel on the Billing page. Upgrades, downgrades, and cancellations are immediate.

You can contact us through our chat channel to receive immediate assistance. We are always online from 9 am to 6 pm (GMT+1). If you reach us after that time, we will be in contact when we are back. Also you can contact us via email to [email protected]

 Service Level
100%
 Response Time
709ms

Category:


Tags:


Related APIs