{"uid":"cap__cjL5QRfsSlYPsxOQKvt4","slug":"foundry-barcode-validator-8e1a2a3f","name":"Foundry Barcode Validator","description":"Barcode validator: EAN-8, UPC-A, EAN-13 and GTIN-14 check digits. Input: barcode digits.","url":"https://minty-sprout.onrender.com/v1/barcode-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"string","maxLength":8000,"description":"8, 12, 13 or 14 digits"}}},"responseSchema":{"type":"json","example":{"code":"4006381333931","type":"EAN-13","valid":true,"gs1_prefix":"400","check_digit":1,"expected_check_digit":1}},"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_jjh_OSWV6L0kfKyFFTJcH","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 barcodes by verifying check digits and identifying barcode type.","exampleAgentPrompt":"Can you check if the barcode 4006381333931 is valid and tell me what type it is?","exampleUseCases":[{"title":"E-commerce product listing validation","prompt":"Before I add this product to my store, can you validate the barcode 012345678905 to make sure the UPC-A check digit is correct?"},{"title":"Retail inventory data cleanup","prompt":"I have a batch of EAN-13 codes from my supplier — can you start by checking whether 5901234123457 is a valid barcode?"},{"title":"Label printing preflight check","prompt":"I'm about to print product labels with GTIN-14 code 10012345678902 — can you verify it's a valid barcode before I send it to the printer?"}],"resultDescription":"A JSON object containing the submitted barcode code, its detected type (EAN-8, UPC-A, EAN-13, or GTIN-14), a boolean validity flag, the GS1 prefix, the actual check digit from the input, and the expected check digit — so you can immediately see whether the barcode is correct and why.","failureModes":["Non-numeric input returns an error","Barcode length not matching any supported format (not 8, 12, 13, or 14 digits) returns an error","Missing input field causes a validation error","Transient server unavailability on Render.com free tier may cause cold-start delays or 502 errors"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call barcode check digit validator without integrating a full GS1 or product database. Ideal for agents doing data quality checks on product codes before listing, printing, or ingesting into a catalog, especially when you only need format/check-digit validity rather than product lookup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-01T06:57:43.894Z","isFirstParty":false,"canonicalSlug":"foundry-barcode-validator-8e1a2a3f"}