The Food Data API is a powerful tool that provides users with comprehensive nutritional information on various food items. This API allows users to search for specific food items and retrieve detailed information about the nutritional content of each item. With access to a vast database of food ingredients, this API provides users with the ability to analyze and understand the nutritional value of their food choices.
The Food Data API provides information such as calorie count, macronutrients (fat, protein, and carbohydrates), vitamins, minerals, and other essential nutrients for each food item. Users can utilize this information to make informed decisions about their diets, track their daily nutrient intake, and create meal plans tailored to their specific dietary needs.
With its user-friendly interface and extensive database, the Food Data API is an excellent tool for nutritionists, dietitians, fitness enthusiasts, and anyone looking to maintain a healthy lifestyle. This API is also beneficial for food-related businesses such as restaurants, grocery stores, and food delivery services that require accurate nutritional information for their products.
In summary, the Food Data API is a valuable resource for anyone looking to improve their nutrition or make informed food choices. It provides an extensive database of food ingredients and their nutritional information, making it an essential tool for maintaining a healthy lifestyle.
It will receive a parameter and provide you with a JSON.
Fitness Apps: Fitness apps can use the Food Data API to track the nutritional intake of their users, helping them to meet their fitness goals.
Nutritionists: Nutritionists can use the Food Data API to provide accurate nutritional information to their clients, helping them to make informed decisions about their diet.
Dietitians: Dietitians can use the Food Data API to design personalized meal plans for their clients based on their specific dietary needs.
Restaurants: Restaurants can use the Food Data API to provide customers with accurate nutritional information about their menu items, helping them to make healthier choices.
Grocery Stores: Grocery stores can use the Food Data API to provide customers with nutritional information about the products they sell, making it easier for them to make informed buying decisions.
Food Delivery Services: Food delivery services can use the Food Data API to provide customers with accurate nutritional information about the meals they deliver.
Fitness Trackers: Fitness trackers can use the Food Data API to track the nutritional intake of their users, helping them to achieve their fitness goals.
Healthcare Apps: Healthcare apps can use the Food Data API to provide patients with accurate nutritional information, helping them to manage chronic conditions such as diabetes.
Recipe Websites: Recipe websites can use the Food Data API to provide users with nutritional information about the recipes they share, helping them to make healthier choices.
Education: Educational apps and websites can use the Food Data API to teach students about nutrition and the importance of making healthy food choices.
Basic Plan: 5,000 API Calls.
Pro Plan: 30,000 API Calls.
Pro Plus Plan: 100,000 API Calls.
Premium Plan: 150,000 API Calls.
The "Get Food Data" endpoint is a powerful tool that enables users to retrieve comprehensive nutritional information on a specific food item. By simply sending a search query to the endpoint with the name of the desired food item, users can access thousands of food ingredients and their nutritional information. This endpoint provides detailed information on calorie counts, macronutrients (fat, protein, and carbohydrates), vitamins, minerals, and other essential nutrients for each food item. With the "Get Food Data" endpoint, users can make informed decisions about their diets, track their daily nutrient intake, and create meal plans tailored to their specific dietary needs.
Required Parameter: nutrientSearch
For example: Chocolate
{"total":143,"result":[{"_id":"634b005cd9a47eb26d661716","food_code":12200100,"food_description":"Coffee creamer, NFS","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":568.48,"energy_kcal":136,"protein_g":1,"carbohydrate_g":11.38,"sugar_g":11.38,"fiber_g":0,"fat_g":9.97,"fatty_acid_g":1.937,"fatty_acid_monounsaturated_g":7.551,"fatty_acid_polyunsaturated_g":0.027,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":1,"carotene_alpha_mcg":0,"carotene_beta_mcg":9,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.81,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":2.5,"calcium_mg":9,"phosphorus_mg":64,"magnesium_mg":0,"iron_mg":0.03,"zinc_mg":0.02,"copper_mg":0,"selenium_mg":1.1,"potassium_mg":191,"sodium_mg":67,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":77.27},{"_id":"634b005cd9a47eb26d661717","food_code":12210200,"food_description":"Coffee creamer, liquid","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":568.48,"energy_kcal":136,"protein_g":1,"carbohydrate_g":11.38,"sugar_g":11.38,"fiber_g":0,"fat_g":9.97,"fatty_acid_g":1.937,"fatty_acid_monounsaturated_g":7.551,"fatty_acid_polyunsaturated_g":0.027,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":1,"carotene_alpha_mcg":0,"carotene_beta_mcg":9,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.81,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":2.5,"calcium_mg":9,"phosphorus_mg":64,"magnesium_mg":0,"iron_mg":0.03,"zinc_mg":0.02,"copper_mg":0,"selenium_mg":1.1,"potassium_mg":191,"sodium_mg":67,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":77.27},{"_id":"634b005cd9a47eb26d661718","food_code":12210210,"food_description":"Coffee creamer, liquid, flavored","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":1049.18,"energy_kcal":251,"protein_g":0.69,"carbohydrate_g":35.07,"sugar_g":33.04,"fiber_g":1.1,"fat_g":13.5,"fatty_acid_g":2.635,"fatty_acid_monounsaturated_g":4.002,"fatty_acid_polyunsaturated_g":6.269,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":0,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":1,"thiamin_mg":0.004,"riboflavin_mg":0.024,"niacin_mg":0.091,"vitamin_b6_mg":0.004,"folic_acid_mcg":0,"folate_food_mcg":1,"folate_dfe_mcg_dfe":1,"folate_total_mcg":1,"choline_total_mg":0.5,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":1.58,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":3.3,"calcium_mg":6,"phosphorus_mg":28,"magnesium_mg":19,"iron_mg":0.59,"zinc_mg":0.25,"copper_mg":0.142,"selenium_mg":0.7,"potassium_mg":96,"sodium_mg":67,"caffeine_mg":3,"theobromine_mg":100,"alcohol_g":0,"water_g":50.06},{"_id":"634b005cd9a47eb26d661719","food_code":12210260,"food_description":"Coffee creamer, liquid, fat free","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":296.78,"energy_kcal":71,"protein_g":0.8,"carbohydrate_g":9.1,"sugar_g":9.1,"fiber_g":0,"fat_g":3.5,"fatty_acid_g":0.896,"fatty_acid_monounsaturated_g":2.03,"fatty_acid_polyunsaturated_g":0.42,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":3,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.28,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":0.9,"calcium_mg":1,"phosphorus_mg":75,"magnesium_mg":0,"iron_mg":0.56,"zinc_mg":0.05,"copper_mg":0,"selenium_mg":0.9,"potassium_mg":177,"sodium_mg":60,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":86.2},{"_id":"634b005cd9a47eb26d66171a","food_code":12210270,"food_description":"Coffee creamer, liquid, fat free, flavored","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":627,"energy_kcal":150,"protein_g":0.6,"carbohydrate_g":31.72,"sugar_g":31.78,"fiber_g":0,"fat_g":2.7,"fatty_acid_g":0.672,"fatty_acid_monounsaturated_g":1.522,"fatty_acid_polyunsaturated_g":0.315,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":2,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0.005,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.21,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":0.7,"calcium_mg":1,"phosphorus_mg":56,"magnesium_mg":0,"iron_mg":0.43,"zinc_mg":0.04,"copper_mg":0.002,"selenium_mg":0.8,"potassium_mg":133,"sodium_mg":45,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":64.66},{"_id":"634b005cd9a47eb26d66171b","food_code":12210280,"food_description":"Coffee creamer, liquid, fat free, sugar free, flavored","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":296.78,"energy_kcal":71,"protein_g":0.8,"carbohydrate_g":9.1,"sugar_g":9.1,"fiber_g":0,"fat_g":3.5,"fatty_acid_g":0.896,"fatty_acid_monounsaturated_g":2.03,"fatty_acid_polyunsaturated_g":0.42,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":3,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.28,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":0.9,"calcium_mg":1,"phosphorus_mg":75,"magnesium_mg":0,"iron_mg":0.56,"zinc_mg":0.05,"copper_mg":0,"selenium_mg":0.9,"potassium_mg":177,"sodium_mg":60,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":86.2},{"_id":"634b005cd9a47eb26d66171c","food_code":12210310,"food_description":"Coffee creamer, liquid, sugar free, flavored","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":296.78,"energy_kcal":71,"protein_g":0.8,"carbohydrate_g":9.1,"sugar_g":9.1,"fiber_g":0,"fat_g":3.5,"fatty_acid_g":0.896,"fatty_acid_monounsaturated_g":2.03,"fatty_acid_polyunsaturated_g":0.42,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":3,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":0,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":0.28,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":0.9,"calcium_mg":1,"phosphorus_mg":75,"magnesium_mg":0,"iron_mg":0.56,"zinc_mg":0.05,"copper_mg":0,"selenium_mg":0.9,"potassium_mg":177,"sodium_mg":60,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":86.2},{"_id":"634b005cd9a47eb26d66171d","food_code":12210400,"food_description":"Coffee creamer, powder","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":2211.22,"energy_kcal":529,"protein_g":2.48,"carbohydrate_g":59.29,"sugar_g":7.77,"fiber_g":0,"fat_g":32.92,"fatty_acid_g":19.146,"fatty_acid_monounsaturated_g":9.796,"fatty_acid_polyunsaturated_g":0.408,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":0,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":0,"thiamin_mg":0,"riboflavin_mg":0,"niacin_mg":0,"vitamin_b6_mg":0,"folic_acid_mcg":0,"folate_food_mcg":0,"folate_dfe_mcg_dfe":0,"folate_total_mcg":0,"choline_total_mg":2.3,"vitamin_b12_mcg":0,"vitamin_b12_added_mcg":0,"vitamin_c_mg":0,"vitamin_d_d2_plus_d3_mcg":0,"vitamin_e_alpha-tocopherol_mg":1.26,"vitamin_e_added_mg":0,"vitamin_k_phylloquinone_mcg":1.7,"calcium_mg":2,"phosphorus_mg":288,"magnesium_mg":1,"iron_mg":0.26,"zinc_mg":0.07,"copper_mg":0.018,"selenium_mg":0,"potassium_mg":669,"sodium_mg":124,"caffeine_mg":0,"theobromine_mg":0,"alcohol_g":0,"water_g":2.98},{"_id":"634b005cd9a47eb26d66171e","food_code":12210420,"food_description":"Coffee creamer, powder, flavored","category_number":8008,"category_description":"Cream and cream substitutes","energy_kj":2014.76,"energy_kcal":482,"protein_g":0.68,"carbohydrate_g":75.42,"sugar_g":58.01,"fiber_g":1.2,"fat_g":21.47,"fatty_acid_g":19.446,"fatty_acid_monounsaturated_g":0.618,"fatty_acid_polyunsaturated_g":0.229,"cholesterol_mg":0,"retinol_mcg":0,"vitamin_a_rae_mcg_RAE":0,"carotene_alpha_mcg":0,"carotene_beta_mcg":0,"cryptoxanthin_beta_mcg":0,"lycopene_mcg":0,"lutein_plus_zeaxanthin_mcg":1,"thiamin_mg":0.004,"riboflavin_mg":0.027,"niacin_mg":0.084,"vitamin_b6_mg":0.004,"folic_acid_mcg":0,"folate_food_mcg":1,"folate_dfe_mcg_dfe":1,"folate_total_mcg":1,"choline_total_mg":0.5,"vitamin_b12_mcg":...
curl --location --request GET 'https://zylalabs.com/api/1822/food+data+api/1483/get+food+data&nutrientSearch=Required' --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 commitments. One click upgrade/downgrade or cancellation. No questions asked.
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.
Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). 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 paying by card, just contact us at [email protected]
Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
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.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the βX-Zyla-API-Calls-Monthly-Remainingβ field in the response header. For example, if your plan allows 1000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.
To see the maximum number of API requests your plan allows, check the βX-Zyla-RateLimit-Limitβ response header. For instance, if your plan includes 1000 requests per month, this header will display 1000.
The βX-Zyla-RateLimit-Resetβ header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3600, it means 3600 seconds are left until the limit resets.
Yes, you can cancel your plan anytime by going to your account and selecting the cancellation option on the Billing page. Please note that upgrades, downgrades, and cancellations take effect immediately. Additionally, upon cancellation, you will no longer have access to the service, even if you have remaining calls left in your quota.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]
Service Level:
92%
Response Time:
1,073ms
Service Level:
100%
Response Time:
564ms
Service Level:
100%
Response Time:
1,146ms
Service Level:
100%
Response Time:
709ms
Service Level:
100%
Response Time:
2,610ms
Service Level:
100%
Response Time:
640ms
Service Level:
100%
Response Time:
151ms
Service Level:
100%
Response Time:
463ms
Service Level:
100%
Response Time:
684ms
Service Level:
100%
Response Time:
2,693ms
Service Level:
67%
Response Time:
745ms
Service Level:
91%
Response Time:
167ms
Service Level:
100%
Response Time:
608ms
Service Level:
100%
Response Time:
599ms
Service Level:
100%
Response Time:
3,934ms
Service Level:
100%
Response Time:
4,754ms
Service Level:
100%
Response Time:
1,521ms