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.

6 Firecrawl tools use Open Food Facts

Try Open Food Facts now.

Choose an example or ask your own question.

Open Food Facts
TRY ASKING
1Request
string

Brand tag (`coca-cola`, `oatly`); lower-case slug, `en:` prefix accepted and stripped.

string

Category taxonomy id (`en:oat-milks`) or bare slug (`oat-milks`); `suggest` returns these ids.

string

Selling country as a taxonomy id (`en:france`) or bare slug (`france`, `united-states`). Matched against `countries_tags`.

number

Hits per page, default 24.

string

Free text, e.g. `oat milk`. At least one of `query`, `country`, `category`, `brand`, `nutriscore_grade`, `nova_group` is required.

5 credits
Codefollows the fields above
const result = await firecrawl.scrape({
  alexandria: {
    provider: "world-openfoodfacts-org",
    capability: "foods/search",
    options: {
      country: "france",
      page_size: 5,
      query: "oat milk",
    },
  },
});
2Response example

This is a sample shape. Press Run to see live data from Open Food Facts.

{
  "attribution": {
    "data_license": "ODbL 1.0",
    "images_license": "CC BY-SA 3.0",
    "source_url": "https://world.openfoodfacts.org/",
    "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."
  },
  "count": 10000,
  "count_is_exact": false,
  "facets": [],
  "filters": {
    "brand": null,
    "category": null,
    "country": "en:france",
    "nova_group": null,
    "nutriscore_grade": null
  },
  "hits": [
    {
      "allergens_tags": [
        "en:gluten"
      ],
      "barcode": "00972321",
      "brands": [
        "M&S"
      ],
      "brands_tags": [
        "m-s"
      ],
      "categories_tags": [
        "en:beverages-and-beverages-preparations",
        "en:plant-based-foods-and-beverages",
        "en:beverages",
        "en:plant-based-foods",
        "en:cereals-and-potatoes",
        "en:dairy-substitutes",
        "en:cereals-and-their-products",
        "en:milk-substitutes",
        "en:plant-based-beverages",
        "en:plant-based-milk-alternatives",
        "en:cereal-based-drinks",
        "en:oat-based-drinks",
        "en:plant-based-milk"
      ],
      "countries_tags": [
        "en:france",
        "en:united-kingdom"
      ],
      "ecoscore_grade": "b",
      "generic_name": null,
      "image_small_url": "https://images.openfoodfacts.org/images/products/00972321/front_en.76.200.jpg",
      "image_url": "https://images.openfoodfacts.org/images/products/00972321/front_en.76.400.jpg",
      "last_modified_t": 1727277643,
      "name": "M&S Semi Oat milk",
      "nova_group": 4,
      "nutriments_100g": {
        "carbohydrates": 57.1,
        "energy_kcal": 357,
        "energy_kj": null,
        "fat": 14.3,
        "fiber": 3.57,
        "proteins": 7.14,
        "salt": 0.892,
        "saturated_fat": 5.36,
        "sodium": 0.357,
        "sugars": 28.6
      },
      "nutriscore_grade": "e",
      "quantity": "1 l",
      "unique_scans_n": 9,
      "url": "https://world.openfoodfacts.org/product/00972321"
    },
    {
      "allergens_tags": [],
      "barcode": "0371195005331",
      "brands": [
        "Superfood Overnight Oat Milk"
      ],
      "brands_tags": [
        "superfood-overnight-oat-milk"
      ],
      "categories_tags": [],
      "countries_tags": [
        "en:france"
      ],
      "ecoscore_grade": "unknown",
      "generic_name": null,
      "image_small_url": "https://images.openfoodfacts.org/images/products/037/119/500/5331/front_en.3.200.jpg",
      "image_url": "https://images.openfoodfacts.org/images/products/037/119/500/5331/front_en.3.400.jpg",
      "last_modified_t": 1724246483,
      "name": "Superfood oat mix",
      "nova_group": null,
      "nutriments_100g": {
        "carbohydrates": 57.1,
        "energy_kcal": 371,
        "energy_kj": null,
        "fat": 12.9,
        "fiber": 8.57,
        "proteins": 17.1,
        "salt": 0.286,
        "saturated_fat": 1.43,
        "sodium": 0.114,
        "sugars": 10
      },
      "nutriscore_grade": "unknown",
      "quantity": null,
      "unique_scans_n": null,
      "url": "https://world.openfoodfacts.org/product/0371195005331"
    },
    {
      "allergens_tags": [],
      "barcode": "0316027871401",
      "brands": [],
      "brands_tags": [],
      "categories_tags": [],
      "countries_tags": [
        "en:france"
      ],
      "ecoscore_grade": "unknown",
      "generic_name": null,
      "image_small_url": null,
      "image_url": null,
      "last_modified_t": 1734002826,
      "name": "Oat milk",
      "nova_group": null,
      "nutriments_100g": {
        "carbohydrates": 8,
        "energy_kcal": 44,
        "energy_kj": null,
        "fat": 0.6,
        "fiber": 0.8,
        "proteins": 1.6,
        "salt": 0.125,
        "saturated_fat": 0.12,
        "sodium": 0.05,
        "sugars": 2.8
      },
      "nutriscore_grade": "unknown",
      "quantity": null,
      "unique_scans_n": null,
      "url": "https://world.openfoodfacts.org/product/0316027871401"
    },
    {
      "allergens_tags": [],
      "barcode": "8801155722661",
      "brands": [
        "Denmark"
      ],
      "brands_tags": [
        "denmark"
      ],
      "categories_tags": [],
      "countries_tags": [
        "en:france"
      ],
      "ecoscore_grade": "unknown",
      "generic_name": null,
      "image_small_url": null,
      "image_url": null,
      "last_modified_t": 1734247603,
      "name": "Green Denmark Oat",
      "nova_group": null,
      "nutriments_100g": {
        "carbohydrates": 5,
        "energy_kcal": 25,
        "energy_kj": null,
        "fat": 0.6,
        "fiber": null,
        "proteins": 0.1,
        "salt": null,
        "saturated_fat": 0.1,
        "sodium": null,
        "sugars": 3
      },
      "nutriscore_grade": "unknown",
      "quantity": null,
      "unique_scans_n": null,
      "url": "https://world.openfoodfacts.org/product/8801155722661"
    },
    {
      "allergens_tags": [
        "en:gluten",
        "en:organic-whole-oats"
      ],
      "barcode": "9312231222023",
      "brands": [
        "pure-harvest",
        " pureharvest"
      ],
      "brands_tags": [
        "pure-harvest",
        "pureharvest"
      ],
      "categories_tags": [
        "en:plant-based-foods-and-beverages",
        "en:beverages",
        "en:dairies",
        "en:plant-based-foods",
        "en:cereals-and-potatoes",
        "en:dairy-substitutes",
        "en:cereals-and-their-products",
        "en:milk-substitutes",
        "en:plant-based-beverages",
        "en:milks",
        "en:plant-based-milk-alternatives",
        "en:cereal-based-drinks",
        "en:unsweetened-beverages",
        "en:oat-based-drinks"
      ],
      "countries_tags": [
        "en:australia",
        "en:france",
        "en:mauritius",
        "en:sri-lanka"
      ],
      "ecoscore_grade": "c",
      "generic_name": null,
      "image_small_url": "https://images.openfoodfacts.org/images/products/931/223/122/2023/front.3.200.jpg",
      "image_url": "https://images.openfoodfacts.org/images/products/931/223/122/2023/front.3.400.jpg",
      "last_modified_t": 1732014415,
      "name": "Oat Milk it's Organic Unsweetened Original imp",
      "nova_group": 3,
      "nutriments_100g": {
        "carbohydrates": 7.7,
        "energy_kcal": null,
        "energy_kj": 237,
        "fat": 1.8,
        "fiber": null,
        "proteins": 2.1,
        "salt": 0.0379999999999999,
        "saturated_fat": 0.3,
        "sodium": 0.0152,
        "sugars": 3.7
      },
      "nutriscore_grade": "c",
      "quantity": "1 L",
      "unique_scans_n": 6,
      "url": "https://world.openfoodfacts.org/product/9312231222023"
    }
  ],
  "lang": "en",
  "observed_at_ms": 1791942135434,
  "page": 1,
  "page_count": 2000,
  "page_size": 5,
  "query": "oat milk",
  "sort": "relevance"
}

Firecrawl tools

6

Ready-made Firecrawl tools that call Open Food Facts.

Quality, speed and cost, last 24 hours, across every agent call to Open Food Facts through Alexandria.

Quality
95.8%
Calls answered without a tool error
Speed
45.5 s
95% of successful calls finish faster
Cost
5 credits
Firecrawl credits per call
Calls
72
Last 24 hours, every Alexandria user
Quality and speed of each tool, last 24 hours
ToolQualitySpeedCalls
Search100%833 ms42
Product90%45.5 s30
Browse the library
//
Get started
//
Give your agent Open Food Facts.
One API key for the live web and every provider in Alexandria.
Are you an AI agent? See setup options