What a response looks like
{"count": 2, "items": [{ "barcode": "3017624010701", "brands": "Ferrero", "categories": "Cocoa and hazelnuts spreads, de:Other", "countries": "France, United Kingdom", "database": "food", "found": true, "genericName": "", "labels": "No gluten", "manufacturingPlaces": "", "name": "Nutella", … ]}| barcode | brands | categories | countries | database | found |
|---|---|---|---|---|---|
| 3017624010701 | Ferrero | Cocoa and hazelnuts spreads, de:Other | France, United Kingdom | food | True |
| 5449000000996 | COCA-COLA SERVICES SA/NV | Colas, pt:bebidas cafeína | Albania, Austria, Belgium, Bulgaria, Canada, C… | food | True |
Real rows returned by this API on 2026-11-09 for the request shown.
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.
| Field | Type | Description |
|---|---|---|
barcodes | list of strings | EAN-13, EAN-8 or UPC-A codes. |
database | string: any, food, beauty, petfood, products | Where to look up barcodes; any tries food, beauty, pet food then other products. Default: "any". |
searchQueries | list of strings | Search food products by keyword. |
brand | string | Only this brand, e.g. Coca-Cola. |
category | string | e.g. breakfast cereals, chocolates, plant-based milks. |
country | string | e.g. united states, france, united kingdom. |
nutriScore | string: a, b, c, d, e | Only this grade. |
sort | string: -unique_scans_n, -last_modified_t, -created_t, product_name | Search order (default relevance). |
maxResultsPerQuery | integer | Up to 1,000. Default: 50. |
maxItems | integer | Maximum 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.
| Products | Cost |
|---|---|
| 1,000 | $0.24 |
| 10,000 | $2.40 |
| 100,000 | $24.00 |
| 1,000,000 | $240.00 |
| 4,166 a month | Free ($1 monthly credit) |
Use it from Claude, ChatGPT or Cursor
This API is also an MCP server: https://api.pushbuild.com/mcp/product-barcodes. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.
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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync