Firecrawl Alexandria

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.

Try Open Food Facts now.

Choose an example or ask your own question.

Open Food Facts
TRY ASKING
1Request
string

Product barcode: GTIN-8/12/13/14 (EAN, UPC) as digits, leading zeros kept. Open Food Facts normalises codes, so the returned `barcode` may carry extra leading zeros. Exactly one of `barcode` or `url`.

string

Two-letter country code (`cc`) the site uses for country-dependent computations such as the Nutri-Score comparison country; default `us`.

string

Two-letter language code (`lc`) for localised names; default `en`.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "world-openfoodfacts-org",
    capability: "foods/product",
    options: {
      barcode: "5449000000996",
    },
  },
});
2Response example

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"
}
Browse the library