Open Food Facts is a free food product database you can use to make better food choices. The database has over 1.3 million products listed at the time of writing, including food information such as ingredients, allergens, nutrition facts, and other miscellaneous information found on product labels.
A few examples of how you can use this API include a barcode lookup:
And finding products that match a search term:
$collection = OpenFoodFacts::find('Coca Cola Zero');
You can learn more about this package, get full installation instructions, and view the source code on GitHub at openfoodfacts-laravel.
Open Food Facts also has an API Wiki with more information on API usage.
The Open Food Facts organization has quite a few integrations and SDKs available on GitHub such as an iOS app, android app, and API wrappers.