Live API Demo

General Product Lookup

Scan a barcode on any retail product — electronics, beauty, hardware, household goods — and pull live product data. This demo works on items that aren't food, where Open Food Facts has no coverage.

This is a second-tier demo showing a different API and a broader product category. Retail businesses, resellers, and e-commerce operations use barcode lookup APIs to auto-fill product details, verify inventory, and power customer-facing tools without maintaining their own product database.

← Try the Food & Grocery Scanner instead

How It Works

Camera / Scanning html5-qrcode — same library as the food scanner, handles iOS and Android camera streams
Product API UPC Item DB — free trial tier, general retail coverage. Production apps often use Go-UPC or Barcode Lookup for broader SKU coverage.
API Call GET api.upcitemdb.com/prod/trial/lookup?upc={barcode}
Best For Electronics, hardware, beauty, household goods, specialty retail. Not food-focused — use Open Food Facts for grocery.
Go-UPC Option Go-UPC is a paid API ($9–$49/mo) with significantly broader coverage and a real-time database. Same integration pattern — swap the endpoint and add an API key.
Want this for your business? →

Open on Your Phone

This demo requires a mobile device with a camera. Scan the code below or type the URL.

Scan to open barcode lookup on your phone
starviewdata.com/tools/barcode-lookup

What Happens Behind the Scenes

1
Camera stream opens

Same as the food scanner — html5-qrcode reads video frames and detects barcode patterns in real time on the device.

2
UPC or EAN extracted

When a barcode is found, the numeric code (12-digit UPC-A or 13-digit EAN-13) is extracted. This is the unique product identifier retailers use globally.

3
Lookup request fires

A GET request goes to api.upcitemdb.com/prod/trial/lookup?upc=[barcode]. The free tier allows up to 100 lookups per day. A paid API key removes that limit.

4
Product data rendered

The API returns name, brand, category, description, and available images. The same JSON response format is used by Go-UPC, Barcode Lookup, and most commercial barcode APIs — switching providers is a one-line change.

Free vs. paid: UPC Item DB's free trial works for demos and low-volume use. For production — a retail app, inventory system, or e-commerce catalog tool — Go-UPC ($9–$49/mo) or Barcode Lookup offer millions more SKUs, faster response times, and SLA-backed uptime. The code change to upgrade is literally one URL swap.