How to Use Open Food Facts product search in Notion
Find matching foods with barcodes, nutrition information, and available scores. Use it to build a shortlist by name, brand, or category before checking individual product records.
Prompts to try with Open Food Facts product search in Notion
Copy an example into Notion, or ask in your own words.
Every Friday, use Open Food Facts product search for Oatly products sold in France and report barcodes appearing in or disappearing from the retrieved results.
Each month, use Open Food Facts product search for breakfast cereals sold in the United Kingdom and summarize the nutrition scores and category counts returned.
Every Monday at 9am: use Open Food Facts product search to look this up and give me the result as a table.
Pull the latest numbers from Open Food Facts product search and tell me what changed since last week.
Check Open Food Facts product search and summarize what you find in three bullet points.
How to set up Open Food Facts product search in Notion
Pick the way that suits you. Each takes about two minutes.
Use the Spiral skill
- Send Notion this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- 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
- 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.
- 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.
https://api.spiral.ai/mcp
- 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.
- Run Open Food Facts product search 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 search, prices it and runs it each time the step fires.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run Open Food Facts product search
One request; the result comes back by polling or a webhook.
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/search", "input": { "query": "<query>" } }'
Then paste one of the prompts above: Notion finds Open Food Facts product search on Spiral, shows the price and runs it.
Open Food Facts product search providers and prices
Spiral runs Open Food Facts product search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Notion for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Page | a number from 1 | 1-based page; the service refuses to page past 10000 hits, so page * page_size must stay within 10000. | |
| Sort | relevance, popularity, or recent |
| |
| Facets | on or off | When true, return facet counts for | |
| Page size | 1 to 100 | Hits per page, default 24. | |
| Nova group | 1 to 4 | nova_group | |
| Nutriscore grade | a, b, c, d, e, unknown, or not-applicable | nutriscore_grade |
Every API field of Open Food Facts · Search is on its tool page: open its card above.
What can you do with Open Food Facts product search 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.
Create grocery search filters
Populate category and brand controls from source suggestions, then use product search results and facet counts to help readers narrow their choices.
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.
More on Open Food Facts product search and Notion
Overview
Open Food Facts product search in other agents
Questions about Open Food Facts product search in Notion
Can Notion use Open Food Facts product search?
Yes. Add Spiral to Notion as an MCP server, and Notion can find and run Open Food Facts product search like any built-in tool.
How much does Open Food Facts product search 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 search in Notion?
No. Spiral runs Open Food Facts product search 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 search 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 search runs?
Open Food Facts product search 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.
Start using Open Food Facts product search in Notion
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Notion:
set up https://spiral.ai/SKILL.md


