Open Food Facts Barcode Lookup avatar

Open Food Facts Barcode Lookup

Pricing

from $1.40 / 1,000 results

Go to Apify Store
Open Food Facts Barcode Lookup

Open Food Facts Barcode Lookup

Looks up EAN-8, EAN-13, or UPC barcodes via the public Open Food Facts API and returns product name, brand, categories, ingredients, Nutri-Score, labels, quantity, and image URL with change monitoring.

Pricing

from $1.40 / 1,000 results

Rating

0.0

(0)

Developer

Sourcewise

Sourcewise

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Look up EAN-8, EAN-13, or UPC barcodes via the public Open Food Facts API. Returns product name, brand, categories, ingredients, Nutri-Score, labels, quantity, and image URL. Includes change monitoring to detect new or updated products since the last run.

Data © Open Food Facts contributors, Open Database License (ODbL) and Creative Commons Attribution-ShareAlike (CC-BY-SA).

Who this is for

  • E-commerce teams enriching product catalogs with standardized food data.
  • Nutrition apps needing ingredients, allergens, and Nutri-Score grades.
  • Market researchers tracking product formulations and label changes.
  • Retailers verifying packaging claims (organic, vegan, gluten-free) across suppliers.

Use cases

  • Bulk-enrich a product database with missing nutrition and ingredient information.
  • Monitor competitor product reformulations by scheduling daily runs with change detection.
  • Validate label compliance for private-label products against Open Food Facts community data.
  • Build ingredient-based filtering (allergens, additives, dietary preferences) for consumer apps.

Input

Provide either a CSV file (upload or public URL) with a column named barcode or ean, or a direct array of barcode strings. The CSV method is primary; the array serves as a fallback.

ParameterTypeRequiredDescription
csvFilestringYes*Public URL or uploaded CSV file containing a barcode or ean column.
barcodesarray[string]NoFallback list of EAN-8, EAN-13, or UPC codes (e.g., ["3017620422003", "5449000000996"]).
onlyNewbooleanNoWhen true, outputs only barcodes that are new or have changed since the previous run. Default false.
delayMsintegerNoPause between API calls to respect rate limits. Default 1000 ms.
maxItemsintegerNoMaximum number of barcodes to process per run. Default 100.

*Either csvFile or barcodes must be provided.

Example input

{ "csvFile": "https://example.com/barcodes.csv", "barcodes": ["3017620422003", "5449000000996", "4001686012345"], "onlyNew": false, "delayMs": 1000, "maxItems": 100 }

Output

Each result is an object with the following fields. Fields marked required are always present; others appear when the product is found.

FieldTypeRequiredDescription
barcodestringYesThe queried barcode (EAN-8, EAN-13, or UPC).
foundbooleanYesWhether the product was found in Open Food Facts.
productNamestringNoProduct name as listed.
brandsstringNoBrand(s) associated with the product.
categoriesstringNoCategory hierarchy (comma-separated).
ingredientsTextstringNoIngredients list as text.
nutriScoreGradestringNoNutri-Score letter grade (a–e).
labelsstringNoLabels/tags (comma-separated, e.g., organic, vegan).
quantitystringNoProduct quantity (e.g., 200 g, 1.5 L).
imageUrlstringNoURL of the product front image.
changedAtstringNoISO timestamp when this result was detected as new or changed (only in monitoring mode).
previousValuesobjectNoPrevious values for fields that changed (only when onlyNew=true).

Example output

[ { "barcode": "3017620422003", "found": true, "productName": "Nutella", "brands": "Ferrero, Nutella", "categories": "Cocoa and hazelnuts spreads, Confectionary based spreads", "ingredientsText": "Ingrédients : Sucre, Huile De Palme, Noisettes 13%, Cacao Maigre 7, 4%, Lait Écrémé En Poudre 6, 6%, Lactoserum En Poudre, Émulsifiants : Lécithines Soja], Vanilline, Sans Gluten,", "nutriScoreGrade": "e", "labels": "Vegetarian, No gluten, Triman", "quantity": "400 g e", "imageUrl": "https://images.openfoodfacts.org/images/products/301/762/042/2003/front_en.879.400.jpg", "changedAt": null, "previousValues": null }, { "barcode": "5449000000996", "found": true, "productName": "Coca-Cola Original", "brands": "Coca-Cola", "categories": "Bebidas de cola", "ingredientsText": "ماء غازي، سكر، ملون 50 ، مشروب غازي بمستخلصات نباتية طرف المركز العمرا کوکاکوا المشرویات بتونس، شارع الأن ترخیض سجلة کوکاکولا، کوک جاف مگان نظیف پایان حسطّ و یحبد CAZEUGE AUX FYT الاستهلاك قبل", "nutriScoreGrade": "e", "labels": "Hecho en la UE, Triman", "quantity": "330 ml", "imageUrl": "https://images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.400.jpg", "changedAt": null, "previousValues": null } ]

Pricing

Pay per result: approximately $2 per 1,000 results. You are charged only for successful lookups (products found or not found). The first run with onlyNew=true returns all products; subsequent runs return only changes.

Limits

  • Rate limit: default 1 request per second (adjustable via delayMs).
  • Open Food Facts API allows generous usage; please respect their terms of use.
  • Maximum items per run: configurable via maxItems (default 100).
  • Change monitoring requires persistent storage; the actor stores state between runs automatically.

Source

Data sourced from Open Food Facts – open food product database. Licensed under ODbL (database) and CC-BY-SA (content). This actor is not affiliated with or endorsed by Open Food Facts.

Example output

[
{
"barcode": "3017620422003",
"found": true,
"productName": "Nutella",
"brands": "Ferrero, Nutella",
"categories": "Cocoa and hazelnuts spreads, Confectionary based spreads",
"ingredientsText": "Ingrédients : Sucre, Huile De Palme, Noisettes 13%, Cacao Maigre 7, 4%, Lait Écrémé En Poudre 6, 6%, Lactoserum En Poudre, Émulsifiants : Lécithines Soja], Vanilline, Sans Gluten,",
"nutriScoreGrade": "e",
"labels": "Vegetarian, No gluten, Triman",
"quantity": "400 g e",
"imageUrl": "https://images.openfoodfacts.org/images/products/301/762/042/2003/front_en.879.400.jpg",
"changedAt": null,
"previousValues": null
},
{
"barcode": "5449000000996",
"found": true,
"productName": "Coca-Cola Original",
"brands": "Coca-Cola",
"categories": "Bebidas de cola",
"ingredientsText": "ماء غازي، سكر، ملون 50 ، مشروب غازي بمستخلصات نباتية طرف المركز العمرا کوكاکوا المشرويات بتونس، شارع الأن ترخيض سجلة كوكاكولا، كوك جاف مگان نظيف نهاية حسطّ ويحبد CAZEUGE AUX FYT الاستهلاك قبل",
"nutriScoreGrade": "e",
"labels": "Hecho en la UE, Triman",
"quantity": "330 ml",
"imageUrl": "https://images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.400.jpg",
"changedAt": null,
"previousValues": null
}
]