🍎 ЯEBEL API

Backend API for food analysis and NOVA classification

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 /analyze

Analyze a food image and determine its NOVA category

Parameters:
  • image (File)
  • anonymousId (string)
  • followUpAnswer? (string)
  • previousContext? (string)
  • scanId? (string)
POST /analyze/save

Save a scan to the database

Parameters:
  • image (File)
  • scanData (JSON string)
  • anonymousId? (string)
  • userId? (string)
  • scanId? (string)
POST /analyze/barcode

Scan a barcode and retrieve product information from Open Food Facts

Parameters:
  • barcode (string)
  • scanId (string)
POST /analyze/barcode/decode

Decode a barcode from an image

Parameters:
  • image (File)

Status

API Operational

Full documentation available on GitHub