Open Food Facts
Public recordsworld.openfoodfacts.org
Food product data by barcode: ingredients, allergens, additives, Nutri-Score and nutrition facts.
Capabilities (6)
GET /v1/data/openfoodfacts/autocomplete1 creditReturns suggested taxonomy entries matching a partial string, each with its canonical id, display text and taxonomy name.
GET /v1/data/openfoodfacts/indexed-product1 creditReturns the search index's own document for one barcode, with every field already split per language, as the search hits are shaped.
GET /v1/data/openfoodfacts/product1 creditReturns 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.
GET /v1/data/openfoodfacts/search1 creditReturns 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.
GET /v1/data/openfoodfacts/taxonomy1 creditReturns a complete Open Food Facts controlled vocabulary as a static JSON map of canonical tag to translated names, synonyms and parent tags.
GET /v1/data/openfoodfacts/text-search1 creditReturns 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.
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-useAttribution
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
