Asset 20 8 2
Does AI recommend your business? Run the free check →

Join 15,000 business owners, marketers and entrepreneurs. The Sunday newsletter you'll be annoyed only arrives once a week.

Article

Barcode APIs Compared: Scan, Generate or Look Up (2026)

Choose a barcode API by its job: a scanning SDK if your app reads barcodes through a camera, a REST generator if you need barcode images, or a product lookup API if you want the item behind a UPC or EAN. Most projects need only one of the three, and picking the wrong one is the commonest and most expensive mistake.

Three jobs share one name

Most people searching for a barcode API assume it's one kind of product, with one price model and one shortlist. It isn't. Underneath the same two words sit three separate businesses that barely overlap: companies that read barcodes from a camera, services that draw barcode images, and databases that tell you what product a number belongs to.

Which of the three you need is the first decision, and it's quicker to make than most people think. Every tool description below comes from the vendor's own website, read this month.

How to tell which one you need

Ask what goes in and what comes out. If a camera image goes in and digits come out, you're shopping for scanning. If digits go in and a PNG or SVG comes out, you want a generator. If digits go in and a product name, brand, category or ingredients come out, you need lookup.

Plenty of real projects need two. A stock-taking app scans with an SDK, then calls a lookup API to fill in the product name. A shipping system generates labels and later scans them at dispatch. Pick each part on its own merits; the best scanner and the best database rarely come from the same company. If all you need is to make a handful of barcodes by hand, skip the API and use one of the free and paid barcode generators instead.

What I'd pick for each project

For a retail or logistics app scanning all day on phones or rugged devices, a commercial scanning SDK, bought on a yearly licence after a trial on your own worst labels.

If you need barcode images for labels, tickets or packaging, a REST generator for low volume, or a self-hosted open-source one once volume makes per-call billing silly.

For a consumer app showing product details after a scan, a paid lookup API sized by your monthly calls, with caching from day one.

And for anything about food, start with the open food database and keep a paid lookup as the fallback for gaps.

Scanning SDKs for camera apps

Scandit

A big name in smart data capture, whose Vision AI-powered SDKs read barcodes on mobile phones and wearable devices.

Dynamsoft Barcode Reader

Barcode reading SDKs for web, mobile, server and desktop, from a company that also specialises in document capture.

Scanbot SDK

On-device barcode and document scanning for mobile and web apps, from a smaller team whose site now says it's part of Apryse.

Mistakes made before the first line of code

Expecting a lookup API to scan. A product database takes a number and returns a name, brand and image. It doesn't read anything from a camera. If your warehouse app needs to scan boxes, you need a scanning library first; lookup is a second, optional step.

Expecting a scanning SDK to know what the product is. The reverse mistake. A scanner gives you the digits and the symbology, very fast, often from a damaged or angled label. It knows nothing about the tin of beans those digits are printed on.

Paying an annual licence for something a browser can do. If staff scan a few items a day on a laptop, a heavyweight mobile SDK may be overkill. The commercial scanning SDKs earn their money on volume, speed, poor lighting and odd angles. Test whether you have those problems before you pay to solve them.

Assuming any lookup database has your products. Coverage is the whole product, and it varies hugely by country and category. A database strong on US groceries can come back empty on a British craft brewery or a German hardware line.

Reusing open data without reading the licence. Free open databases often come with conditions about attribution and sharing. That's fine if you know, and painful if legal finds out after launch.

Annual licence or per call: how the money works

The three jobs are charged in three different ways, which is why price comparisons across this category make no sense.

Scanning SDKs are licensed, mostly by the year. On the vendors' own pricing pages this month, two of the three scanning SDKs here publish a starting annual fee and describe it as usage-based or fixed, while the biggest name sells by custom quote. Ask what the fee scales with, whether that's apps, platforms, devices or scans, and have your own numbers for each ready before the sales call.

Lookup APIs are charged per call, sold in monthly blocks (at least one vendor says no contract), and the price climbs with the size of the block. Every unique barcode your users scan becomes a call unless you cache results, which is the cheapest saving in this whole category: store what you've already looked up and only ask again when you need fresher data.

Work with me

Want AI doing the heavy lifting in your marketing?

I build the systems that handle the boring 80 percent, so you get your week back. Done properly, with the human kept in.

Generators can cost nothing at all. Some give a monthly allowance of calls at no charge, others are open source and can be run on your own server. If you're generating labels in volume, self-hosting an open-source generator removes the per-call bill altogether.

Generators and product lookup APIs

Cloudmersive Barcode API

This REST API works both ways, generating 1D and 2D barcodes and turning photos of barcodes back into text.

BarcodeAPI.org

Developers who'd rather run their own can use this open-source barcode server, which outputs a wide range of formats through a RESTful API.

Aspose.BarCode Cloud

A cloud REST API to generate and recognise 1D, 2D and postal barcodes, for teams building reader or generator apps on desktop, web or cloud.

Barcode Lookup API

When you have a UPC, EAN or ISBN and need the product behind it, this database search returns item details to your app.

Go-UPC

A barcode database with a JSON API, searched by UPC, EAN, GTIN or ISBN, that pitches itself as the largest of its kind.

UPCitemdb

Small UPC and EAN lookup service whose trial endpoint needs no key at all, handy for a quick proof of concept before paying.

Open Food Facts

An open database of food products, searchable by barcode through an API that anyone can call.

Open data and its strings

Open food databases are a gift if your app is about groceries, nutrition or allergens. The one on this list publishes its database and API free of charge under the Open Database Licence, and that licence has rules: you credit the source, and if you build a database that mixes in their data and share it, you share it on the same terms. Read the attribution page before you ship, not after.

Open data has a second catch: it's only as good as the people who added it. Popular products in big markets are well covered and often have photos and ingredients. Niche, local and new products may be missing or incomplete. That's not a reason to avoid it. It's a reason to plan a fallback, such as a paid lookup or a form that lets your own users add what's missing.

Do you make barcode APIs, scanning SDKs or product lookup services? Tool makers can ask to be considered for a featured place on this list.

A quick coverage check for lookup databases

You can judge a lookup API in an hour with nothing but a shopping basket. Gather thirty barcodes from products your users will scan: a third from big national brands, a third from supermarket own labels and a third from small or local makers. Run them through each candidate's trial and record three things for every code: found or not, whether the name is right, and whether there's an image.

Big brands will be found almost everywhere. The own labels and small makers are where databases separate. If a database finds fewer than two thirds of your basket, think hard about whether your app can live with that many blanks, and how users will feel the first time they scan something and see nothing.

For scanning SDKs, the equivalent test is physical. Print barcodes on glossy paper, crumple one, put one behind plastic film and try them under a warm kitchen light and a cold warehouse one. The gap between a good and an average scanner shows up in the bad conditions, never in the demo.

Want your tool on this list? Featured spots and reviews here are paid partnerships. Here's how to partner with me.

Frequently asked questions

Do I need a registered number to generate a barcode?

Not to generate the image: a generator will draw a barcode for any number in a valid format. Whether a shop or retailer will accept that number on your packaging is a separate question, so check their product listing rules before you print.

Can students use a commercial scanning SDK?

Sometimes. One of the big scanning vendors on this list offers a Community Edition for education, and all three scanning SDKs here offer a trial, which is usually enough for a class project or prototype.

Will a lookup API find products I make myself?

Only if someone has added them to that database. For your own catalogue, the barcode should simply map to a record in your own product system, and a third-party lookup is only needed for items you didn't create.

Published and maintained by the Lilach Bullock team, covering marketing, AI and business growth.
Your buyers are asking AI who to use. Does it say you?

See for free whether ChatGPT, Claude, Perplexity, Gemini and Google name you, and get the plan to become the answer.

Check my AI visibility →
Sundays only

Get the Sunday newsletter.

One email a week. AI experiments, marketing tactics, and the workflows Lilach is building right now in her own business.

Subscribe free

Let’s get your marketing running on AI.

Book a free 30-minute call

We figure out what you need, where AI fits in, and what working together would look like.

Book the call →

Or take the 30-second calculator

You’ll see the hours and the money quietly leaking out of your week, and the three workflows worth building first.

Take the calculator →

Or grab the free AI resource library

Prompt packs, templates, checklists, and swipe files. The exact tools I build for paying clients. Yours, free.

Get the library →
Keep reading

More from the blog.