Barcode → Nutrition API (Open Food Facts, no key)
Pricing
from $4.00 / 1,000 nutrition queries
Barcode → Nutrition API (Open Food Facts, no key)
Scan a barcode and get clean product data: nutrition per 100g, Nutri-Score, NOVA, ingredients, allergens, and image — or search millions of foods. Open Food Facts, no API key. HTTP API + MCP. Pay per query.
Pricing
from $4.00 / 1,000 nutrition queries
Rating
0.0
(0)
Developer
Synthetic
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
17 hours ago
Last modified
Categories
Share
Turn a barcode into clean nutrition data over a simple HTTP API — product name, brand, nutrition per 100g, Nutri-Score, NOVA processing group, ingredients, allergens and product image — or search millions of foods. Powered by Open Food Facts open data, wrapped into tidy JSON. No API key, no signup. Pay per query.
- 🏷️ Barcode → nutrition — one call returns a clean, normalized product
- 🥗 Nutri-Score, NOVA, Eco-Score — health & processing ratings ready to use
- 🔬 Nutriments per 100g — energy, fat, saturated fat, carbs, sugars, fiber, protein, salt, sodium
- ⚠️ Ingredients & allergens — parsed tags (milk, nuts, gluten…) + additives & labels
- 🔎 Search — by text, category or brand across millions of products
- ⚡ HTTP API (Standby) + usable from AI agents (MCP)
Sample output (product)
{"ok": true,"product": {"code": "3017620422003", "name": "Nutella", "brands": "Nutella, Ferrero", "quantity": "400 g","nutriScore": "E", "novaGroup": 4, "ecoScore": "D","nutrimentsPer100g": { "energyKcal": 539, "fat": 30.9, "saturatedFat": 10.6, "sugars": 56.3, "proteins": 6.3, "salt": 0.107 },"allergens": ["milk", "nuts", "soybeans"],"imageUrl": "https://images.openfoodfacts.org/…/front.jpg"}}
How to use
HTTP API (Standby — recommended)
Base URL: https://synthetic-ia--openfoodfacts-nutrition.apify.actor with header Authorization: Bearer <APIFY_TOKEN>.
| Endpoint | Body | Does |
|---|---|---|
POST /product | { barcode } | One product: nutrition, ratings, ingredients, allergens, image |
POST /search | { q?, category?, brand?, page?, pageSize?: 1-50 } | Matching products |
GET / | — | Endpoint list |
GET /product?barcode=3017620422003 also works (query-string form).
# Barcode → nutritioncurl -X POST ".../product" -H "Authorization: Bearer $APIFY_TOKEN" -d '{"barcode":"3017620422003"}'# Search foodscurl -X POST ".../search" -H "Authorization: Bearer $APIFY_TOKEN" \-d '{"q":"greek yogurt","pageSize":10}'# Search by categorycurl -X POST ".../search" -H "Authorization: Bearer $APIFY_TOKEN" \-d '{"category":"breakfast-cereals","pageSize":20}'
Input (one-shot run)
- operation —
productorsearch. - barcode — 4-14 digits (Product).
- q / category / brand / pageSize — Search filters.
Use cases
Diet & health apps, calorie trackers, "scan a product" features, grocery tools, allergen checks, and any place you need clean nutrition data from a barcode without licensing a food database.
Pricing
Per query from $0.01 (drops to $0.003 on higher tiers). Platform usage included.
Related Actors
- Weather API, ESPN Sports Data API, Yahoo Finance API — more clean no-key data APIs.
FAQ
Do I need a key? No. Open Food Facts is open data.
Which barcodes? Millions of food products worldwide (EAN/UPC). Coverage is best in Europe and growing everywhere; some products may be missing or partly filled (it's crowdsourced).
Is nutrition per serving or per 100g? We return per-100g nutriments (the OFF standard); serving size is included when available.
Legal
Data by Open Food Facts, licensed under the Open Database License (ODbL) — you may reuse it, including commercially, provided you attribute Open Food Facts and share back any enrichment of the database under ODbL. Product images have their own licenses. This Actor is not affiliated with Open Food Facts.