Open Food Facts Products is a no-code web scraper that collects public e-commerce data: barcode, product name, brands, quantity and categories and more. Enter database, what to fetch and barcodes, start a run and download the results as Excel, CSV or JSON. It costs 1 credit per run plus 0.02 credits per result, so 100 results cost about 3 credits.
Category: E-commerce · Price: 1 credits per run + 0.02 per result.
Open Food Facts Products
Get product data from Open Food Facts, the open, crowd-sourced database of food products from around the world, and from its sister databases for cosmetics (Open Beauty Facts), pet food (Open Pet Food Facts) and other consumer products (Open Products Facts). Look products up by barcode or search by category, brand, country, label, Nutri-Score or keyword, and get one row per product with names, brands, categories, ingredients, allergens, additives, Nutri-Score, NOVA group, Green-Score, nutrients per 100 g, an image link and the product page, with the database licence on every row.
Typical uses
- Enrich a product catalogue or shopping list with ingredients, allergens and nutrition facts by barcode.
- Compare the nutrition profile of a category (breakfast cereals sold in France, organic granola, Nutri-Score A snacks).
- Build datasets for nutrition apps, retail analytics or research, with the share-alike licence handled up front.
Input
| Field |
What to enter |
| Database |
Open Food Facts (food and drinks, default), Open Beauty Facts, Open Pet Food Facts or Open Products Facts. |
| What to fetch |
Products by barcode or Search products. |
| Barcodes |
EAN/UPC codes, one per line (3017624010701). Spaces and dashes are removed; anything that is not 6–24 digits is skipped with a warning. |
| Keyword |
Open Food Facts only: words that must all appear in the name, brand, categories or labels, e.g. granola. |
| Category, Brand, Sold in country, Label |
English names or tags: Breakfast cereals, Ferrero, France, Organic (or tags such as en:shampoos, fr:pates-a-tartiner). |
| Nutri-Score |
A to E, or any. |
| Order of search results |
Most scanned first, or recently edited first. |
| Detail |
Full (default) adds ingredients, allergens, additives and nutrients per 100 g; Basic keeps names, brands, categories, scores and the image. |
| Maximum products for the run |
100 by default. |
Output example
{
"barcode": "3000000000017",
"productName": "Sample Cola",
"brands": "Sample Drinks Co",
"quantity": "330 ml",
"categories": "Beverages, Carbonated drinks, Sodas",
"labels": "Made in the eu",
"countries": "France, United kingdom",
"ingredientsText": "Carbonated water, sugar, colour (E150d), acid (phosphoric acid), natural flavourings.",
"allergens": null,
"additives": "E150d, E338",
"nutriscoreGrade": "e",
"novaGroup": 4,
"ecoscoreGrade": null,
"energyKcal100g": 42.4,
"fat100g": 0,
"saturatedFat100g": 0,
"carbohydrates100g": 10.6,
"sugars100g": 10.6,
"fiber100g": null,
"proteins100g": 0,
"salt100g": 0,
"nutritionPer": "100ml",
"servingSize": "1 can (330 ml)",
"imageUrl": "https://images.openfoodfacts.org/images/products/300/000/000/0017/front_en.12.400.jpg",
"url": "https://world.openfoodfacts.org/product/3000000000017",
"lastModified": "2026-10-21T13:11:44Z",
"completeness": 0.8875,
"productType": "food",
"database": "Open Food Facts",
"query": "3000000000017",
"licence": "ODbL 1.0 database; contents DbCL 1.0; images CC BY-SA",
"attribution": "Open Food Facts contributors (world.openfoodfacts.org), ODbL"
}
Output fields
barcode, productName, brands, quantity, categories, labels, countries (where the product is sold), productType.
ingredientsText (as written on the pack, often not in English, capped at 5,000 characters), allergens, additives (E-numbers). Full detail only.
nutriscoreGrade (a–e), novaGroup (1–4, processing level), ecoscoreGrade (the Green-Score, formerly Eco-Score; a-plus to f). Grades the database marks as unknown or not applicable are empty.
energyKcal100g, fat100g, saturatedFat100g, carbohydrates100g, sugars100g, fiber100g, proteins100g, salt100g: per 100 g, or per 100 ml for drinks as nutritionPer says. Full detail only; empty when contributors have not entered them.
servingSize, imageUrl (front image, linked not copied), url (the product page), lastModified (last edit, UTC), completeness (0–1, the project's own measure of how complete the record is).
database, query (the barcode or search), licence and attribution.
How it fetches data
- Barcodes are read one by one from the product API (v3.6) of the chosen database. Answers are cached for 24 hours, so repeating a lookup the same day costs no request.
- Searches use the structured search API (v2) of the chosen database, up to 100 products per request.
- Keyword searches (Open Food Facts only) use Search-a-licious, the project's full-text search service. If the v2 food search keeps answering "temporarily unavailable" (it often does for anonymous requests at busy times), the run switches to Search-a-licious too and says so in the log.
Open Food Facts allows about 15 product reads and 10 searches per minute per IP address, and abusers get banned. Because every run on this platform leaves from the same server address, requests are spaced across all runs: at least 4.5 seconds between product reads and 6.5 seconds between searches. The crawler identifies itself with the AppName/Version (contact) User-Agent the project requires.
Good to know
- Throughput. Barcode lookups top out at about 800 products an hour for the whole platform (fewer when other runs are busy), so large lists take a while; searches return up to 100 products per request and are much faster. For more than a few thousand products, Open Food Facts asks you to use its free daily data exports instead of the API.
- Licence (ODbL share-alike). The database is licensed under the Open Database License (ODbL 1.0); individual product contents under the Database Contents License (DbCL 1.0). You may use it commercially, but you must credit "Open Food Facts contributors" (see
attribution), and if you publish a database built from this data (for example by merging it with your own product data), that derived database must be offered under the ODbL too, or you must release the changes you made. Using the data inside an app or website without republishing the database is fine with attribution.
- Images. Product photos are licensed CC BY-SA (attribution, share-alike) and may show trademarks and packaging designs that belong to the brands. The crawler links to them; it does not download them.
- Data quality. Everything is contributed by volunteers and brands: fields can be missing, in another language or out of date. Check
completeness and lastModified, and confirm allergen information on the pack before relying on it.
- Search-a-licious lag. The full-text index is refreshed less often than the live database and has no ingredients text, so newly added products may be missing and edits may lag. For the latest data, look products up by barcode.
- Sister databases. Keyword search is only available for Open Food Facts; use category, brand, country or label filters for the others. Nutri-Score, NOVA and nutrients only exist for food and some pet food.
- When Open Food Facts keeps answering "temporarily unavailable", the run stops early with the products collected so far, or retries later when it has none.