Description
openfoodfacts-dart is a Dart package for the Open Food Facts API, the open database of food products. It gives Dart code access to information on more than 2.9 million food products from around the world, which the community keeps growing. The API returns results as JSON, and the package turns them into structured objects, so you can work with a product using normal Dart types. The same product structure can be used to edit an existing product or upload a new one with a single function call. The README says most queries need no authentication, though it recommends setting a User-Agent so your requests are not blocked by mistake, and it shows an optional setup step. The package is installed from pub.dev, and the project is developed on GitHub by the Open Food Facts community.…
Highlights
- Structured Dart objects for food products
- Access to more than 2.9 million products
- Edit or upload products through the API
- Installs from pub.dev
Ratings & Reviews
No ratings yet
Be the first to rate Openfoodfacts Dart.
People also visit
Openfoodfacts Dart FAQ
What is openfoodfacts-dart?
A Dart package for the Open Food Facts API, the open database of food products.
Do I need an account to use it?
Not for most queries. The README recommends setting a User-Agent so your requests are not blocked by mistake.
How do I install it?
Follow the installation instructions on pub.dev.
Can I change product data with it?
Yes. The package can edit an existing product or upload a new one to Open Food Facts using the same product structure.
Is the data free to use?
The Open Food Facts API gives free access to its product information, and the package is a Dart wrapper for it.
What are the best Openfoodfacts Dart alternatives?
Popular alternatives to Openfoodfacts Dart include OpenFoodFacts, Openfoodfacts Server and Fork Recipes. See all Openfoodfacts Dart alternatives








