Open Food Facts
Open Food Facts, the open database of packaged foods (world.openfoodfacts.org): product facts by barcode (name, brand, quantity, countries, ingredients, allergens, additives, Nutri-Score, NOVA, per-100g and per-serving nutrition, images), full-text and filtered product search over the Search-a-licious service, and taxonomy autocomplete for categories, brands, labels and countries. Anonymous read API; data under ODbL, images CC BY-SA.
6 Firecrawl tools use Open Food FactsTry Open Food Facts now.
Choose an example or ask your own question.
const result = await firecrawl.scrape({
alexandria: {
provider: "world-openfoodfacts-org",
capability: "foods/product",
options: {
barcode: "5449000000996",
},
},
});This is a sample shape. Press Run to see live data from Open Food Facts.
{
"additives_tags": [
"en:e150d",
"en:e338"
],
"allergens_tags": [],
"attribution": {
"data_license": "ODbL 1.0",
"images_license": "CC BY-SA 3.0",
"source_url": "https://world.openfoodfacts.org/product/5449000000996",
"text": "Data from Open Food Facts (https://world.openfoodfacts.org), licensed under the Open Database License (ODbL) with contents under the Database Contents License (DbCL); product images are CC BY-SA 3.0."
},
"barcode": "5449000000996",
"brands": "COCA-COLA SERVICES SA/NV",
"brands_tags": [
"COCA-COLA SERVICES SA/NV"
],
"categories_tags": [
"en:beverages-and-beverages-preparations",
"en:beverages",
"en:non-alcoholic-beverages",
"en:carbonated-drinks",
"en:soft-drinks",
"en:sodas",
"en:colas",
"pt:bebidas cafeína"
],
"completeness": 0.8875,
"countries_tags": [
"en:albania",
"en:austria",
"en:belgium",
"en:bulgaria",
"en:canada",
"en:czech-republic",
"en:france",
"en:georgia",
"en:germany",
"en:ghana",
"en:iceland",
"en:india",
"en:italy",
"en:latvia",
"en:lithuania",
"en:mexico",
"en:morocco",
"en:poland",
"en:romania",
"en:senegal",
"en:spain",
"en:switzerland",
"en:turkey",
"en:ukraine",
"en:united-kingdom",
"en:united-states"
],
"created_t": 1339313745,
"ecoscore_grade": "not-applicable",
"generic_name": "Bebida refrescante aromatizada",
"images": {
"front": "https://images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.400.jpg",
"front_small": "https://images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.200.jpg",
"ingredients": "https://images.openfoodfacts.org/images/products/544/900/000/0996/ingredients_en.1172.400.jpg",
"nutrition": "https://images.openfoodfacts.org/images/products/544/900/000/0996/nutrition_en.1173.400.jpg"
},
"ingredients": [
{
"id": "en:carbonated-water",
"percent": null,
"percent_estimate": 83.4,
"sub_ingredient_count": 0,
"text": "Agua carbonatada",
"vegan": "yes",
"vegetarian": "yes"
},
{
"id": "en:sugar",
"percent": null,
"percent_estimate": 10.6,
"sub_ingredient_count": 0,
"text": "azúcar",
"vegan": "maybe",
"vegetarian": "yes"
},
{
"id": "en:e150d",
"percent": null,
"percent_estimate": 2,
"sub_ingredient_count": 0,
"text": "e150d",
"vegan": "yes",
"vegetarian": "yes"
},
{
"id": "en:e338",
"percent": null,
"percent_estimate": 2,
"sub_ingredient_count": 0,
"text": "ácido fosfórico",
"vegan": "yes",
"vegetarian": "yes"
},
{
"id": "en:natural-flavouring",
"percent": null,
"percent_estimate": 2,
"sub_ingredient_count": 1,
"text": "aromas naturales",
"vegan": "maybe",
"vegetarian": "maybe"
}
],
"ingredients_analysis_tags": [
"en:palm-oil-free",
"en:maybe-vegan",
"en:vegetarian"
],
"ingredients_text": "Agua carbonatada, azúcar, colorante (E-150d), acidulante (ácido fosfórico), aromas naturales (contiene cafeína).",
"labels_tags": [
"en:made-in-the-eu",
"fr:triman"
],
"language": "es",
"last_modified_t": 1791648906,
"name": "Coca-Cola Original",
"nova_group": 4,
"nutrient_levels": {
"fat": "low",
"salt": "low",
"saturated-fat": "low",
"sugars": "high"
},
"nutriments": {
"added-sugars": 10.6,
"added-sugars_100g": 10.6,
"added-sugars_modifier": "~",
"added-sugars_serving": 35,
"added-sugars_unit": "g",
"added-sugars_value": 10.6,
"carbohydrates": 10.6,
"carbohydrates_100g": 10.6,
"carbohydrates_serving": 35,
"carbohydrates_unit": "g",
"carbohydrates_value": 10.6,
"energy": 180,
"energy-kcal": 42.4,
"energy-kcal_100g": 42.4,
"energy-kcal_modifier": "~",
"energy-kcal_serving": 140,
"energy-kcal_unit": "kcal",
"energy-kcal_value": 42.4,
"energy-kj": 180,
"energy-kj_100g": 180,
"energy-kj_serving": 594,
"energy-kj_unit": "kJ",
"energy-kj_value": 180,
"energy_100g": 180,
"energy_serving": 594,
"energy_unit": "kJ",
"energy_value": 180,
"fat": 0,
"fat_100g": 0,
"fat_serving": 0,
"fat_unit": "g",
"fat_value": 0,
"fruits-vegetables-legumes-estimate-from-ingredients_100g": 0,
"fruits-vegetables-nuts-estimate-from-ingredients_100g": 0,
"nova-group": 4,
"nova-group_100g": 4,
"nova-group_serving": 4,
"nova-group_unit": "",
"nova-group_value": 4,
"proteins": 0,
"proteins_100g": 0,
"proteins_serving": 0,
"proteins_unit": "g",
"proteins_value": 0,
"salt": 0,
"salt_100g": 0,
"salt_serving": 0,
"salt_unit": "g",
"salt_value": 0,
"saturated-fat": 0,
"saturated-fat_100g": 0,
"saturated-fat_serving": 0,
"saturated-fat_unit": "g",
"saturated-fat_value": 0,
"sodium": 0,
"sodium_100g": 0,
"sodium_modifier": "~",
"sodium_serving": 0,
"sodium_unit": "g",
"sodium_value": 0,
"sugars": 10.6,
"sugars_100g": 10.6,
"sugars_serving": 35,
"sugars_unit": "g",
"sugars_value": 10.6
},
"nutriments_100g": {
"carbohydrates": 10.6,
"energy_kcal": 42.4,
"energy_kj": 180,
"fat": 0,
"fiber": null,
"proteins": 0,
"salt": 0,
"saturated_fat": 0,
"sodium": 0,
"sugars": 10.6
},
"nutriscore": {
"grade": "e",
"score": 12,
"version": "2023"
},
"nutrition_data_per": "100g",
"observed_at_ms": 1791942128594,
"obsolete": false,
"product_quantity": 330,
"product_quantity_unit": "ml",
"quantity": "330 ml",
"serving_quantity": 330,
"serving_quantity_unit": "ml",
"serving_size": "1 portion (330 ml)",
"stores_tags": [
"Michus Supermercados",
"ahorramas",
"carrefour",
"greggs",
"maxima",
"mercadona"
],
"traces_tags": [],
"unique_scans_n": 671,
"url": "https://world.openfoodfacts.org/product/5449000000996"
}Firecrawl tools
6Ready-made Firecrawl tools that call Open Food Facts.
Skills
Official skills using Open Food Facts
Sugar levy reformulation auditUse when a public-health nutritionist, policy analyst or food campaigner wants to know whether a sugar levy or labelling rule is changing what is on shelves. Samples packaged drinks or snacks in a country, reads each product's sugar per 100 ml or g, compares with reference foods and with the population obesity trend, and reports which brands reformulated.
For one country and one category (soft drinks, breakfast cereals, yoghurts). The product sample from step 1 is reused in every later step.
1. Build the shelf sample
Turn the category into a taxonomy id with
Suggest, then list products sold in the country with
Search (category, country, page through 50 to 100 products). Keep barcode, brand and Nutri-Score.
2. Read the sugar
For each product read
Product: sugars per 100 g or ml, sweeteners in the ingredients list and the last-modified date. Products that list sweeteners alongside lower sugar have likely reformulated.
Compare against a reference profile for the same food type with
Search foods and
Get food (Foundation or SR Legacy). If the country is the Netherlands, Canada or Australia, use
Search foods,
Search foods or
Search foods instead.
3. The population picture
Pull adult obesity and overweight prevalence for the country with
Indicator data (find codes with
Indicator search), latest ten years.
Write the audit
Shelf table: brand, product, sugar per 100, sweetener present, Nutri-Score, versus reference value.
Share above threshold: products above the levy threshold you were given, by brand.
Reformulators and holdouts: brands that cut sugar and those that did not.
Context: the obesity trend. Do not claim the levy caused it.
Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.
School lunch product vetting for a food service directorUse when a school district food service director is vetting branded products for the menu cycle. Reads ingredients, allergens and Nutri-Score from Open Food Facts, confirms nutrient values by UPC in USDA FoodData Central, and checks FDA recalls for each product and maker. Produces an approve, review or reject list with the reasons.
For a list of branded products with UPCs, and the district's nutrition and allergen rules.
1. Label facts
Read each UPC with
Product: ingredients, allergens, additives, Nutri-Score and NOVA group. If a UPC is missing, find it with
Search.
2. Verified nutrients
Search each UPC or product name with
Search foods (branded data type) and read
Get food for serving size, calories, sodium, saturated fat and added sugars per serving.
3. Safety record
Search
Food recalls by product and manufacturer. Keep classification, reason and status.
Write the vetting list
Per product: UPC, maker, serving, calories, sodium, saturated fat, added sugars, allergens, recall history.
Verdict: approve, review or reject against the district rules the director supplied, with the failing rule named.
Discrepancies: where Open Food Facts and FoodData Central disagree, trust the FoodData Central branded record and flag it.
Sources: cite each value to its capability and date. Do not apply federal meal-pattern rules unless the director provides them; say what could not be found.
School menu sodium and allergen checkUse when a school nutrition director reviews a vendor's menu cycle before the term. Pulls nutrient values for each branded item from USDA FoodData Central, checks allergens and processing level on Open Food Facts by barcode, and screens for recent FDA food recalls on the same brands, producing a compliance and swap list.
For one menu cycle with branded items and, where available, UPC barcodes. Federal meal standards cap sodium; allergens and recalls are the safety side.
1. Nutrients per item
Find each item with
Search foods (query brand and product or UPC; data_types Branded). Keep fdc_id.
Read
Get food: sodium, saturated fat, added sugars and serving size. Scale to the served portion.
2. Allergens and processing
Look each barcode up with
Product: allergens, traces, ingredients and NOVA group. Where the label lists a top-nine allergen not on the menu card, flag it.
3. Recalls
Search
Food recalls (query = brand and product) for the last two years. Undeclared allergen recalls on a supplier weigh heavily.
4. Swaps
For items over the sodium target, find lower-sodium options in the same category with
Search foods (category query, sort by sodium if available) and confirm with
Search (category, brand).
Write the review
Item table: item, portion, sodium, saturated fat, added sugars, allergens, NOVA group, recall history.
Weekly totals against the targets the user gives for each grade group.
Swap list: item, replacement, sodium saved, source.
Sources: fdc_ids, barcodes, recall numbers. Say which items had no barcode or no nutrient data, and anything else that could not be found.
Calorie and allergen card for a new dishUse when a chef, menu developer or chain R&D lead is adding a dish and needs a calorie estimate and allergen statement before menus print. Builds the recipe's nutrients from USDA FoodData Central, reads Open Food Facts for branded components' allergens and additives, and checks FDA food recalls for each supplier brand. Produces a draft card clearly marked as an estimate.
For a recipe with gram weights per portion and the brand of any packaged component (sauces, breads, cheeses).
1. Whole-food nutrients
Search each raw ingredient with
Search foods (prefer Foundation or SR Legacy data types) and keep the best fdc_id.
Read each with
Get food: energy, protein, fat, saturated fat, carbohydrate, sugars and sodium per 100 g, scaled to the recipe's gram weight.
2. Branded components
Find each packaged component with
Search (
brand,query) and keep the barcode.Read
Product: allergens_tags, ingredients_text, additives_tags and nutriments_100g. Use these nutrients for the component and carry the allergens forward.
3. Supplier check
Search
Food recalls for each supplier brand. Recalls for undeclared allergens are the ones that matter most for a menu statement.
Write the card
Per portion: calories and the main nutrients, with a per-ingredient table showing the source record for each line.
Allergen statement: the major allergens present from any component, and the components that carry them.
Caveats: cooking losses and oil uptake are not modelled; this is an estimate, not a lab analysis, and any legal menu labelling must be confirmed by the operator.
Sources: cite each figure to its capability and record id. Say which components could not be matched rather than guessing.
Produce recall traceback exposureUse when a grower, packer or fresh-produce buyer hears of a foodborne outbreak or recall in a crop they handle. Pulls the matching FDA recall records, reads published outbreak investigations for the pathogen and produce, checks which retail products list the ingredient, and returns an exposure note with what to check in your own lots.
For one crop (for example cucumbers, leafy greens, cantaloupe) and one pathogen if known. Firms and lot details found in step 1 drive the rest.
1. What has been recalled
Search
Food recalls for the crop (product_description) over the last 90 days. Record recalling firm, distribution pattern, classification, reason and the codes or dates on affected product.
2. What investigators have found before
Search
PubMed search for
<pathogen> AND <crop> AND outbreakand read the most relevant investigations withArticle: where contamination entered (irrigation water, wash lines, harvest equipment) and how traceback ran.
3. Where it ends up on shelves
Find packaged products listing the crop as an ingredient with
Search (query the crop, your country) to see which ready-to-eat categories carry downstream exposure.
Check recent coverage with
Search articles or
Topic news for named retailers or growing regions.
Write the exposure note
Recall table: firm, product, classification, distribution, lot codes.
Likely entry points: from past investigations, with citations.
Downstream: product categories that use the crop.
Your checks: lots, suppliers and dates to pull records for, matched to the recall details.
Sources: cite every figure to the capability and record it came from. Say what could not be found rather than guessing.
Show all 6 skillsShow fewer
Export nutrient claim consistency checkUse when a food exporter or brand selling the same product in the US, Canada, the Netherlands and Australia needs its nutrition panel and claims to hold up against each market's reference food database. Compares the product's stated values with official reference values per country and flags claims that would fail in one market.
Benchmarks
Health benchmarksQuality, speed and cost, last 24 hours, across every agent call to Open Food Facts through Alexandria.
- Quality
- 100%
- Calls answered without a tool error
- Speed
- 921 ms
- 95% of successful calls finish faster
- Cost
- 5 credits
- Firecrawl credits per call
- Calls
- 55
- Last 24 hours, every Alexandria user