Food Nutrition Facts by Barcode
Nutrition facts for food products by barcode (EAN or UPC), many barcodes in one call: name, brands, quantity, ingredients, allergens, traces, additives, Nutri-Score, NOVA group, Green-Score, nutrients per 100 g, labels and a front photo, from Open Food Facts.
$2 per 1,000 records
You pay only for the records you get. Zero records cost zero. 2,500 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from world.openfoodfacts.org/data
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 2,500 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/food-nutrition-by-barcode/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"barcodes":["3017624010701","0058449251002"]},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
29 fields.
Basics
- Barcode
The product's barcode as Open Food Facts stores it (a 12-digit UPC comes back with a leading 0).
Example 3017624010701
- Requested barcode
The barcode as it was sent, to match records to your list.
Example 3017624010701
- Product name
Product name, in the chosen language when available.
Example Nutella
- Brands
Brand names on the package, such as Ferrero.
Example Ferrero
- Quantity
Net quantity as printed, such as 400 g or 330 ml.
Example 400.0 g
- Serving size
Serving size as printed, such as 1 portion (330 ml).
Example 1 portion (330 ml)
- Categories
Food categories from general to specific, such as Beverages, Sodas, Colas.
Example Breakfasts, Spreads
- Ingredients text
The ingredient list as written on the package.
Example sugar, palm oil, hazelnuts (13%), skimmed milk powder (8.7%), fat reduced cocoa (7.4%), emulsifier: lecithins (soya),…
- Allergens
Allergens the product contains, such as nuts, milk or gluten.
Example nuts
- Traces
Allergens the product may contain as traces.
Example milk, nuts
- Additives
Food additives with their E number, such as E330 - Citric acid.
Example E150d - Sulphite ammonia caramel, E338 - Phosphoric acid
- Labels
Labels and claims, such as Organic, Vegan or No gluten.
Example No gluten
- Nutri score
Nutri-Score grade from A (best) to E.
Example E
- Nova group
NOVA food processing group: 1 unprocessed to 4 ultra-processed.
Example 4
- Eco score
Environmental grade (Green-Score, formerly Eco-Score) from A+ (best) to F.
Example D
- Energy kcal 100g
Energy in kcal per 100 g or 100 ml.
Example 539
- Energy kj 100g
Energy in kJ per 100 g or 100 ml.
Example 2,228
- Fat 100g
Fat in grams per 100 g or 100 ml.
Example 30.9
- Saturated fat 100g
Saturated fat in grams per 100 g or 100 ml.
Example 10.6
- Carbohydrates 100g
Carbohydrates in grams per 100 g or 100 ml.
Example 57.5
- Sugars 100g
Sugars in grams per 100 g or 100 ml.
Example 56.3
- Fiber 100g
Fiber in grams per 100 g or 100 ml.
Example 1.9
- Protein 100g
Protein in grams per 100 g or 100 ml.
Example 6.3
- Salt 100g
Salt in grams per 100 g or 100 ml.
Example 0.108
- Sodium 100g
Sodium in grams per 100 g or 100 ml.
Example 0.043
- Countries
Countries where the product is sold.
Example France, United Kingdom
Dates
- Last modified
When the product entry was last changed (UTC).
Example Oct 2, 2026
Links
- Link
The product's page on Open Food Facts.
Pictures and media
- Image
Photo of the front of the package.
Example Open the image
Technical detailsField names and types for developers
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
barcode | text | Barcode | 3 of 3 |
requested_barcode | text | Requested barcode | 3 of 3 |
url | link | Link | 3 of 3 |
product_name | text | Product name | 3 of 3 |
brands | list | Brands | 3 of 3 |
quantity | text | Quantity | 3 of 3 |
serving_size | text | Serving size | 2 of 3 |
categories | list | Categories | 3 of 3 |
ingredients_text | text | Ingredients text | 3 of 3 |
allergens | list | Allergens | 2 of 3 |
traces | list | Traces | 2 of 3 |
additives | list | Additives | 2 of 3 |
labels | list | Labels | 3 of 3 |
nutri_score | text | Nutri score | 3 of 3 |
nova_group | number | Nova group | 2 of 3 |
eco_score | text | Eco score | 1 of 3 |
energy_kcal_100g | number | Energy kcal 100g | 3 of 3 |
energy_kj_100g | number | Energy kj 100g | 3 of 3 |
fat_100g | number | Fat 100g | 3 of 3 |
saturated_fat_100g | number | Saturated fat 100g | 3 of 3 |
carbohydrates_100g | number | Carbohydrates 100g | 3 of 3 |
sugars_100g | number | Sugars 100g | 3 of 3 |
fiber_100g | number | Fiber 100g | 1 of 3 |
protein_100g | number | Protein 100g | 3 of 3 |
salt_100g | number | Salt 100g | 3 of 3 |
sodium_100g | number | Sodium 100g | 3 of 3 |
countries | list | Countries | 3 of 3 |
image_url | image link | Image | 3 of 3 |
last_modified_at | date and time | Last modified | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Barcode | Requested barcode | Product name | Brands | Quantity | Serving size | Categories | Ingredients text | Allergens | Traces | Additives | Labels | Nutri score | Nova group | Eco score | Energy kcal 100g | Energy kj 100g | Fat 100g | Saturated fat 100g | Carbohydrates 100g | Sugars 100g | Fiber 100g | Protein 100g | Salt 100g | Sodium 100g | Countries | Last modified | Link | Image |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 3017624010701 | 3017624010701 | Nutella | Ferrero | 400.0 g | — | Breakfasts, Spreads, Sweet spreads, fr:Pâtes à tartiner | sugar, palm oil, hazelnuts (13%), skimmed milk powder (8.7%), fat reduced cocoa (7.4%), emulsifier: lecithins (soya), vanillin | nuts | milk, nuts, soybeans | — | No gluten | E | — | D | 539 | 2,228 | 30.9 | 10.6 | 57.5 | 56.3 | — | 6.3 | 0.108 | 0.043 | France, United Kingdom | Oct 2, 2026 | world.openfoodfacts.org/product/3017624010701 | images.openfoodfacts.org/images/products/301/762/401/0701/front_en.100.400.jpg |
| 2 | 5449000000996 | 5449000000996 | Coca-Cola | COCA-COLA SERVICES SA/NV | 330 ml | 1 portion (330 ml) | Beverages and beverages preparations, Beverages, Non-alcoholic beverages, Soft drinks | carbonated water, sugar, colour (caramel e150d), acid (phosphoric acid), natural flavourings, caffeine flavouring, | — | — | E150d - Sulphite ammonia caramel, E338 - Phosphoric acid | Made in the EU, Triman | E | 4 | — | 44 | 185 | 0 | 0 | 10.9 | 10.9 | — | 0 | 0 | 0 | Albania, Austria, Belgium, Bulgaria | Dec 3, 2026 | world.openfoodfacts.org/product/5449000000996 | images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.400.jpg |
| 3 | 0737628064502 | 0737628064502 | Thai peanut noodle kit includes stir-fry rice noodles & thai peanut seasoning | Simply Asia, Thai Kitchen | 155 g | 0.333 PACKAGE (52 g) | Plant-based foods and beverages, Plant-based foods, Cereals and potatoes, Cereals and their products | Rice Noodles (rice, water), seasoning packet (peanut, sugar, salt, corn starch, spices [chili, cinnamon, pepper, cumin, clove], hydrolyzed soy protein, green onions, citric acid, peanut oil, sesame oil, natural flavor). | peanuts, sesame seeds, soybeans | peanuts | E330 - Citric acid | Vegetarian, No gluten, Vegan | D | 4 | — | 385 | 1,672.82 | 7.69 | 1.92 | 71.15 | 13.46 | 1.9 | 9.62 | 0.72 | 0.288 | France, United States | Oct 18, 2026 | world.openfoodfacts.org/product/0737628064502 | images.openfoodfacts.org/images/products/073/762/806/4502/front_en.6.400.jpg |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data comes from Open Food Facts, a database filled in by volunteers and food makers: values can be missing or out of date, so check the package before an allergy or medical decision.
- Open Food Facts publishes its database under the Open Database License (ODbL) and product photos under CC BY-SA: credit Open Food Facts when you show or share the data.
- One request per barcode at Open Food Facts' limit of 100 product reads a minute: a run reads about 60 to 100 barcodes a minute and at most 250 barcodes.
- Barcodes Open Food Facts does not know, codes that are not 8 to 14 digits, and entries with no name, brand, ingredients or nutrients return no record.
- nutri_score, nova_group and eco_score are empty when Open Food Facts could not compute them, which is common for products with few details; eco_score (now named Green-Score) is also empty where it does not apply, such as sodas and water.
- Nutrients are per 100 g, or per 100 ml for drinks, as Open Food Facts gives them; nutrients per serving are not included.
- Names, ingredients and lists come in the chosen language when Open Food Facts has them in it, otherwise in the product's main language; a few list items keep a language prefix such as fr:.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.