cURL
curl --request POST \ --url http://api.calai.app/v4/scanLabel \ --header 'Content-Type: application/json' \ --data '{ "data": { "imageData": "<string>" } }'
{ "success": true, "data": { "carbs": 123, "fats": 123, "protein": 123, "ethanolCarbRatio": 123, "calories": 123, "name": "<string>", "servings": 123, "ingredients": [ { "name": "<string>", "protein": 123, "carbs": 123, "fats": 123, "calories": 123, "isAdded": true } ], "healthRating": { "rating": 123, "tip1": "<string>", "tip2": "<string>", "tip3": "<string>" }, "shouldUseLabelScanner": true }, "error": "noLabelDetected" }
Scans a nutrition label image and returns the nutritional content
Show child attributes
Successful response
noLabelDetected
unauthorized
exceededDailyLimit
invalidApiKey
internalServerError