Pushbuild

Product Barcode Lookup - Food, Nutrition & Ingredients

Look up any EAN/UPC barcode or search 3M+ products: name, brand, quantity, ingredients, allergens, additives, nutrition per 100 g, Nutri-Score, NOVA and Eco-Score, categories, stores and image. Food, cosmetics and pet food.

$0.24 per 1,000 products

Get an API key

What it returns

Barcode lookup and product search over Open Food Facts, Open Beauty Facts and Open Pet Food Facts: over 3 million products from 150+ countries, open data (ODbL).

Barcode, name, brand, quantity, categories, labels, countries, stores, packaging, ingredients, allergens, traces, additives, nutrition per 100 g (energy, fat, saturates, carbs, sugars, fibre, protein, salt), Nutri-Score, NOVA group, Eco-Score, serving size and image URL. Unknown barcodes are flagged and not charged.

Common uses

Shopping and diet apps, allergen checks, retail catalog enrichment, grocery price tools, nutrition research. Pay per product.

Request

POST https://api.pushbuild.com/product-barcodes/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
barcodeslist of stringsEAN-13, EAN-8 or UPC-A codes.
databasestring: any, food, beauty, petfood, productsWhere to look up barcodes; any tries food, beauty, pet food then other products. Default: "any".
searchQuerieslist of stringsSearch food products by keyword.
brandstringOnly this brand, e.g. Coca-Cola.
categorystringe.g. breakfast cereals, chocolates, plant-based milks.
countrystringe.g. united states, france, united kingdom.
nutriScorestring: a, b, c, d, eOnly this grade.
sortstring: -unique_scans_n, -last_modified_t, -created_t, product_nameSearch order (default relevance).
maxResultsPerQueryintegerUp to 1,000. Default: 50.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/product-barcodes/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"barcodes": ["3017624010701", "5449000000996"], "maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.24 per 1,000 products. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.