Open Food Facts

API

Look up packaged food ingredients, allergens and nutrition by barcode

Fiyat
Free API with rate limits
Erişim
None; identifying User-Agent

Hakkında

Open Food Facts is a community-contributed food-product database with a barcode lookup API. Reads need no credentials but require an identifying User-Agent and obey rate limits. Data can be incomplete or inaccurate; ODbL database and separate image licenses apply.

Neler yapabilirsin

  • Resolve a scanned grocery barcode to a product and its nutritional values
  • Show ingredients and listed allergens for a packaged food
  • Filter food products by nutrient fields with the structured search API

Başlarken

  1. Send a User-Agent naming your app and a contact address
  2. Query a barcode with v3; structured search uses v2
  3. Respect endpoint limits and the database and image licenses

Örnek kod

curl -H "User-Agent: MyFoodApp/1.0 (contact@example.com)" \
  "https://world.openfoodfacts.org/api/v3/product/3017620422003?fields=product_name,ingredients_text,nutriments,allergens_tags"

Ayrıntılar

Barındırma
Hazır hizmet (bulut), Kendi sunucunda
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
Python, JavaScript/TypeScript
MCP sunucusu
Yok

Görevler

Alternatifler

Aynı görevler için başka araçlar.

Son kontrol: .