Skip to main content
All providers

Open Food Facts

Public records

world.openfoodfacts.org

Food product data by barcode: ingredients, allergens, additives, Nutri-Score and nutrition facts.

Capabilities (6)

GET /v1/data/openfoodfacts/autocomplete1 credit

Returns suggested taxonomy entries matching a partial string, each with its canonical id, display text and taxonomy name.

qtaxonomy_nameslang?size?fuzziness?
GET /v1/data/openfoodfacts/indexed-product1 credit

Returns the search index's own document for one barcode, with every field already split per language, as the search hits are shaped.

barcode
GET /v1/data/openfoodfacts/product1 credit

Returns the full crowd-sourced record for one barcode: names, brands, ingredients, allergens, additives, per-100g nutrition, Nutri-Score, NOVA group, Eco-Score, packaging and images.

barcodefields?lc?cc?
GET /v1/data/openfoodfacts/search1 credit

Returns a page of products matching tag filters such as category, brand, label, country, Nutri-Score grade or NOVA group, with a total count and page count.

page_sizecategories_tags?brands_tags?labels_tags?countries_tags?stores_tags?nutrition_grades_tags?nova_groups_tags?ingredients_tags?allergens_tags?additives_tags?fields?page?sort_by?lc?cc?
GET /v1/data/openfoodfacts/taxonomy1 credit

Returns a complete Open Food Facts controlled vocabulary as a static JSON map of canonical tag to translated names, synonyms and parent tags.

taxonomy
GET /v1/data/openfoodfacts/text-search1 credit

Returns products matching a free-text or Lucene-syntax query from the Open Food Facts search-a-licious index, with hits, total count and optional facets.

qpage_sizefields?page?sort_by?langs?facets?

Licence

The Open Food Facts database is available under the Open Database License (ODbL): commercial use and redistribution are permitted, but a derived database must be shared under the same licence and Open Food Facts must be credited.

https://world.openfoodfacts.org/terms-of-use

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: Open Food Facts (ODbL)

Cache: up to 86400s