validate_gtin_check_digit — Validate or Compute GS1 GTIN / SSCC Check Digit

Validates or computes official GS1 Modulo-10 check digits for GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GSIN-17, and SSCC-18 identifiers (single value or batch up to 100).

Why buy vs. DIY: Prevents costly retailer/Amazon GTIN check-digit rejections and off-by-one right-to-left 3x/1x weighting bugs.

Pricing: $0.0005 USD per GTIN/SSCC validation request (up to 100 codes) (x402 instant micropayment) · REST: POST https://barcode-pass.apikeg.com/v1/validate-gtin-check-digit · MCP: https://barcode-pass.apikeg.com/mcp

Input Parameters

FieldTypeRequired / DefaultDescription & Constraints
value string Optional Single GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), GTIN-14, GSIN-17, or SSCC-18 string to validate or complete. (minLength: 1, maxLength: 64)
values array Optional Optional batch of 1 to 100 GTIN/SSCC strings to validate in a single call. (minItems: 1, maxItems: 100)

REST Example (curl)

curl -X POST "https://barcode-pass.apikeg.com/v1/validate-gtin-check-digit" \
  -H "Content-Type: application/json" \
  -d '{
  "value": "4006381333931"
}'

MCP tools/call Payload

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "validate_gtin_check_digit",
    "arguments": {
      "value": "4006381333931"
    }
  }
}