Page 1 of 1

UPC lookup

Posted: Mon Apr 11, 2022 5:46 pm
by TimStone
A barcode reader inputs what it sees into a text field. On products, what is "seen" is the UPC ( Universal Product Code ). I have no problem retrieving this with a barcode reader and inserting it into the right field for use and saving.

My question: Has anyone tried working with a decoding option for UPC codes that looks up the item, and returns the descriptive data ? I know this is commonly available in many apps, so I assume there may be some existing API to do this. Perhaps someone has already found a solution for this with FWH.

Again, I read and use the barcode with no problem. The issue is finding a resource database for decoding the UPC data itself which likely uses a web based database.

Thanks for any input.

Re: UPC lookup

Posted: Mon Apr 11, 2022 6:05 pm
by Antonio Linares
Dear Tim,

Please google for "UPC rest api" (without the quotes) and you will find several services that provide it, in example:

https://upcdatabase.org/api

Re: UPC lookup

Posted: Mon Apr 11, 2022 6:09 pm
by James Bott
Tim,

Just search for "UPC API" on the web.

I tried to do this many years ago but at that time UPC's were new and I never found a universal database nor an API for access. Things have changed a lot since then.

James

Re: UPC lookup

Posted: Mon Apr 11, 2022 6:10 pm
by Marc Venken
Not 100% sure what you need :

Like this ?

https://stevesie.com/apps/barcodelookup ... igQAvD_BwE

You are looking for a online database for retrieving random data ?
In my case I get the data from manufacturers and generate my own database from all of them, but this you have/can do...

Re: UPC lookup

Posted: Mon Apr 11, 2022 6:27 pm
by TimStone
Marc,

When using a barcode reader, if you scan the printed code on a package, it returns the UPC ( Universal Product Code ) for that item. Those are stored in massive online databases. You can query a database and it will return a great deal of detail on that item, ie. the manufacturer, description, physical details, retail price, and more. Often it also provides a list of stores where you can obtain the product.

My clients use and sell parts. They all have UPC codes on them which is just a series of letters and numbers. I was thinking of adding the ability to lookup that code in a universal database. Many companies do offer an API to do this ( or web based query that returns a JSON response ). I was looking to see if anyone knew of a provider that does a better job of this than others.

I have a number of 3rd party interfaces built into my application. This would be another option that they could subscribe to for daily lookups. So far, the companies I see want the app developer to carry the subscription fee. I'd prefer that it be a client option.

Tim