All free APIs
Free APIKnowledgeNo keyOfficial

Open Food Facts

Open, crowdsourced database of millions of packaged food products with nutrition facts, ingredients, allergens, and Nutri-Score by barcode; no API key for reads.

Open Food Facts is a Wikipedia-style, fully open (ODbL-licensed) database of food products from around the world. Read operations need no API key; you look up any product by its barcode (EAN/UPC) and get product name, brands, ingredients, allergens, additives, Nutri-Score, NOVA group, Eco-Score, full nutriment values per 100g, categories, labels, and packaging data. A search API lets you query and filter products by category, brand, label, nutrition grade, and more. Perfect for nutrition-tracking skills, barcode-scanning automations, diet/allergen filtering, and ingredient analysis.

Free tier

Completely free and open-data (ODbL). Read access requires no key or account; non-profit project funded by donations.

Rate limits

Documented per-IP read limits: roughly 10 req/min for product/read queries and 10 req/min for search/facet queries. A descriptive User-Agent is mandatory, and heavy or bulk use should download the full data export instead of hammering the API.

Auth

No key

Base URL

https://world.openfoodfacts.org

What you'd build with it

  • Barcode-scan to nutrition-facts lookup in a diet tracker
  • Allergen / additive filtering for dietary-restriction tools
  • Nutri-Score / NOVA-based healthiness scoring automation
  • Ingredient analysis and product comparison

Key endpoints

  • GET/api/v2/product/{barcode}.jsonFetch a product by barcode (EAN/UPC); v3 also available and now recommended
  • GET/api/v2/search?categories_tags_en={cat}Search/filter products by tags (category, brand, label, nutrition grade)
  • GET/cgi/search.pl?search_terms={q}&json=1Full-text product search (legacy CGI endpoint)
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

nutritionfoodbarcodeingredientsopen-data