# Open Food Facts Search — Nutrition and Ingredients

**Use case:** 

Search the Open Food Facts database by product name. Returns nutrition facts, Nutri-Score, NOVA group, Eco-Score, ingredients, and barcode per product.

## Input

```json
{
  "mode": "search",
  "query": "chocolate",
  "barcode": "3017620422003",
  "maxResults": 5,
  "country": "world",
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "code": {
    "label": "Barcode",
    "format": "string"
  },
  "productName": {
    "label": "Product Name",
    "format": "string"
  },
  "brand": {
    "label": "Brand",
    "format": "string"
  },
  "quantity": {
    "label": "Quantity",
    "format": "string"
  },
  "categories": {
    "label": "Categories",
    "format": "array"
  },
  "nutriscore": {
    "label": "Nutri-Score",
    "format": "string"
  },
  "novaGroup": {
    "label": "NOVA Group",
    "format": "integer"
  },
  "ecoscore": {
    "label": "Eco-Score",
    "format": "string"
  },
  "error": {
    "label": "Error",
    "format": "string"
  },
  "scraped_at": {
    "label": "Scraped at",
    "format": "string"
  }
}
```

## About this Actor

This example demonstrates how to use [Open Food Facts Scraper](https://apify.com/leorochasantos/open-food-facts) with a specific input configuration. Visit the [Actor detail page](https://apify.com/leorochasantos/open-food-facts) to learn more, explore other use cases, and run it yourself.