EAN-13 barcode validation API
One GET, one JSON body, no registry fee and no rate limit: the GS1 retail product barcode (worldwide) verified against its own check digits - mod-10 with alternating weights 1 and 3.
Request
curl -H "Authorization: Bearer $API_KEY" \
"https://autorev.rohnelt.dev/v1/identity/validate?type=ean13&value=4006381333931"
Response
{
"type": "ean13",
"valid": true,
"formatted": "4006381333931",
"details": { ... }
}
valid is a boolean you can branch on at the form boundary;
formatted is the canonical rendering to store, so your database
stops holding six spellings of the same number.
Try the response without a key
Result appears here.
Important limitation, stated plainly
A checksum proves the number is well-formed. It does not prove the number was ever issued, nor that it belongs to the person presenting it. Any vendor claiming otherwise from a checksum alone is overselling. Use this to reject the ~90% of bad input that is simply mistyped, then use an official registry for the rest.
Verify at scale, not one at a time
The same checks over a REST API: 250 calls per period free, no credit card, no sales call.