Skip to main content
POST
Analyze Nutrients

Authorizations

x-api-key
string
header
required

Body

application/json
ingredients
string[]
required

An array of strings, where each string is one ingredient.

Minimum array length: 1
Example:
servings
string

The number of servings the ingredients are for (e.g., '4 servings'). Defaults to 1 if not specified.

Example:

"4 servings"

Response

Successfully analyzed nutrients.

success
enum<boolean>
required
Available options:
true
data
object
required