Barcode and ISBN validation API
Send a product or book code and get its type, whether the check digit is right, the digit it should have been, and its ISBN-10, ISBN-13 and GTIN-14 forms.
What it does
Checks the check digit of EAN-8, UPC-A, EAN-13, GTIN-14, ISBN-10 and ISBN-13 codes, detects the type, and converts between ISBN-10, ISBN-13 and GTIN-14.
- GET /v1/barcodes/validate?code={code}
Limits: Check digits only. No product or book database is queried, so a valid code does not prove the product exists.
Use cases
- Catch typos in product feeds and marketplace listings before upload.
- Normalize ISBN-10 and ISBN-13 in library or bookstore catalogs.
- Store every product code as GTIN-14 for consistent lookups.
Data sources and freshness
GS1 General Specifications check-digit algorithm (mod 10) and the ISBN standard (ISO 2108, mod 11), computed in the Worker.
Algorithmic; no data to refresh.
Pricing
Every new account gets 100 free calls. Packs of 10,000 ($5), 100,000 ($15) and 250,000 calls ($29) never expire, or choose Unlimited for $39 a month. Only successful responses use a call. See pricing.
FAQ
Does it tell me which product a barcode belongs to?
No. It checks the GS1 and ISBN check-digit rules only. No product or book database is queried, so a valid code is not proof that the product exists.
Which formats are supported?
EAN-8, UPC-A (GTIN-12), EAN-13, GTIN-14, ISBN-10 (including the X check digit) and ISBN-13 (978 and 979 prefixes). Spaces and hyphens are ignored.
Why is there no ISBN-10 for some ISBN-13s?
Only 978-prefixed ISBN-13s have an ISBN-10 form; 979 codes do not.