Spoonacular
5/5
5/5

[┐∵]-

Ingredient Information API

Spoonacular ingredient information API for getting all available information about an ingredient, such as its image and supermarket aisle
Get access to the data created by Spoonacular to use the ingredient information API for getting all available information about an ingredient, such as its image and supermarket aisle. Clients are able to filter this API to get the response based on id, amount and unit. Certain examples of the type of business who uses it are culinary and hobby websites, cooking app and platform developers, influencers, online shopping platforms and more, usually the customers are small business, medium business and enterprises within the culinary, entertainment, social media, food and grocery, restaurant and more industry. Programmers who are using the recipe ingredient details data, use it for many projects, some of which are; culinary applications, websites and blogs, website plugins, product marketing and more. The options are boundless of course and it is certain that alternative business cases come to mind, so work with the data for your use case and it should be exciting to see what will be made with it. The API covers global data.

Ingredient Information API endpoints

GET

/food/ingredients/{id}/information

Send a data request using GET to the API endpoint, using the appropriate parameters like in the example and obtain the related data as an output. Use the endpoint; /food/ingredients/{id}/information for getting all available information about an ingredient, such as its image and supermarket aisle with the recipe ingredient information system. All major programming languages work with the API output. Customers simply need to attach the personal key as an endpoint parameter and customers can start receiving the data. In order to make data request, input the data endpoint in the browser. The parameter table demonstrates the available objects and parameters output descriptions.

API filtering methods

Below you may find the available filter parameters with the ingredient information API.
Filters
id
amount
unit

Data object description

Get the data from the system with the available parameters and the table to interpret the objects.
Objects Description
id
original
originalName
name
amount
unit
unitShort
unitLong
possibleUnits
estimatedCost
value
unit
consistency
shoppingListUnits
aisle
image
meta
nutrition
nutrients
name
etc etc

Output response of the ingredient information API

Subscribe for the system to call the full data outputbut you can already see a part of the output response on this page.
				
					{
    "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"
    ]
}
				
			

SDKs

Use whichever of the filter attributes to get the recipe ingredient information data that is required. The API provides output as JSON file format and for programming languages such as; Javascript, JQuery, VueJS, Angular, JAVA, PHP, NodeJS, Python, Go, Ruby, C#, R, Strest, Rust, Swift and Scala there are SDKs accessible, now just ask for it and it should be sent soon.

Ingredient Information API pricing

Before making the decision to buy data access you are able to inquire into trials and samples of the ingredient information data. Email to ask for the test access and you should be able to experiment with the API. It won’t be unlimited access but it should be sufficient to be able to test the API system.

Cost and price of the API

The API by Spoonacular is available monthly from $29 with 3D secure payment and immediate access to get data.
Option Price
Monthly subscription From $29/month
Variable pricing no

Free Trial

Free trial is available

Alternative options

Spoonacular

Search Recipes By Nutrients API
5/5
5/5
Food data via search recipes by nutrients API provides necessary details to make sure you can build advanced online products. Search Recipes By Nutrients API offers external data solutions to build projects for finding a set of recipes that adhere to the given nutritional limits objectives.

Spoonacular

Similar Recipes API
5/5
5/5
Similar Recipes API grants data solutions to develop products for finding recipes which are similar to the given one objectives. This similar recipes API includes a gigantic volume of Food data inclusive of the entire elements you want.

Spoonacular

Search Grocery Products API
5/5
5/5
Food data via search grocery products API returns necessary types of data in order to build excellent apps, websites, and more. Get connected to the Search Grocery Products API provider to start receiving comprehensive data for searching packaged food products, such as frozen pizza or Greek yogurt and similar purposes easily.

Spoonacular

Menu Item Information API
5/5
5/5
The menu item information API is the top tool to precisely fetch Food data to your product. Menu Item Information API proposes to offer precise culinary applications, websites and blogs, website plugins, product marketing and more data for creating apps, web services, tools, software, market inquiries and more.

Sign up for Spoonacular ingredient information API

Get Data Access

~[ ∵ ]~

Sign-up Succesful

Wait for the Data