Nutrition Analysis API provides data solutions to develop projects for fetching the nutritional information based on a POST request of the recipe content objectives. The nutrition analysis API is the top tool to precisely fetch Nutrition data to your product.
Ingredient Information API
Ingredient information API for getting all available information about an ingredient, such as its image and supermarket aisle
This ingredient information API of Spoonacular delivers data with the purpose of getting all available information about an ingredient, such as its image and supermarket aisle. Programmers who are using the recipe ingredient details API, use it for a wide variety of use cases, several of which are; culinary applications, websites and blogs, website plugins, product marketing and more. The options are endless of course and it is certain that more business cases exist, so experiment with the data for your use case and it should be exciting to read what will be made with it. This database has global data coverage available. Customers can filter the API to get the response determined by id, amount and unit. Clients use it within the culinary, entertainment, social media, food and grocery, restaurant and more sector. Certain examples of the type of business using it are culinary and hobby websites, cooking app and platform developers, influencers, online shopping platforms and more, generally they can be small business, medium business and enterprises.
Menu
Ingredient Information API endpoints
GET |
/food/ingredients/{id}/information |
GET | /food/ingredients/{id}/information |
To use the system for getting all available information about an ingredient, such as its image and supermarket aisle, you should communicate with the API endpoint; /food/ingredients/{id}/information to receive a similar output like in the response of the example. To be able to obtain the output desired, make use of the objects and parameters as explained in the parameter table. Place the endpoint into the URL to execute the request. Working with your API key parameter and connecting to it with your private key, you can begin receiving data by using any of the main programming languages.
API filter parameters
Below you will find the available filter methods for the ingredient information API.
Filters | ||
id |
||
amount |
||
unit |
Ingredient information API data description
Make an API call with the parameters applicable and use the table to understand the objects with their related description.
Objects | Description |
id | |
original | |
originalName | |
name | |
amount | |
unit | |
unitShort | |
unitLong | |
possibleUnits | |
estimatedCost | |
value | |
unit | |
consistency | |
shoppingListUnits | |
aisle | |
image | |
meta | |
nutrition | |
nutrients | |
name | |
etc | etc |
Ingredient information API response output
An example output of the endpoint request. There is more data available, it is limited to be able to make it more readable. Sign-up to the API and receive the complete output.
{
"id": 9266,
"original": "pineapples",
"originalName": "pineapples",
"name": "pineapples",
"amount": 1.0,
"unit": "",
"unitShort": "",
"unitLong": "",
"possibleUnits": [
"piece",
"slice",
"fruit",
"g",
"oz",
"cup",
"serving"
],
"estimatedCost": {
"value": 299.0,
"unit": "US Cents"
},
"consistency": "solid",
"shoppingListUnits": [
"pieces"
],
"aisle": "Produce",
"image": "pineapple.jpg",
"meta": [],
"nutrition": {
"nutrients": [
{
"name": "Calories",
"amount": 452.5,
"unit": "cal",
"percentOfDailyNeeds": 22.63
},
{
"name": "Fat",
"amount": 1.09,
"unit": "g",
"percentOfDailyNeeds": 1.67
},
{
"name": "Saturated Fat",
"amount": 0.08,
"unit": "g",
"percentOfDailyNeeds": 0.51
},
{
"name": "Carbohydrates",
"amount": 118.74,
"unit": "g",
"percentOfDailyNeeds": 39.58
},
{
"name": "Net Carbohydrates",
"amount": 106.07,
"unit": "g",
"percentOfDailyNeeds": 38.57
},
{
"name": "Sugar",
"amount": 89.14,
"unit": "g",
"percentOfDailyNeeds": 99.05
},
{
"name": "Cholesterol",
"amount": 0.0,
"unit": "mg",
"percentOfDailyNeeds": 0.0
},
{
"name": "Sodium",
"amount": 9.05,
"unit": "mg",
"percentOfDailyNeeds": 0.39
},
{
"name": "Protein",
"amount": 4.89,
"unit": "g",
"percentOfDailyNeeds": 9.77
},
{
"name": "Vitamin C",
"amount": 432.59,
"unit": "mg",
"percentOfDailyNeeds": 524.35
},
{
"name": "Manganese",
"amount": 8.39,
"unit": "mg",
"percentOfDailyNeeds": 419.47
},
{
"name": "Fiber",
"amount": 12.67,
"unit": "g",
"percentOfDailyNeeds": 50.68
},
{
"name": "Vitamin B6",
"amount": 1.01,
"unit": "mg",
"percentOfDailyNeeds": 50.68
},
{
"name": "Copper",
"amount": 1.0,
"unit": "mg",
"percentOfDailyNeeds": 49.78
},
{
"name": "Vitamin B1",
"amount": 0.72,
"unit": "mg",
"percentOfDailyNeeds": 47.66
},
{
"name": "Folate",
"amount": 162.9,
"unit": "µg",
"percentOfDailyNeeds": 40.73
},
{
"name": "Potassium",
"amount": 986.45,
"unit": "mg",
"percentOfDailyNeeds": 28.18
},
{
"name": "Magnesium",
"amount": 108.6,
"unit": "mg",
"percentOfDailyNeeds": 27.15
},
{
"name": "Vitamin B3",
"amount": 4.53,
"unit": "mg",
"percentOfDailyNeeds": 22.63
},
{
"name": "Vitamin B5",
"amount": 1.93,
"unit": "mg",
"percentOfDailyNeeds": 19.28
},
{
"name": "Vitamin B2",
"amount": 0.29,
"unit": "mg",
"percentOfDailyNeeds": 17.04
},
{
"name": "Iron",
"amount": 2.62,
"unit": "mg",
"percentOfDailyNeeds": 14.58
},
{
"name": "Calcium",
"amount": 117.65,
"unit": "mg",
"percentOfDailyNeeds": 11.77
},
{
"name": "Vitamin A",
"amount": 524.9,
"unit": "IU",
"percentOfDailyNeeds": 10.5
},
{
"name": "Zinc",
"amount": 1.09,
"unit": "mg",
"percentOfDailyNeeds": 7.24
},
{
"name": "Phosphorus",
"amount": 72.4,
"unit": "mg",
"percentOfDailyNeeds": 7.24
},
{
"name": "Vitamin K",
"amount": 6.34,
"unit": "µg",
"percentOfDailyNeeds": 6.03
},
{
"name": "Selenium",
"amount": 0.91,
"unit": "µg",
"percentOfDailyNeeds": 1.29
},
{
"name": "Vitamin E",
"amount": 0.18,
"unit": "mg",
"percentOfDailyNeeds": 1.21
}
],
"properties": [
{
"name": "Glycemic Index",
"amount": 58.67,
"unit": ""
},
{
"name": "Glycemic Load",
"amount": 62.23,
"unit": ""
}
],
"flavonoids": [
{
"name": "Cyanidin",
"amount": 0.0,
"unit": "mg"
}
],
"caloricBreakdown": {
"percentProtein": 3.88,
"percentFat": 1.94,
"percentCarbs": 94.18
},
"weightPerServing": {
"amount": 905,
"unit": "g"
}
},
"categoryPath": [
"tropical fruit",
"fruit"
]
}
Software development kits
There are SDKs available to help the development of your project, just email for them and they are emailed. Next use the filter parameters to select the required output for you and with the ingredient information API response in JSON your platform will be possible to design.
Ingredient Information API pricing
Before you decide to purchase API access you are able to inquire into samples and trials of the ingredient information data. E-mail and request for the test access and you can play with the API. It will not be unlimited access but it will be enough to test the API platform.
Cost of this API
Spoonacular data access is ready to purchase monthly from $29 inclusive of API documentation and provider support.
Option | Price |
Monthly subscription | From $29/month |
Variable pricing | no |
Free Trial
Free trial is available
Alternative options
Food Information API by Edamam is here to offer quality and accurate elements required to have in culinary applications, websites and blogs, website plugins, product marketing and more use cases. Get connected to the Food Information API provider to receive precise data for searching for nutrition and diet information within Edamam’s Food Database and similar objectives right away.
Contact the Search Recipes By Nutrients API provider to access comprehensive data for finding a set of recipes that adhere to the given nutritional limits purposes today. Search Recipes By Nutrients API by Spoonacular offers extensive and fundemental elements necessary to have in culinary applications, websites and blogs, website plugins, product marketing and more fields.
Similar Recipes API ensures you get the best external data solutions to build products for finding recipes which are similar to the given one functions. The similar recipes API is the ideal data tool to directly get Food data to your project.
Search Grocery Products API offers external data solutions to build data-oriented products for searching packaged food products, such as frozen pizza or Greek yogurt use cases. The search grocery products API is the ideal tool to directly get Food data to your client.
Menu Item Information API ensures you get the best external data solutions to develop projects for getting all available information about a menu item, such as nutrition objectives. Food data via menu item information API returns required details to ensure you can build advanced apps, websites, and more.

Menu