# Open Food Facts API: Get packaged food product

> Looks up a packaged food by barcode or by product name and brand, returning ingredients, allergens, Nutri-Score, NOVA processing level and nutrition from Open Food Facts.

Unofficial. Not affiliated with or endorsed by Open Food Facts.

- Page: https://fous.com/methods/openfoodfacts.org/get-product
- Method: `openfoodfacts.org/get_product`, version 1
- Website: openfoodfacts.org
- Returns: product name, brand, quantity, ingredients, allergens, Nutri-Score, NOVA level, nutrition per 100 g and per serving, countries, photo, Open Food Facts link
- Effect: read (it gets data and changes nothing)
- Sign-in: none needed
- Cost: 1 credit per completed run (1¢ with pay as you go); failed runs are free
- Verified: Nov 2, 2026

## Inputs

| Field | Type | Required | In the run below | Description |
|---|---|---|---|---|
| `product` | string | yes | `"Nutella Ferrero"` | Product name with brand or barcode printed on the pack, for example Nutella Ferrero or 3017620422003. |

## Output

From a run on Oct 23, 2026. Its input:

```json
{
  "product": "Nutella Ferrero"
}
```

Its output:

```json
{
  "brand": "Nutella, Ferrero",
  "barcode": "8000500225615",
  "quantity": "290 g",
  "allergens": [
    "Milk",
    "Nuts",
    "Soybeans"
  ],
  "photo_link": "https://images.openfoodfacts.org/images/products/800/050/022/5615/front_en.18.400.jpg",
  "nova_number": 4,
  "nutri_score": "E - poor nutritional quality",
  "product_name": "Nutella Ferrero",
  "ingredients_text": "SUGAR, EDIBLE VEGETABLE OIL, HAZELNUTS 13%, LOW FAT COCOA POWDER 7.4%, SKIMMED COW MILK POWDER 6.6%, WHEY POWDER, EMULSIFIER (LECITHIN (INS 322)), FLAVOUR (NATURE IDENTICAL FLAVOURING SUBSTANCE (VANILLIN)).",
  "processing_level": "Ultra-processed food",
  "countries_sold_in": [
    "Bolivia",
    "India",
    "Turkey"
  ],
  "nutrition_per_100g": {
    "fat_g": 30.9,
    "salt_g": 0,
    "fibre_g": 0,
    "sugars_g": 56.3,
    "protein_g": 6.3,
    "energy_kcal": 533,
    "carbohydrates_g": 57.5,
    "saturated_fat_g": 10.6
  },
  "open_food_facts_link": "https://world.openfoodfacts.org/product/8000500225615",
  "nutrition_per_serving": {
    "fat_g": 4.63,
    "salt_g": 0,
    "fibre_g": 0,
    "sugars_g": 8.44,
    "protein_g": 0.945,
    "energy_kcal": 80,
    "carbohydrates_g": 8.62,
    "saturated_fat_g": 1.59
  }
}
```

## Run it

From code, with a Fous API key in `FOUS_API_KEY`; the answer's `data` holds the output:

```bash
curl https://api.fous.com/v1/runs \
  -H "Authorization: Bearer $FOUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"method":"openfoodfacts.org/get_product","input":{"product":"Nutella Ferrero"}}'
```

From an AI agent connected to the Fous MCP server: its `run` with the same method and input. To connect one, give it `set up https://fous.com/SKILL.md`.

## Ask your agent

- What are the ingredients and allergens in the Nutella Ferrero 400 g jar?
- Look up barcode 3017620422003 and tell me its Nutri-Score and NOVA level.
- Is the Oreo Original biscuit pack from Mondelez safe for someone with a nut allergy?
- Show me the nutrition per 100 g and per serving for Coca-Cola Zero 330 ml can.
- Find the product with barcode 5000159484695 and list its countries of sale and a photo link.

## Input schema

```json
{
  "type": "object",
  "required": [
    "product"
  ],
  "properties": {
    "product": {
      "type": "string",
      "description": "Product name with brand or barcode printed on the pack, for example Nutella Ferrero or 3017620422003."
    }
  }
}
```

## Output schema

```json
{
  "type": "object",
  "required": [
    "product_name",
    "brand",
    "quantity",
    "ingredients_text",
    "allergens",
    "nutri_score",
    "processing_level",
    "nutrition_per_100g",
    "nutrition_per_serving",
    "countries_sold_in",
    "photo_link",
    "open_food_facts_link",
    "barcode",
    "nova_number"
  ],
  "properties": {
    "brand": {
      "type": [
        "string",
        "null"
      ],
      "description": "Brand or brands."
    },
    "barcode": {
      "type": "string",
      "description": "Product barcode.",
      "x-fous-developer": true
    },
    "quantity": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pack quantity as labeled."
    },
    "allergens": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Allergens in words."
    },
    "photo_link": {
      "type": [
        "string",
        "null"
      ],
      "description": "Product photo link."
    },
    "nova_number": {
      "type": [
        "integer",
        "null"
      ],
      "description": "NOVA group number, 1 to 4.",
      "x-fous-developer": true
    },
    "nutri_score": {
      "type": [
        "string",
        "null"
      ],
      "description": "Nutri-Score letter A–E and its nutrition-quality meaning."
    },
    "product_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "Name printed for the product."
    },
    "ingredients_text": {
      "type": [
        "string",
        "null"
      ],
      "description": "Ingredients, in English when available."
    },
    "processing_level": {
      "type": [
        "string",
        "null"
      ],
      "description": "NOVA processing level in words."
    },
    "countries_sold_in": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Countries where the product is reported sold."
    },
    "nutrition_per_100g": {
      "type": "object",
      "required": [
        "energy_kcal",
        "fat_g",
        "saturated_fat_g",
        "carbohydrates_g",
        "sugars_g",
        "fibre_g",
        "protein_g",
        "salt_g"
      ],
      "properties": {
        "fat_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total fat in grams."
        },
        "salt_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Salt in grams."
        },
        "fibre_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fibre in grams."
        },
        "sugars_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Sugars in grams."
        },
        "protein_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Protein in grams."
        },
        "energy_kcal": {
          "type": [
            "number",
            "null"
          ],
          "description": "Energy in kilocalories."
        },
        "carbohydrates_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Carbohydrates in grams."
        },
        "saturated_fat_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Saturated fat in grams."
        }
      },
      "description": "Nutrients per 100 g or 100 ml, as recorded by the source.",
      "additionalProperties": false
    },
    "open_food_facts_link": {
      "type": "string",
      "description": "Product page on Open Food Facts."
    },
    "nutrition_per_serving": {
      "type": "object",
      "required": [
        "energy_kcal",
        "fat_g",
        "saturated_fat_g",
        "carbohydrates_g",
        "sugars_g",
        "fibre_g",
        "protein_g",
        "salt_g"
      ],
      "properties": {
        "fat_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Total fat in grams."
        },
        "salt_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Salt in grams."
        },
        "fibre_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Fibre in grams."
        },
        "sugars_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Sugars in grams."
        },
        "protein_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Protein in grams."
        },
        "energy_kcal": {
          "type": [
            "number",
            "null"
          ],
          "description": "Energy in kilocalories."
        },
        "carbohydrates_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Carbohydrates in grams."
        },
        "saturated_fat_g": {
          "type": [
            "number",
            "null"
          ],
          "description": "Saturated fat in grams."
        }
      },
      "description": "Nutrients per serving, when available.",
      "additionalProperties": false
    }
  }
}
```

## See more

- [Open Food Facts API: Search packaged foods](https://fous.com/methods/openfoodfacts.org/search-products.md): Searches Open Food Facts packaged foods by name, optionally filtered by diet, country where sold and brand, ordered by popularity (most scanned first).
- [UPCitemdb API: Get product by barcode](https://fous.com/methods/upcitemdb.com/get-product-by-barcode.md): Identifies a product by its 12- or 13-digit barcode and returns its details, recorded price range and store offers from UPCitemdb.
- [Walmart API: Get product](https://fous.com/methods/walmart.com/get-product.md): Gets details, price and availability for a Walmart product by name or product link, using Walmart's default location.
- [Flipkart API: Get product](https://fous.com/methods/flipkart.com/get-product-by-product.md): Finds a Flipkart product from its name or link and returns its price, offers, seller, ratings, highlights, specifications, images and delivery estimate (for a PIN code when given).
- [Product Hunt API: Get product](https://fous.com/methods/producthunt.com/get-product.md): Gets a Product Hunt product profile by product name or Product Hunt link: tagline, description, website, topics, review rating, followers, the five most recent reviews, recent launches with day rank and upvotes, and alternatives.
- [Amazon API: Get product](https://fous.com/methods/amazon.com/get-product.md): Gets details for an Amazon product, found by name or by link, in a chosen country store. Offer prices, delivery and variants may be missing when Amazon does not show them publicly.
- [bhphotovideo.com API: Get B&H Photo product](https://fous.com/methods/bhphotovideo.com/get-product.md): Gets a B&H Photo product's details by name, product link, or B&H number. A name uses the best matching search result; details and prices reflect the public page.
- [Sephora API: Get product details](https://fous.com/methods/sephora.com/get-product.md): Gets a Sephora US product's full details from its name (optionally narrowed by brand) or its Sephora product link: price, sizes and shades with stock, highlights, description, ingredients, usage, ratings and images.
- [All Open Food Facts methods](https://fous.com/methods/openfoodfacts.org.md)
