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.

Try it
Ready-made, maintained by usProducts, 29 fieldsv1.0

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

Barcodes
Barcodes to look up: EAN-13, EAN-8, UPC-A or GTIN-14, as text so leading zeros stay. Up to 250 per run. One per line, or separated by commas.
Example: 3017624010701, 0058449251002
Languageoptional
Two-letter language code for names, ingredients and the allergen, label and category lists, such as en, fr or de. Falls back to the product's main language.
Example: en

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
Endpoint
POSThttps://pullrow.dev/v1/apis/food-nutrition-by-barcode/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
2,500 free records of this API to start. No card.
curl
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.

barcodeslistrequired
Barcodes to look up: EAN-13, EAN-8, UPC-A or GTIN-14, as text so leading zeros stay. Up to 250 per run.
example: 3017624010701, 0058449251002
languagetext
Two-letter language code for names, ingredients and the allergen, label and category lists, such as en, fr or de. Falls back to the product's main language.
default: enexample: en

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

Pictures and media

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 nameTypeShown on this page asFilled
barcodetextBarcode3 of 3
requested_barcodetextRequested barcode3 of 3
urllinkLink3 of 3
product_nametextProduct name3 of 3
brandslistBrands3 of 3
quantitytextQuantity3 of 3
serving_sizetextServing size2 of 3
categorieslistCategories3 of 3
ingredients_texttextIngredients text3 of 3
allergenslistAllergens2 of 3
traceslistTraces2 of 3
additiveslistAdditives2 of 3
labelslistLabels3 of 3
nutri_scoretextNutri score3 of 3
nova_groupnumberNova group2 of 3
eco_scoretextEco score1 of 3
energy_kcal_100gnumberEnergy kcal 100g3 of 3
energy_kj_100gnumberEnergy kj 100g3 of 3
fat_100gnumberFat 100g3 of 3
saturated_fat_100gnumberSaturated fat 100g3 of 3
carbohydrates_100gnumberCarbohydrates 100g3 of 3
sugars_100gnumberSugars 100g3 of 3
fiber_100gnumberFiber 100g1 of 3
protein_100gnumberProtein 100g3 of 3
salt_100gnumberSalt 100g3 of 3
sodium_100gnumberSodium 100g3 of 3
countrieslistCountries3 of 3
image_urlimage linkImage3 of 3
last_modified_atdate and timeLast modified3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordBarcodeRequested barcodeProduct nameBrandsQuantityServing sizeCategoriesIngredients textAllergensTracesAdditivesLabelsNutri scoreNova groupEco scoreEnergy kcal 100gEnergy kj 100gFat 100gSaturated fat 100gCarbohydrates 100gSugars 100gFiber 100gProtein 100gSalt 100gSodium 100gCountriesLast modifiedLinkImage
130176240107013017624010701NutellaFerrero400.0 g—Breakfasts, Spreads, Sweet spreads, fr:Pâtes à tartinersugar, palm oil, hazelnuts (13%), skimmed milk powder (8.7%), fat reduced cocoa (7.4%), emulsifier: lecithins (soya), vanillinnutsmilk, nuts, soybeans—No glutenE—D5392,22830.910.657.556.3—6.30.1080.043France, United KingdomOct 2, 2026world.openfoodfacts.org/product/3017624010701images.openfoodfacts.org/images/products/301/762/401/0701/front_en.100.400.jpg
254490000009965449000000996Coca-ColaCOCA-COLA SERVICES SA/NV330 ml1 portion (330 ml)Beverages and beverages preparations, Beverages, Non-alcoholic beverages, Soft drinkscarbonated water, sugar, colour (caramel e150d), acid (phosphoric acid), natural flavourings, caffeine flavouring,——E150d - Sulphite ammonia caramel, E338 - Phosphoric acidMade in the EU, TrimanE4—441850010.910.9—000Albania, Austria, Belgium, BulgariaDec 3, 2026world.openfoodfacts.org/product/5449000000996images.openfoodfacts.org/images/products/544/900/000/0996/front_en.1129.400.jpg
307376280645020737628064502Thai peanut noodle kit includes stir-fry rice noodles & thai peanut seasoningSimply Asia, Thai Kitchen155 g0.333 PACKAGE (52 g)Plant-based foods and beverages, Plant-based foods, Cereals and potatoes, Cereals and their productsRice 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, soybeanspeanutsE330 - Citric acidVegetarian, No gluten, VeganD4—3851,672.827.691.9271.1513.461.99.620.720.288France, United StatesOct 18, 2026world.openfoodfacts.org/product/0737628064502images.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.
Known limits
  • 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.