Open Food Facts Product Intelligence avatar
Open Food Facts Product Intelligence

Pricing

$20.00 / 1,000 results

Go to Apify Store
Open Food Facts Product Intelligence

Open Food Facts Product Intelligence

Extract food product data with AI-powered health scoring. Access nutrition facts, ingredients, allergens, and environmental impact scores for millions of products worldwide.

Pricing

$20.00 / 1,000 results

Rating

0.0

(0)

Developer

ben

ben

Maintained by Community

Actor stats

0

Bookmarked

4

Total users

1

Monthly active users

5 days ago

Last modified

Categories

Share

Extract comprehensive food product data with AI-powered health scoring. Access nutrition facts, ingredients, allergens, processing levels, and environmental impact scores for millions of products worldwide - no API key required.

Features

  • AI Health Scoring: Proprietary 0-100 scoring based on nutrition grade (30pts), processing level/NOVA group (25pts), environmental impact/Eco-Score (25pts), and allergens/additives (20pts)
  • No API Key Required: Uses Open Food Facts public API (no authentication needed)
  • Millions of Products: Access to 2.8M+ products from 180+ countries
  • Complete Nutrition Data: Calories, fats, carbs, sugars, proteins, salt, fiber per 100g
  • Allergen Information: Identify products with common allergens
  • Processing Levels: NOVA group classification (1=unprocessed to 4=ultra-processed)
  • Environmental Impact: Eco-Score grades (A=best to E=worst)
  • Pay-Per-Event Pricing: $0.00005 actor start + $0.02 per product

Use Cases

  • Health Apps: Build nutrition tracking and meal planning applications
  • E-commerce: Enrich product listings with nutrition and health data
  • Food Retailers: Compare products and find healthier alternatives
  • Dietary Research: Analyze food trends and nutritional patterns
  • Allergen Trackers: Help users avoid allergenic ingredients
  • Sustainability Platforms: Assess environmental impact of food choices
  • Price Comparison: Combine with pricing data for value analysis
  • Recipe Apps: Provide nutritional breakdown of ingredients

AI Health Score Algorithm

The health score (0-100) evaluates products across four dimensions:

1. Nutrition Grade (30 points max)

Official Nutri-Score rating:

  • A (Best nutrition): 30 points - Low calories, fat, sugar, salt; high fiber, protein
  • B (Good nutrition): 24 points - Mostly healthy nutritional profile
  • C (Average): 18 points - Moderate nutritional quality
  • D (Poor): 12 points - High in calories, fat, sugar, or salt
  • E (Worst): 6 points - Very poor nutritional quality
  • Unknown/Not graded: 15 points

2. NOVA Processing Group (25 points max)

Degree of industrial processing:

  • Group 1 (Unprocessed): 25 points - Fresh fruits, vegetables, meat, milk
  • Group 2 (Processed ingredients): 20 points - Oils, butter, sugar, salt
  • Group 3 (Processed foods): 12 points - Canned vegetables, cheese, bread
  • Group 4 (Ultra-processed): 5 points - Soft drinks, packaged snacks, instant meals
  • Unknown: 15 points

3. Eco-Score (25 points max)

Environmental impact assessment:

  • A (Best environmental impact): 25 points - Low carbon footprint, sustainable
  • B (Good impact): 20 points - Moderate environmental footprint
  • C (Average): 15 points - Standard environmental impact
  • D (Poor impact): 10 points - High environmental footprint
  • E (Worst impact): 5 points - Very high environmental impact
  • Unknown: 12 points

4. Allergens & Additives (20 points max)

Potential health concerns:

  • No allergens: +10 points
  • No additives: +10 points
  • Few additives (1-2): +7 points
  • Some additives (3-5): +4 points
  • Many additives (6+): 0 points

Input Parameters

Optional Filters

ParameterTypeDescriptionExample
searchQuerystringSearch products by name/keywords"organic chocolate", "gluten free pasta"
barcodesarrayList of product barcodes (EAN/UPC)["737628064502", "3017620422003"]
minNutritionGradestringMinimum nutrition grade"A", "B" (filters out C, D, E)
maxNovaGroupintegerMaximum processing level (1-4)2 (excludes ultra-processed)
excludeAllergensbooleanOnly allergen-free productstrue
maxResultsintegerMaximum products to return (1-1000)100 (default)
includeHealthScorebooleanInclude AI health scoringtrue (default)

Output

Each product contains:

{
"barcode": "737628064502",
"product_name": "Organic Dark Chocolate",
"brands": "Green & Black's",
"categories": "Snacks, Sweet snacks, Cocoa and its products, Chocolates, Dark chocolates",
"countries": "United Kingdom",
"ingredients_text": "Organic cocoa mass, organic cane sugar, organic cocoa butter...",
"allergens": "en:milk",
"nutrition_grade": "b",
"nova_group": 4,
"ecoscore_grade": "c",
"additives_count": 0,
"energy_kcal_100g": 600,
"fat_100g": 48,
"saturated_fat_100g": 29,
"carbohydrates_100g": 33,
"sugars_100g": 29,
"proteins_100g": 10,
"salt_100g": 0.03,
"fiber_100g": 12,
"image_url": "https://images.openfoodfacts.org/...",
"image_nutrition_url": "https://images.openfoodfacts.org/.../nutrition.jpg",
"health_score": 71
}

Example Inputs

Find Healthy Breakfast Cereals

{
"searchQuery": "breakfast cereal",
"minNutritionGrade": "B",
"maxNovaGroup": 3,
"maxResults": 50,
"includeHealthScore": true
}

Allergen-Free Snacks

{
"searchQuery": "snacks",
"excludeAllergens": true,
"maxResults": 100,
"includeHealthScore": true
}

Organic Products Only

{
"searchQuery": "organic",
"minNutritionGrade": "A",
"maxNovaGroup": 2,
"maxResults": 75,
"includeHealthScore": true
}

Lookup Specific Products by Barcode

{
"barcodes": ["737628064502", "3017620422003", "4006040059505"],
"includeHealthScore": true
}

Low-Sugar Products

{
"searchQuery": "chocolate",
"minNutritionGrade": "A",
"maxResults": 50,
"includeHealthScore": true
}

Pricing

Pay-Per-Event Model (eligible for Apify $1M Challenge):

  • Actor Start: $0.00005 (one-time per run)
  • Per Product: $0.02 per product returned

Examples:

  • 50 products: $1.00 + $0.00005 = $1.00005
  • 100 products: $2.00 + $0.00005 = $2.00005
  • 500 products: $10.00 + $0.00005 = $10.00005
  • 1000 products: $20.00 + $0.00005 = $20.00005

Data Source

This actor uses Open Food Facts public API at https://world.openfoodfacts.org. No API key or authentication required.

Open Food Facts is a collaborative, free and open database of food products from around the world, with over 2.8 million products.

Understanding the Scores

Nutri-Score (A-E)

  • Calculated based on 100g of product
  • Considers both positive (fiber, protein, fruits/vegetables) and negative (calories, sugar, salt, saturated fat) nutrients
  • A = healthiest, E = least healthy

NOVA Classification

  • Group 1: Whole foods (fruits, vegetables, meat, eggs, milk)
  • Group 2: Processed culinary ingredients (butter, oil, sugar, salt)
  • Group 3: Processed foods (canned vegetables, cheese, freshly made bread)
  • Group 4: Ultra-processed (soft drinks, packaged snacks, reconstituted meat products)

Eco-Score (A-E)

  • Considers carbon footprint, packaging, origin, threatened species impact
  • A = lowest environmental impact, E = highest

Support

For issues or questions:

  • Review Open Food Facts documentation at https://world.openfoodfacts.org/data
  • Verify product barcodes are valid EAN/UPC codes
  • Check actor logs for detailed error messages
  • Contact support via Apify platform

This actor uses Open Food Facts public data under the Open Database License (ODbL). Data contributors retain copyright. Products remain property of their respective manufacturers. Use responsibly and credit Open Food Facts as the data source.