GET /recipes/{id}/nutritionWidget.json
Nutrition by ID
Get a recipe's nutrition data.
Request Traces
Request Headers
GET https://api.spoonacular.com/recipes/{id}/nutritionWidget.json
Accept: application/json
HTTP Response
HTTP 200
Success
{
"bad": [
{
"amount": "string",
"indented": false,
"name": "string",
"percentOfDailyNeeds": 0,
},
],
"calories": "string",
"carbs": "string",
"fat": "string",
"good": [
{
"amount": "string",
"indented": false,
"name": "string",
"percentOfDailyNeeds": 0,
},
],
"protein": "string",
}
HTTP 401
Unauthorized
HTTP 403
Forbidden
HTTP 404
Not Found
