GET /food/products/{id}
Get Product Information
Use a product id to get full information about a product, such as ingredients, nutrition, etc. The nutritional information is per serving.
Request Traces
Request Headers
GET https://api.spoonacular.com/food/products/{id}
Accept: application/json
HTTP Response
HTTP 200
Success
{
"aisle": "string",
"badges": [
{
},
],
"breadcrumbs": [
{
},
],
"generatedText": ,
"id": 0,
"imageType": "string",
"importantBadges": [
{
},
],
"ingredientCount": 0,
"ingredientList": "string",
"ingredients": [
{
"description": ,
"name": "string",
"safety_level": ,
},
],
"likes": 0,
"nutrition": {
"caloricBreakdown": {
"percentCarbs": 0,
"percentFat": 0,
"percentProtein": 0,
},
"nutrients": [
{
"amount": 0,
"name": "string",
"percentOfDailyNeeds": 0,
"unit": "string",
},
],
},
"price": 0,
"servings": {
"number": 0,
"size": 0,
"unit": "string",
},
"spoonacularScore": 0,
"title": "string",
}
HTTP 401
Unauthorized
HTTP 403
Forbidden
HTTP 404
Not Found
