Tools / Bulk Barcode Lookup: UPC/EAN to Product (Open Food Facts)

Bulk Barcode Lookup: UPC/EAN to Product (Open Food Facts)

Turn UPC, EAN-8/13 and GTIN-14 barcodes into product data. Input: barcodes. Output (JSON/CSV): one row per item with barcode, type, checksumValid, found, database, productName, brands, quantity, categories, nutriScore.

Run it on Apify Store →

What it's for

Example input

{
 "barcodes": [
  "3017624010701",
  "049000028911",
  "5449000000996",
  "0012345678905",
  "1234"
 ],
 "includeIngredients": true
}

Example output

{
  "input": "3017624010701",
  "barcode": "3017624010701",
  "type": "EAN-13",
  "checksumValid": true,
  "ean13": "3017624010701",
  "gs1PrefixCountry": "France",
  "found": true,
  "database": "food",
  "productName": "Nutella",
  "brands": "Ferrero",
  "quantity": "400.0 g",
  "categories": [
    "sweet-spreads",
    "pates-a-tartiner",
    "hazelnut-spreads",
    "chocolate-spreads",
    "…"
  ],
  "labels": [
    "no-gluten"
  ],
  "countriesSold": [
    "france",
    "united-kingdom"
  ],
  "packaging": [
    "glass-jar"
  ],
  "stores": "Sainsbury's, Tesco",
  "manufacturingPlaces": null,
  "imageUrl": "https://images.openfoodfacts.org/images/products/301/762/401/0701/front_en.100.400.jpg"
}

Input reference

FieldTypeNotes
barcodes requiredarrayUPC-A, EAN-13, EAN-8 or GTIN-14.
databasesarrayfood, beauty, petfood, products.
includeIngredientsbooleanInclude ingredients & allergens
includeNutritionbooleanInclude nutrition facts

Pricing

Pay per event: Barcode looked up $0.001. Plus Apify's small per-run start fee. Apify's free plan includes monthly credit to try it.

How to run

  1. Open the Store page and click Try for free.
  2. Fill in the input (or paste the example JSON in the JSON tab).
  3. Click Start, then export results as CSV, Excel or JSON, or call it via the Apify API.
  4. Optional: add a Schedule and a webhook/Slack/email integration for ongoing monitoring.

Open Bulk Barcode Lookup on Apify →