Open Food Facts is a collaborative, free and open database of food products from around the world. For each product, stored under its barcode, it records ingredients, nutrition facts, allergens, labels, packaging and origins. It is a non-profit project developed by thousands of volunteers.
Volunteers add products with the Open Food Facts app for iPhone or Android, and the database holds more than 4.8 million products. Product pages show scores such as the Nutri-Score, a nutrition grade, the NOVA group, which measures how much a food is processed, and the Green-Score. Programs read the data through a live JSON API, which returns the record for one product, or download complete exports as a MongoDB dump or as JSONL, CSV, Parquet or RDF files. SDKs, ready-made client libraries, exist for many programming languages.
The data is open data under the Open Database License (ODbL): anyone may copy, use and adapt it if they credit Open Food Facts and share adapted databases under the same license. Product images are under CC-BY-SA. The database and API are free of charge, without paywalls or advertising.