Tools/nutrition/off_product_by_barcode

nutrition/off_product_by_barcode

Look up a packaged food product by its barcode (EAN/UPC).

0.1 credits / call ($0.0001)
charged on success

What it does

Returns the Open Food Facts record for a product identified by its barcode: product and brand names, ingredients, nutrition facts, Nutri-Score, NOVA group, labels, and categories.

Primary use cases

  • Resolving a scanned barcode into product and nutrition data.
  • Checking ingredients, allergens, or Nutri-Score for a packaged item.

Good to know

Pass the barcode digits as barcode (e.g. "3017620422003"). Use fields to limit the payload (e.g. "product_name,brands,nutriments,nutriscore_grade"). Data is licensed under the ODbL: credit "Open Food Facts" when you surface it.

Parameters

fieldsstringoptional

Comma-separated fields to return (e.g. "product_name,brands,nutriments").

barcodestringrequired

Product barcode digits (EAN/UPC).

nutrition/off_product_by_barcode — Faro