EAN 13 is an international system. Is there an API or database that contains all items that have these barcodes? Like all food, goods you can buy in a regular convenience store. Is there a global open database for this?
Open Data Stack Exchange is a question and answer site for developers and researchers interested in open data. It only takes a minute to sign up.Sign up to join this community
The Open Product Data project is a comprehensive source for open barcode data. As of May 2014, they have close to a million products in their database. The data is accessible online, through an Android app (source code), and available for download under the Open Data Commons Open Database License (ODbL).
I recently set out to do this. https://www.datakick.org/
The mission: Build a database of every product in the world that is free to everyone. It's licensed under CC0 (Public Domain Dedication) and all the information is available for download. There aren't many products yet, but it's a start for those who want to make this a reality.
EDIT: DataKick has ceased operation on that domain. I have downloaded and replicated the whole site on https://gtinsearch.org/ to continue the project.
In short, no, there is no comprehensive open database of EAN 13 barcodes. I worked on a project that required UPC information and I found out that this data is not only hard to get, but what is there is often incomplete or poorly formed. I subscribed to SimpleUPC's API service to do some testing on matching products to parent companies. Manufacturer names weren't uniform, for example, so identifying all of the Procter & Gamble products wasn't that straightforward. If I recall correctly, I found misspellings of manufacturer names. I'm pretty certain these were upstream issues (UPC providers), not a problem with SimpleUPC's service.
As Megan linked to, the GEPIR registry on the GS1 will allow you to search, but is not bulk downloadable nor do they provide an API. There is an API version of the GS1 US GEPIR database called GS1 US Data Hub (www.gs1us.org/datahub). It also offers an option to match a list of UPCs that you may have to their database.The GS1 is the international association that governs the EAN 13 and UPC standards. They do not provide the EAN 13 information in a machine readable format, and I doubt that have an interest in doing so.
There are companies like SimpleUPC that sell access to a slice of UPC data (groceries, for example) they collect through partnerships with larger companies. Even then, the information isn't likely to be uniform or complete.
OpenFoodFacts takes care of food-related products with EAN and related information.
Short answer, no.
Long answer - there are attempts at creating a "global" or should I say "universal" UPC database and there are some vendors with large UPC databases (and even those who provide API access), but none of them are hardly "universal".
This is a problem that I have personally been grappling with. At work I manage a large number of SKUs (in the many millions). Many of them which have UPC information. One of the biggest pain points has been that we have been looking to match those UPC data with a centralized product database and pull out structured metadata for those products.
We have resorted to using a commercial vendor via API (https://semantics3.com/) - to match the ones in which they have an entry for (we get about ~60-70% match rate depending on the category).
The rest we just try to contact the merchant directly or try googling around (I once had an intern who did this for me).
For those who may be interested, here is an interesting blog post that talks in detail about the lack of universality amongst UPC codes: https://medium.com/@Semantics3/why-the-u-in-upc-doesnt-mean-universal-a1a675eea0ea
I've been using http://www.ean-search.org/ for a while. Seems pretty good.
Not knowing what you've already found, do you want something like this:
There was a question like this, two actually, over on Stack Overflow. Each of these has more links and help:
Grocery.com has launched (Sept. 20, 2014) an open data project ("open grocery database project") to list UPC codes, brand, product and other information on products sold in grocery stores. According to their website:
We start with a small installment. Our first file contains a little over 100K grocery products with the following data points: grp_id, upc14, upc12, brand and product_name. We are not including other data points in this file to conserve space and make the handling of the data manageable.
They give some explanation about their method of converting UPC codes. You can download the entire database in an Excel file format, which can easily be converted to CSV file.
There are a number of routes that you could take depending on the scope and requirements of your project. I recommend using Amazon's Product Affiliate API, however there are a few other options available as well.
Free with Terms & Conditions
Amazon offers a comprehensive database of product information. This API is available through their affiliate program. The information supplied via this API contains much more information as most sellers are required to populate this information. While this information does not cost money, be sure to read through their terms of service.
If you want an accurate and comprehensive database of products that can be looked up by UPC or EAN, you can use GS1 US. This organization is responsible for distributing and maintaining UPC and EAN codes for products in the US. While this information is very accurate, this data is NOT free and requires a paid subscription.
A final solution involves scraping content off product database providers over the web. There are a number of online databases that may provide more information than the options above. Products can be programmatically retrieved by UPC or EAN using the examples below. Again, be careful not to break any terms of service with these approaches as well.
The largest and most accurate open reference book of bar codes on the Internet! If you do not believe it, the search engines will help dispel doubts. Slightly less than 3 million bar codes of ean13, ean8, upc-e, upc-a standards with corresponding names, brands and categories.
No one mentioned ItemMaster.com which provides pretty comprehensive product data which includes UPC codes, descriptions, nutrition, attributes, low and high res images and complete planograming information for retailers. Trouble is that they are sponsored by the manufacturers so their selection is limited. As of October 2014 they had 65,000 products. You will have to create a free account to download data.
www.ean13.info + google translate is not a bad thing. Over 8kk goods in database (russian lang.).
There is https://barcode.monster that is simple and have more than 5.000.000 items in database. It also have a public API.