{"uid":"cap_oaWoZIgEbZNRJKW3U96p5","slug":"ean-barcode-checksum-validator-753d8613","name":"EAN Barcode Checksum Validator","description":"EAN-8 or EAN-13 barcode checksum validation (auto-detected by length).","url":"https://x402.agentindex.world/validate/ean?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"code":{"type":"string","title":"Code","pattern":"^[0-9]{8}$|^[0-9]{13}$"}}},"responseSchema":{"type":"json","example":{"valid":true,"format":"EAN-13"}},"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_43h1ndtGZYj5i5dHpIYwY","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 checksum of an EAN-8 or EAN-13 barcode, auto-detecting the format by digit length.","exampleAgentPrompt":"Can you check if the barcode 5901234123457 has a valid EAN-13 checksum?","exampleUseCases":[{"title":"Pre-import product catalog validation","prompt":"Before I import these product records, can you validate the barcode 4006381333931 to make sure the EAN-13 checksum is correct?"},{"title":"E-commerce listing integrity check","prompt":"I'm about to publish a new product listing — can you verify that the barcode 96385074 is a valid EAN-8 code?"},{"title":"Warehouse scan error detection","prompt":"Our scanner just read the code 1234567890128 — can you confirm whether that's a valid EAN-13 barcode or if it might be a scan error?"}],"resultDescription":"Returns whether the provided EAN-8 or EAN-13 barcode has a valid checksum, with the format auto-detected by the length of the digit string (8 or 13 digits).","failureModes":["Invalid digit count (not 8 or 13 digits) causes rejection per schema pattern","Non-numeric characters in the code string cause validation failure","Correct length but invalid checksum returns a failed validation result","Missing 'code' parameter causes a bad request error"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap, stateless checksum verification for EAN-8 or EAN-13 barcodes — ideal for pre-processing pipelines, catalog imports, or scanning workflows where you want to catch corrupted or manually-entered codes before database insertion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T06:46:02.301Z","isFirstParty":false,"canonicalSlug":"ean-barcode-checksum-validator-753d8613"}