{"uid":"cap_ewx7o2C52ZMOWOFPT422H","slug":"agentshield-live-upc-a-check-digit-calculator-d225033a","name":"agentshield.live UPC-A Check Digit Calculator","description":"Call when an agent has a 12-digit UPC-A and needs the GS1 check digit. Not a product or a price.","url":"https://agentshield.live/upc?utm_source=zero.xyz","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":["code"],"properties":{"code":{"type":"string","description":"12-digit UPC-A. Spaces allowed."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"known":true,"valid":true,"length":12,"check_digit":"5"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fLq5UVqyE7PGhEj8GXbXh","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the GS1 check digit (13th digit) for a given 12-digit UPC-A barcode number","exampleAgentPrompt":"What is the GS1 check digit for the 12-digit UPC-A code 012345678905?","exampleUseCases":[{"title":"Barcode label generation pipeline","prompt":"I'm printing product labels and need the check digit for the 12-digit UPC-A code 614141000036 — what digit do I append to make it a valid barcode?"},{"title":"E-commerce product data validation","prompt":"Can you compute the GS1 check digit for UPC-A code 012345678905 so I can verify my product catalog entries are correct?"},{"title":"Retail inventory system integration","prompt":"I have the 12-digit UPC-A 075678164125 and need to know the check digit before I submit it to our inventory system."}],"resultDescription":"Returns the single GS1 check digit (0–9) for the provided 12-digit UPC-A code, computed using the standard Luhn-based GS1 algorithm. The response does not include product information, pricing, or any other data — only the check digit value itself.","failureModes":["Input is not exactly 12 digits — returns an error","Input contains non-numeric characters (beyond allowed spaces) — returns an error","Input is a GTIN-13, GTIN-8, or other barcode format rather than UPC-A — may return incorrect result or error; use the sibling GTIN endpoint instead","Network or service unavailability — returns a 5xx error"],"whenToPreferThis":"Use this endpoint when you specifically have a 12-digit UPC-A and need only the GS1 check digit computed. If you have a GTIN-8, GTIN-13, or GTIN-14 instead, use the sibling GTIN endpoint. Do not use this endpoint if you need product information, pricing, or to look up what product a UPC corresponds to — this is purely a check digit computation service.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T12:35:39.277Z","isFirstParty":false,"canonicalSlug":"agentshield-live-upc-a-check-digit-calculator-d225033a"}