ml

Extract nutrition information from a block of text

Changed on
post/compat/v2/ml/getNutritionFromText

Request

Request body

textstring required

Response

Successful response

servingSizestring nullable required

Serving size description, e.g. '1 cup (240g)'

caloriesnumber nullable required

Calories per serving in kcal

totalFatnumber nullable required

Total fat per serving in grams

saturatedFatnumber nullable required

Saturated fat per serving in grams

transFatnumber nullable required

Trans fat per serving in grams

polyunsaturatedFatnumber nullable required

Polyunsaturated fat per serving in grams

monounsaturatedFatnumber nullable required

Monounsaturated fat per serving in grams

cholesterolnumber nullable required

Cholesterol per serving in milligrams

sodiumnumber nullable required

Sodium per serving in milligrams

totalCarbsnumber nullable required

Total carbohydrates per serving in grams

dietaryFibernumber nullable required

Dietary fiber per serving in grams

totalSugarsnumber nullable required

Total sugars per serving in grams

addedSugarsnumber nullable required

Added sugars per serving in grams

proteinnumber nullable required

Protein per serving in grams

vitaminDnumber nullable required

Vitamin D per serving in micrograms

calciumnumber nullable required

Calcium per serving in milligrams

ironnumber nullable required

Iron per serving in milligrams

potassiumnumber nullable required

Potassium per serving in milligrams

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      response property addedSugars list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property calcium list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property calories list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property cholesterol list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property dietaryFiber list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property iron list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property monounsaturatedFat list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property polyunsaturatedFat list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property potassium list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property protein list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property saturatedFat list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property servingSize list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property sodium list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property totalCarbs list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property totalFat list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property totalSugars list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property transFat list-of-types was narrowed by removing types null from media type application/json of response 200

    • info

      response property vitaminD list-of-types was narrowed by removing types null from media type application/json of response 200