[Integrations](https://spiral.ai/integrations) › [Notion](https://spiral.ai/integrations/notion) › [Open Food Facts product details](https://spiral.ai/integrations/notion/open-food-facts-product-details)

# How to Use Open Food Facts product details in Notion

Fetch a food's ingredients, allergens, nutrition facts, and available scores from its barcode or Open Food Facts URL. Use it to inspect a specific package after finding products by name.

|  |  |
| --- | --- |
| Model | Open Food Facts product details |
| Available through | Alexandria |
| Category | E-commerce |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with Open Food Facts product details in Notion

- Every Monday, use Open Food Facts product details for barcode 3017624010701 and report any changes in returned ingredients or nutrition values since the previous check.
- Once a month, use Open Food Facts product details for barcode 5449000000996 and compare its returned nutrition facts and scores with the previous month's result.
- Every Monday at 9am: use Open Food Facts product details to look this up and give me the result as a table.
- Pull the latest numbers from Open Food Facts product details and tell me what changed since last week.
- Check Open Food Facts product details and summarize what you find in three bullet points.

## How to set up Open Food Facts product details in Notion

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Notion this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Allow custom MCP servers**: A workspace owner opens Settings › Connections, then the Manage tab, and turns on Enable custom MCP servers. Where members may install only approved connections, also add Spiral under Approved connections › Add approved connection › Custom MCP server with the URL below.

2. **Add Spiral to a custom agent**: Open the custom agent (or create one), then Settings › Tools & Access › Add connection › Custom MCP server. Paste this URL, name it Spiral, keep OAuth and click Connect.

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Notion never sees it, and you can remove it under Settings › Connected apps in the console.

4. **Run Open Food Facts product details in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds Open Food Facts product details, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run Open Food Facts product details**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "world-openfoodfacts-org/foods/product",
    "input": {
      "barcode": "<barcode>"
    }
  }'
```

Then paste one of the prompts above: Notion finds Open Food Facts product details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/notion

## Open Food Facts product details tools and prices

- [Open Food Facts · Product](https://spiral.ai/tools/alexandria/world-openfoodfacts-org/foods/product) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A product page URL on any Open Food Facts country site, e.g. https://world.openfoodfacts.org/product/5449000000996/coca-cola or https://fr.openfoodfacts.org/produit/5449000000996. The barcode is taken from the path. |
| lang |  | — | Two-letter language code (`lc`) for localised names; default `en`. Pattern: ^[a-z]{2}$. |
| barcode |  | — | 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`. Pattern: ^[0-9]{8,14}$. |
| country |  | — | Two-letter country code (`cc`) the site uses for country-dependent computations such as the Nutri-Score comparison country; default `us`. Pattern: ^[a-z]{2}$. |

## What can you do with Open Food Facts product details in Notion?

Keep a recurring grocery report tied to the same Open Food Facts products and classifications. A scheduled agent can repeat lookups and flag differences in the returned records for review.

### Compare foods within a category

Resolve a category such as oat milks, find matching products, and inspect their barcode records to compare reported ingredients and nutrition on the same basis.

### Build a grocery catalog in two languages

Use taxonomy identifiers to organize translated category names, find foods for the catalog, and attach ingredients and nutrition from individual product records.

### Audit category data completeness

Choose a category from the source's suggestions, collect matching barcodes, and check individual records for missing ingredients, nutrition facts, or scores.

### Research a public brand's product range

Resolve the brand name, gather matching foods, and inspect selected barcode records for differences in reported ingredients and nutrition.

### Enrich an existing barcode catalog

Look up known grocery barcodes and add the available product names, ingredients, allergens, and nutrition facts to catalog entries.

### Review changes to contributed food records

Repeat a defined product search and compare selected barcode records with earlier retrieved results. Flag changed ingredients or nutrition values for editorial review.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Notion guides](https://spiral.ai/integrations/notion)

## Open Food Facts product details in other agents

- [Amp](https://spiral.ai/integrations/amp/open-food-facts-product-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/open-food-facts-product-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/open-food-facts-product-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/open-food-facts-product-details)
- [Cline](https://spiral.ai/integrations/cline/open-food-facts-product-details)
- [Codex](https://spiral.ai/integrations/codex/open-food-facts-product-details)
- [Cursor](https://spiral.ai/integrations/cursor/open-food-facts-product-details)
- [Devin](https://spiral.ai/integrations/devin/open-food-facts-product-details)
- [dots](https://spiral.ai/integrations/dots/open-food-facts-product-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/open-food-facts-product-details)
- [Gemini](https://spiral.ai/integrations/gemini/open-food-facts-product-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/open-food-facts-product-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/open-food-facts-product-details)
- [goose](https://spiral.ai/integrations/goose/open-food-facts-product-details)
- [Grok](https://spiral.ai/integrations/grok/open-food-facts-product-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/open-food-facts-product-details)
- [Hermes](https://spiral.ai/integrations/hermes/open-food-facts-product-details)
- [Instinct](https://spiral.ai/integrations/instinct/open-food-facts-product-details)
- [Manus](https://spiral.ai/integrations/manus/open-food-facts-product-details)
- [Muse](https://spiral.ai/integrations/muse/open-food-facts-product-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/open-food-facts-product-details)
- [n8n](https://spiral.ai/integrations/n8n/open-food-facts-product-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/open-food-facts-product-details)
- [opencode](https://spiral.ai/integrations/opencode/open-food-facts-product-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/open-food-facts-product-details)
- [Raycast](https://spiral.ai/integrations/raycast/open-food-facts-product-details)
- [VS Code](https://spiral.ai/integrations/vscode/open-food-facts-product-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/open-food-facts-product-details)
- [Zapier](https://spiral.ai/integrations/zapier/open-food-facts-product-details)

## More Notion guides

- [Open Food Facts category and brand suggestions](https://spiral.ai/integrations/notion/open-food-facts-category-and-brand-suggestions)
- [Open Food Facts product search](https://spiral.ai/integrations/notion/open-food-facts-product-search)
- [Nike size availability](https://spiral.ai/integrations/notion/nike-size-availability)
- [OzBargain deal details](https://spiral.ai/integrations/notion/ozbargain-deal-details)
- [Nike search suggestions](https://spiral.ai/integrations/notion/nike-search-suggestions)
- [OzBargain deal feed](https://spiral.ai/integrations/notion/ozbargain-deal-feed)

## Questions about Open Food Facts product details in Notion

**Can Notion use Open Food Facts product details?**

Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Open Food Facts product details like any built-in tool.

**How much does Open Food Facts product details cost in Notion?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Notion plan is separate.

**Do I need an Alexandria account to use Open Food Facts product details in Notion?**

No. Spiral runs Open Food Facts product details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up Open Food Facts product details in Notion?**

About two minutes: allow custom MCP servers, then add Spiral to a custom agent, then sign in to Spiral and approve.

**Does Notion wait while Open Food Facts product details runs?**

Open Food Facts product details runs in the background. Notion starts the run, checks on it and gives you the json when it's ready.

**Which countries does Open Food Facts cover?**

Open Food Facts covers food products worldwide and contains millions of records. Its scope extends beyond a single country's food catalog.

**Does finding a product mean its record is complete?**

No. Open Food Facts explicitly says a listed product may still lack data, so finding a barcode does not establish that its ingredients or nutrition information is complete.

**How does product information get updated?**

Contributors can edit, correct, and complete existing contributions. Updates therefore depend on changes to the contributed records.

**Why might a product have no Nutri-Score?**

Missing nutrition data can prevent Open Food Facts from computing a Nutri-Score. The source's tutorial also shows a product missing the category and sodium information needed for the calculation.

**How does Open Food Facts handle different languages?**

Its taxonomies associate canonical identifiers with translations and synonyms. This lets category terms in different languages refer to the same underlying classification.

