{"uid":"cap_-dJc21qi4ul8Ic7uvBtYS","slug":"gtin-upc-ean-barcode-validator-162f06fb","name":"GTIN/UPC/EAN Barcode Validator","description":"Validate a GTIN-8/12/13/14, UPC-A or EAN-13: check digit, format, GTIN-14 normalization, packaging indicator.","url":"https://trade.chainverdict.xyz/v1/gtin/validate","method":"GET","headers":{},"bodySchema":{"type":"object","required":["code"],"properties":{"code":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"valid":{"type":"boolean"},"_attestation":{"type":"object"}},"additionalProperties":true},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IG-bzee3lfOI928KZHL53","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a GTIN-8, GTIN-12 (UPC-A), GTIN-13 (EAN-13), or GTIN-14 barcode code by checking the check digit, format correctness, GTIN-14 normalization, and packaging indicator.","exampleAgentPrompt":"Can you check if this barcode is valid — it's a GTIN-13: 5901234123457? I need to know if the check digit and format are correct before I upload the product to our catalog.","exampleUseCases":[{"title":"E-commerce product catalog validation","prompt":"Before I bulk-import these 500 products, can you validate this sample GTIN-13 barcode 0614141999996 and tell me if the check digit and format are correct?"},{"title":"Retail receiving quality check","prompt":"We just received a shipment with a GTIN-14 code 10614141000415 on the outer case — can you verify that barcode is properly formatted and tell me its packaging indicator?"},{"title":"Supplier barcode compliance audit","prompt":"Our supplier sent us a UPC-A code 012345678905 — can you validate it and confirm the check digit is correct so we know it's GS1-compliant?"}],"resultDescription":"Returns a validation result for the submitted GTIN/UPC/EAN code, including whether the check digit is correct, whether the format matches the expected GTIN variant (8/12/13/14), the GTIN-14 normalized representation, and the packaging indicator value. Invalid codes return structured error details indicating what failed.","failureModes":["Missing or empty 'code' query parameter returns a 400 error","Non-numeric or malformed barcode string returns a format validation failure","Incorrect check digit returns a check digit mismatch error","Code length not matching any GTIN variant (8/12/13/14) returns a length error","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need to programmatically verify GS1 barcode codes (GTIN-8, UPC-A/GTIN-12, EAN-13/GTIN-13, GTIN-14) for correctness before product catalog ingestion, supplier onboarding, or retail compliance checks. It also provides GTIN-14 normalization and packaging indicator parsing, making it suitable for supply chain and logistics workflows that require more than a simple check-digit calculation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:30:29.821Z","isFirstParty":false}