{"uid":"cap_ORHIQJeQ1BoIyYqnoaBUV","slug":"agent402-uk-gtin-check-digit-validator-ee37ae29","name":"Agent402 UK GTIN Check Digit Validator","description":"Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.","url":"https://agent402.co.uk/v1/validate/gtin","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"gtin":{"type":"string","description":"GTIN-8/12/13/14, EAN, or UPC digits"}}},"responseSchema":{"type":"json","example":{"kind":"GTIN-13","alias":"EAN-13","valid":true,"gtin14":"05901234123457","valid_checksum":true}},"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_llQrR4a5AXZKm9ahZohRm","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 the GS1 check digit for GTIN-8, GTIN-12 (UPC), GTIN-13 (EAN), and GTIN-14 barcodes — checksum verification only, no product registry lookup.","exampleAgentPrompt":"Can you check if the barcode 5901234123457 is a valid GTIN — just verify the check digit, I don't need a product lookup.","exampleUseCases":[{"title":"Catalog ingest barcode gate","prompt":"Before I add these products to my catalog, can you verify that the barcode 0614141000036 has a valid GS1 check digit?"},{"title":"E-commerce UPC validation","prompt":"I'm importing a product feed and one of the UPCs is 012345678905 — can you check if that's a valid UPC barcode?"},{"title":"Warehouse scan error detection","prompt":"A scanner just read EAN-13 code 4006381333931 — can you confirm the check digit is correct before I book it into inventory?"}],"resultDescription":"Returns a JSON object with: the GTIN kind (e.g. GTIN-13), its alias (e.g. EAN-13), a top-level valid boolean, the normalized 14-digit GTIN-14 representation, and a valid_checksum boolean confirming whether the GS1 check digit is mathematically correct.","failureModes":["Non-numeric input or wrong digit count returns invalid/error","GTIN length outside 8, 12, 13, or 14 digits is rejected","Check digit mismatch returns valid_checksum: false but still parses the kind","Malformed JSON body or missing gtin field returns 4xx error","Network or payment failure (402) if USDC payment not attached"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001) checksum-only gate before ingesting barcodes into a product catalog or database — it does not perform a product registry lookup, so it is ideal for bulk validation pipelines where you only need to confirm the GS1 check digit is mathematically correct for GTIN-8, UPC (GTIN-12), EAN (GTIN-13), or GTIN-14 codes.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:56:52.240Z","isFirstParty":false}