GTIN barcode validator
GTIN barcode validator: validate and convert GS1 identifiers: GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GLN and SSCC. Returns the check-digit verdict, the computed correct check digit, the GTIN-14 form with its indicator digit, and conversion between GTIN-8, -12, -13 and -14. No company-prefix split is returned: GS1's prefix-length table is no longer public data. Also computes a missing check digit from a partial code. Structure only, no product database.
Answeringour last check, 2026-11-26
7 of 7checks answered this week
593 msmedian answer time
$0.05listed price per call
$0.05price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://api.duoleads.com/v1/id/gs1
| Category | Code and developer |
|---|---|
| Provider host | api.duoleads.com |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-26 | valid payment request | 402 | $0.05 | 598 ms |
| 2026-11-25 | valid payment request | 402 | $0.05 | 315 ms |
| 2026-11-24 | valid payment request | 402 | $0.05 | 492 ms |
| 2026-11-23 | valid payment request | 402 | $0.05 | 593 ms |
| 2026-11-22 | valid payment request | 402 | $0.05 | 641 ms |
| 2026-11-21 | valid payment request | 402 | $0.05 | 549 ms |
| 2026-11-20 | valid payment request | 402 | $0.05 | 653 ms |
| 2026-11-19 | valid payment request | 402 | $0.05 | 306 ms |
| 2026-11-18 | valid payment request | 402 | $0.05 | 37 ms |
| 2026-11-17 | valid payment request | 402 | $0.05 | 28 ms |
| 2026-11-16 | valid payment request | 402 | $0.05 | 34 ms |
| 2026-11-15 | valid payment request | 402 | $0.05 | 26 ms |
| 2026-11-14 | valid payment request | 402 | $0.05 | 17 ms |
| 2026-11-13 | valid payment request | 402 | $0.05 | 26 ms |
| 2026-11-12 | valid payment request | 402 | $0.05 | 26 ms |
| 2026-11-11 | valid payment request | 402 | $0.05 | 26 ms |
| 2026-11-10 | valid payment request | 402 | $0.05 | 27 ms |
| 2026-11-09 | valid payment request | 402 | $0.05 | 17 ms |
| 2026-11-08 | valid payment request | 402 | $0.05 | 18 ms |
| 2026-11-07 | valid payment request | 402 | $0.05 | 15 ms |
| 2026-11-06 | valid payment request | 402 | $0.05 | 27 ms |
| 2026-11-05 | valid payment request | 402 | $0.05 | 498 ms |
| 2026-11-04 | valid payment request | 402 | $0.05 | 30 ms |
| 2026-11-03 | valid payment request | 402 | $0.05 | 25 ms |
| 2026-11-02 | valid payment request | 402 | $0.05 | 599 ms |
| 2026-11-01 | valid payment request | 402 | $0.05 | 414 ms |
| 2026-10-31 | valid payment request | 402 | $0.05 | 30 ms |
| 2026-10-29 | valid payment request | 402 | $0.05 | 24 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"value": "5901234123457"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"op": {
"default": "validate",
"description": "validate (default), checkdigit (compute the missing final digit) or convert.",
"enum": [
"validate",
"checkdigit",
"convert"
],
"maxLength": 64,
"type": "string"
},
"to": {
"description": "Target format. Required when op=convert.",
"enum": [
"gtin8",
"gtin12",
"gtin13",
"gtin14"
],
"maxLength": 64,
"type": "string"
},
"value": {
"description": "GS1 code, digits with optional spaces or hyphens. For op=checkdigit, omit the final digit.",
"maxLength": 32,
"type": "string"
}
},
"required": [
"value"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"data": {
"properties": {
"also_valid_as": {
"items": {
"type": "string"
},
"type": "array"
},
"check_digit": {
"type": [
"string",
"null"
]
},
"check_digit_ok": {
"type": "boolean"
},
"converted": {
"type": [
"string",
"null"
]
},
"gtin14": {
"type": [
"string",
"null"
]
},
"indicator": {
"type": [
"string",
"null"
]
},
"normalised": {
"type": "string"
},
"reason": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string"
},
"valid": {
"type": "boolean"
}
},
"type": "object"
},
"meta": {
"properties": {
"computed_at": {
"description": "RFC 3339 UTC with milliseconds",
"type": "string"
},
"deterministic": {
"type": "boolean"
},
"disclaimer": {
"type": "string"
},
"price_usd": {
"type": "string"
},
"request_id": {
"type": "string"
},
"sources": {
"items": {
"required": [
"id",
"version",
"published"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"request_id",
"computed_at",
"price_usd",
"deterministic",
"disclaimer"
],
"type": "object"
},
"ok": {
"const": true
},
"route": {
"const": "/v1/id/gs1"
},
"version": {
"type": "string"
}
},
"required": [
"ok",
"route",
"version",
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}