Predict

Extract ingredient list from OCR

Extract and parse ingredient lists from OCR text

get/predict/ingredient_list

Request

  • Base URL
    https://robotoff.openfoodfacts.org/api/v1
  • URL
    https://robotoff.openfoodfacts.org/api/v1/predict/ingredient_list
  • Auth
    none declared

Query parameters

ocr_urlstring uri required
Example:https://static.openfoodfacts.org/images/products/216/124/000/3089/1.json

URL of the OCR JSON to process

aggregation_strategy'simple' | 'max' | 'first'

Strategy for aggregating ingredient entities

model_versionstring

Version of the ingredient extraction model

Response

Extracted ingredient list

ingredientsobject[]

Extracted ingredients

Changes

No recorded changes to this operation across all 4 revisions of this API.