GET /food/ingredients/{id}/amount
Compute Ingredient Amount
Compute the amount you need of a certain ingredient for a certain nutritional goal. For example, how much pineapple do you have to eat to get 10 grams of protein?
Request Traces
Request Headers
GET https://api.spoonacular.com/food/ingredients/{id}/amount
Accept: application/json
HTTP Response
HTTP 200
Success
{
"amount": 0,
"unit": "string",
}
HTTP 401
Unauthorized
HTTP 403
Forbidden
HTTP 404
Not Found
