{"uid":"cap_bePPH0nRw2u7RmF-VoWUh","slug":"gtin-barcode-checksum-validator-c0147e99","name":"GTIN / Barcode Checksum Validator","description":"Offline validation of product barcode numbers: EAN-8, UPC-A, EAN-13 and GTIN-14, using the GS1 mod-10 weighted checksum. Catches corrupted GTINs in supplier catalogs before marketplace publication (Amazon/Google reject invalid GTINs). Query: ?gtin=4006381333931. Returns valid flag, detected format, GS1 member-org prefix and the computed check digit. Deterministic, cached 1 year.","url":"https://x402-datashop-production.up.railway.app/v1/logistics/gtin-check","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["gtin"],"properties":{"gtin":{"type":"string","description":"Barcode number: 8, 12, 13 or 14 digits (spaces/dashes tolerated)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WsFN6y_H82nvwnswA7IJQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates EAN-8, UPC-A, EAN-13, and GTIN-14 barcode numbers using GS1 mod-10 weighted checksum, returning validity, format, GS1 prefix, and computed check digit.","exampleAgentPrompt":"Can you check if barcode 4006381333931 is a valid GTIN before I upload this product to Amazon — I need to know if it passes the GS1 checksum and what format it is?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a valid boolean flag, the detected barcode format (EAN-8, UPC-A, EAN-13, or GTIN-14), the GS1 member-organization prefix, and the computed check digit. Response is deterministic and cached for 1 year.","failureModes":["Missing gtin parameter returns 400 or error response","Non-numeric or wrong-length input may return invalid flag rather than error","Network timeout on cold start of Railway container","Barcode with non-digit characters beyond spaces/dashes may fail parsing"],"whenToPreferThis":"Use this endpoint when you need to verify GTIN/barcode integrity offline before submitting product listings to marketplaces like Amazon or Google that reject invalid GTINs. Ideal for bulk supplier catalog validation pipelines or pre-publication checks. Cheaper and faster than calling a full product database lookup when you only need checksum verification.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:46:33.665Z","isFirstParty":false}