Barcode Reader API: Scan EAN, UPC, Code 128 from Images
Pricing
from $2.00 / 1,000 image with barcode reads
Barcode Reader API: Scan EAN, UPC, Code 128 from Images
Read barcodes from product photos and other images. Give image URLs or data URIs, get each barcode's number, format (EAN-13, UPC-A, Code 128, Code 39, ITF, DataMatrix, PDF417, QR) and position. For e-commerce catalogs, inventory and AI agents. One row per image; no barcode found, no charge.
Pricing
from $2.00 / 1,000 image with barcode reads
Rating
0.0
(0)
Developer
Broke to Built
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Barcode Reader API: Scan EAN, UPC, Code 128 from Images
Give image URLs or data URIs. Get every barcode in each image: its number or text, its format and where it sits. One JSON row per image.
| You give it | You get back | You pay (Free plan) |
|---|---|---|
Image URLs (PNG, JPG, WebP, GIF, AVIF, TIFF) or data: URIs | Every barcode found: text, format (EAN-13, EAN-8, UPC-A, UPC-E, Code 128, Code 39, Code 93, ITF, Codabar, DataMatrix, PDF417, Aztec, QR), position | $0.002 per image read |
Images with no readable barcode are written to the dataset with the reason and are never charged.
Try it in one click
The input form is pre-filled with a sample EAN-13 barcode. Press Start.
{}
Real output from that input (run locally on 2026-11-11, position shortened):
[{"ok": true,"count": 1,"text": "5901234123457","format": "EAN13","barcodes": [{ "text": "5901234123457", "format": "EAN13", "symbology": "]E0" }]}]
Who this is for
- AI agents handed a photo of a product, shelf label or parcel that need the barcode number to look up price or stock (most models cannot read barcodes reliably).
- E-commerce and inventory teams turning product photos into GTIN/EAN/UPC lists in bulk.
- Logistics and back-office automations reading Code 128, ITF and PDF417 off shipping labels, tickets and documents.
Input
| Field | What it does |
|---|---|
image | One image URL or data URI. |
imageUrls | Many image URLs at once. |
maxFileSizeMb | Skip images larger than this. |
Each image is read as-is, then upscaled, with rotated and inverted codes also tried. Up to 50 barcodes per image, 200 images per run.
Output
ok: true rows give count, the first code's text and format, and the full barcodes list. ok: false rows carry an error and are not charged.
Pricing
Pay per event: $0.002 per image with at least one barcode read plus a tiny $0.00005 start fee. No subscription.
Built by Broke to Built. Questions: eli@broke2builtai.com.