v3

latestOpenAPI 3.0.0raw.githubusercontent.com2026-03-0936575.8 KB
Predict

Extract ingredient list from OCR

Extract and parse ingredient lists from OCR text

get/predict/ingredient_list

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