GET /recipes/convert

spoonacular.com

Summary: Convert Amounts
Operation ID: convertAmounts
Auth: unknown
Description

Convert amounts like "2 cups of flour to grams".

Parameters (4)

ingredientName (string, query, required)

The ingredient which you want to convert.

sourceAmount (number, query, required)

The amount from which you want to convert, e.g. the 2.5 in "2.5 cups of flour to grams".

sourceUnit (string, query, required)

The unit from which you want to convert, e.g. the grams in "2.5 cups of flour to grams". You can also use "piece", e.g. "3.4 oz tomatoes to piece"

targetUnit (string, query, required)

The unit to which you want to convert, e.g. the grams in "2.5 cups of flour to grams". You can also use "piece", e.g. "3.4 oz tomatoes to piece"

No probe data for this endpoint yet.