About
This API allows you to analyze food images and determine their NOVA category (classification of processed foods). It uses AI to identify foods and provide nutritional information.
Authentication
All API endpoints require authentication using an API key. Include your
API key in the request headers using the X-API-Key header.
To obtain an API key, please send an email to vincent.battaglia@gmail.com with your use case and requirements.
Available endpoints
POST
/analyzeAnalyze a food image and determine its NOVA category
Parameters:
image (File)anonymousId (string)followUpAnswer? (string)previousContext? (string)scanId? (string)
POST
/analyze/saveSave a scan to the database
Parameters:
image (File)scanData (JSON string)anonymousId? (string)userId? (string)scanId? (string)
POST
/analyze/barcodeScan a barcode and retrieve product information from Open Food Facts
Parameters:
barcode (string)scanId (string)
POST
/analyze/barcode/decodeDecode a barcode from an image
Parameters:
image (File)
Status
API Operational