{"uid":"cap_n7jMaYjyoDP8e4z6v6O7k","slug":"fittings-gtin-barcode-validator-9248d03f","name":"fittings GTIN Barcode Validator","description":"Validate a GTIN-8/12/13/14 barcode number by GS1 mod-10 check digit and report its format.","url":"https://fittings.sh/v1/valid/gtin","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"],"type":"string"},"queryParams":{"type":"object","required":["gtin"],"properties":{"gtin":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LUeIwndvecVP38amOrb_M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","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, GTIN-13, or GTIN-14 barcode number using the GS1 mod-10 check digit algorithm and reports its format.","exampleAgentPrompt":"Can you check whether the barcode number 5901234123457 is a valid GTIN and tell me what format it is?","exampleUseCases":[{"title":"Retail product barcode verification","prompt":"I need to verify that the barcode 012345678905 on this product is a valid UPC-A — can you run the GS1 check digit and tell me if it passes?"},{"title":"E-commerce catalog data quality check","prompt":"Before I upload this product to our catalog, can you validate that the GTIN-13 barcode 4006381333931 has a correct check digit?"},{"title":"Supply chain shipping label audit","prompt":"We received a shipment with GTIN-14 barcode 10012345678902 on the outer case — is that a valid GS1 GTIN-14 or is the check digit wrong?"}],"resultDescription":"Returns a validation result indicating whether the GTIN passes the GS1 mod-10 check digit algorithm, the detected GTIN format (GTIN-8, GTIN-12, GTIN-13, or GTIN-14), and whether the barcode is structurally valid.","failureModes":["Non-numeric input returns an error or invalid result","Input with wrong digit count for any GTIN format returns invalid","Check digit mismatch returns validation failure","Missing or empty gtin query parameter causes request error"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a GTIN barcode number conforms to the GS1 standard before ingesting it into a catalog, POS system, or supply chain application. Prefer this over manual check-digit computation when you need both format classification and validity in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:03:41.999Z","isFirstParty":false}