Open Food Facts Nutrition Data Scraper avatar

Open Food Facts Nutrition Data Scraper

Pricing

Pay per usage

Go to Apify Store
Open Food Facts Nutrition Data Scraper

Open Food Facts Nutrition Data Scraper

Search the Open Food Facts database (3M+ products) for nutritional data, Nutri-Score, Eco-Score, NOVA grade, allergens, and ingredients. Supports text search, barcode lookup, and category browsing. No API key required.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Monkey Coder

Monkey Coder

Maintained by Community

Actor stats

1

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

πŸ₯— Open Food Facts Nutrition Data Scraper

Search the Open Food Facts database β€” the world's largest open food product database with 3M+ products β€” for detailed nutritional information, health scores, allergens, ingredients, and more.

No API key required. All data is freely available under the Open Database License (ODbL).

✨ Features

  • Text Search β€” Find products by name, brand, or keyword
  • Barcode Lookup β€” Get detailed info for specific products using EAN-13 / UPC-A barcodes
  • Category Browse β€” Explore products by food category (e.g., "breakfast-cereals", "beverages")
  • Country Filter β€” Filter results by country of sale
  • Rich Nutritional Data β€” Energy, fat, sugars, proteins, salt, fiber per 100g
  • Health Scores β€” Nutri-Score (A–E), Eco-Score (A–E), NOVA processing level (1–4)
  • Allergen Detection β€” Full allergen tag information
  • Ingredients & Labels β€” Ingredient lists, organic/vegan/fair-trade labels

πŸ” How It Works

  1. Choose a search type: text search, barcode lookup, or category browse
  2. Enter your search query, barcode numbers, or category name
  3. Optionally filter by country and sort order
  4. The Actor queries the Open Food Facts API and returns flattened, clean product data

πŸ“¦ Input Parameters

ParameterTypeDescriptionDefault
search_typeSelecttext_search, barcode_lookup, or category_browsetext_search
queryStringSearch keywords (for text search)chocolate
barcodesStringComma-separated barcodes (for barcode lookup)3017620422003,5449000000996
categoryStringCategory tag (for category browse)breakfast-cereals
countryStringCountry code (us, fr, de, etc.) or worldworld
sort_bySelectSort order: popularity, name, date, nutriscore, ecoscoreunique_scans_n
max_resultsIntegerMaximum products to return (1–10,000)100
page_sizeIntegerProducts per API page (1–100)50

πŸ“Š Sample Output

{
"barcode": "3017620422003",
"product_name": "Nutella",
"brands": "Ferrero",
"quantity": "400 g",
"categories": "Spreads, Sweet spreads, Hazelnut spreads, Chocolate spreads",
"labels": "",
"countries": "france, germany, united-kingdom, united-states",
"stores": "Carrefour, Auchan, Lidl",
"nutriscore_grade": "e",
"ecoscore_grade": "d",
"nova_group": 4,
"energy_kcal_100g": 539,
"fat_100g": 30.9,
"saturated_fat_100g": 10.6,
"carbohydrates_100g": 57.5,
"sugars_100g": 56.3,
"fiber_100g": 0,
"proteins_100g": 6.3,
"salt_100g": 0.107,
"sodium_100g": 0.0428,
"allergens": "milk, soybeans",
"ingredients_text": "Sugar, palm oil, hazelnuts 13%, skimmed milk powder...",
"image_url": "https://images.openfoodfacts.org/images/products/301/762/042/2003/front_en.572.400.jpg",
"fetched_at": "2026-03-22T00:30:00.000000"
}

πŸ“ Score Reference

ScoreDescriptionScale
Nutri-ScoreOverall nutritional qualityA (best) β†’ E (worst)
Eco-ScoreEnvironmental impactA (best) β†’ E (worst)
NOVA GroupFood processing level1 (unprocessed) β†’ 4 (ultra-processed)

🌍 Common Categories

Category TagDescription
breakfast-cerealsBreakfast cereals and granola
chocolatesChocolate bars and confections
beveragesDrinks (soft drinks, juices, water)
dairyMilk, cheese, yogurt
snacksChips, crackers, nuts
breadsBread and bakery products
frozen-foodsFrozen meals and ingredients
baby-foodsBaby food and formula
plant-based-foodsVegan and vegetarian products
organic-foodsCertified organic products

⚠️ Notes

  • Rate limiting: The Actor includes built-in delays (0.4–0.5s between requests) to respect Open Food Facts' fair usage policy
  • Data completeness: Not all products have complete nutritional data β€” some fields may be empty
  • Community data: Open Food Facts is crowd-sourced; data accuracy varies by product
  • Memory: Default 256 MB is sufficient for most queries