Compute Ingredient Amounts

Learn how to compute ingredient amounts based on nutritional goals using the Spoonacular API.

We can use the Spoonacular API to find the amount of an ingredient required to meet a nutritional goal and convert those amounts to more understandable units if needed. To do so, we can use the following endpoints based on our use case:

  • compute ingredient amount
  • convert ingredient amount

Get hands-on with 1200+ tech skills courses.