Open Food Facts API guide

world.openfoodfacts.org

Use Open Food Facts to look up packaged foods by barcode, filter products by category, and check reported nutrients and allergens.

Actions and inputs

product

Look up a packaged food record by barcode.

Inputs barcode

search

Find products by category, brand, country, label, or nutrition grade.

Inputs category, brand, country, label, nutrition grade, page size

nutrition

View the nutrition values reported for a product.

Inputs barcode

allergens

Inspect reported ingredients and allergens for a product.

Inputs barcode

Saved Open Food Facts product search in Smith

Create

Save an Open Food Facts product search in Smith.

Inputs name, category, country

Read

View the saved food filters and matching products.

Inputs saved search ID

Update

Change the category or country on the saved product search.

Inputs saved search ID, category, country

Delete

Remove the saved product search from Smith.

Inputs saved search ID