Skip to content

Open Food Facts API: Search packaged foods

Searches Open Food Facts packaged foods by name, optionally filtered by diet, country where sold and brand, ordered by popularity (most scanned first).

openfoodfacts.org (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

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

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Diet optionaldiet

Diet filter, for example vegan. Default: any.

vegan

One of any, vegan, vegetarian, gluten_free, palm_oil_free. Default any.

Page optionalpage

Results page number, for example 2. Default: 1.

1 (default)

Whole number 1 or more.

Brand optionalbrand

Brand to match, for example Nature Valley. Default: any.

any (default)

Query, requiredquery

Words to search for, for example granola or oat milk.

granola

Country optionalcountry

Country where the food is sold, for example United States or US. Default: any.

United States

Default any.

Max Results optionalmax_results

Products per page, for example 20; maximum 100.

5

Whole number from 1 to 100. Default 20.

Output

From a run on Oct 31, 2026, shortened for this page.
{  "products": [    {      "brand": "Kirkland Signature",      "barcode": "0096619194261",      "quantity": "35.3 oz (1 kg)",      "photo_link": "https://images.openfoodfacts.org/images/products/009/661/919/4261/front_en.199.400.jpg",      "product_link": "https://world.openfoodfacts.org/product/0096619194261",      "product_name": "Ancient Grains Probiotic Granola",      "fat_g_per_100g": 16.3636363636364,      "salt_g_per_100g": 1.09090909090909,      "processing_level": "Ultra-processed foods",      "nutri_score_grade": "D",      "sugars_g_per_100g": 16.3636363636364,      "energy_kcal_per_100g": 454.545454545455    },    {      "brand": "Nature's Path Organic",      "barcode": "0058449770565",      "quantity": "35.3 oz (2 lb 3.3 oz) 1 kg",      "photo_link": "https://images.openfoodfacts.org/images/products/005/844/977/0565/front_en.111.400.jpg",      "product_link": "https://world.openfoodfacts.org/product/0058449770565",      "product_name": "Pumpkin Seed + Flax Granola",      "fat_g_per_100g": 18.1818181818182,      "salt_g_per_100g": 0.204545454545455,      "processing_level": "Processed foods",      "nutri_score_grade": "C",      "sugars_g_per_100g": 18.1818181818182,      "energy_kcal_per_100g": 472.727272727273    },    {      "brand": "purely elizabeth.",      "barcode": "0855140002175",      "quantity": "12 oz (340 g)",      "photo_link": "https://images.openfoodfacts.org/images/products/085/514/000/2175/front_en.72.400.jpg",      "product_link": "https://world.openfoodfacts.org/product/0855140002175",      "product_name": "ORIGINAL ANCIENT GRAIN GRANOLA",      "fat_g_per_100g": 16.6666666666667,      "salt_g_per_100g": 1.125,      "processing_level": "Processed foods",      "nutri_score_grade": "E",      "sugars_g_per_100g": 20,      "energy_kcal_per_100g": 433.333333333333    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
openfoodfacts.org/search_products
Returns
product name, brand, quantity, Nutri-Score, processing level, energy, sugars, fat, salt per 100 g, photo, product link, barcode

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method openfoodfacts.org/search_products with the inputs above.

Ask your agent

  • Find vegan oat milk brands sold in the United States and show me their Nutri-Score and sugar per 100 g
  • What are the most popular gluten-free crackers available in Canada? I need the barcodes too
  • On Open Food Facts, look up Nature Valley granola bars and list energy, fat and salt per 100 g
  • Search Open Food Facts for palm oil free chocolate spreads sold in France, 50 results please
  • Show me page 2 of vegetarian frozen pizza products in the UK with their processing level and photos
  • 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.

    openfoodfacts.org/get_product
  • Searches USDA FoodData Central foods and branded products by food or brand name, ranked by relevance. Calories and serving sizes are null when not supplied.

    fdc.nal.usda.gov/search_foods
  • Finds FDA food recall enforcement reports by product, brand, or allergen, newest first. Reports are updated weekly and recall statuses may lag.

    open.fda.gov/search_food_recalls
  • Searches Trader Joe's public product catalogue by name or keywords, optionally within a main category. Prices are website reference prices and may vary by store.

    traderjoes.com/search_products
  • Finds BBC Good Food recipes for a dish or ingredients in search order, with ratings, time, difficulty, photos and links. Excludes app-only recipes.

    bbcgoodfood.com/search_recipes
  • Search ALDI US groceries in site order with prices for the selected store. Prices and availability vary by store; related search results may follow direct matches.

    aldi.us/search_products
  • Finds Food Network recipes for a dish or ingredient, optionally filtered by chef, in site search order.

    foodnetwork.com/search_recipes
  • Searches IKEA products in a chosen country and returns current prices, details, photos and reviews in IKEA's result order.

    ikea.com/search_products