{"uid":"cap_GL4iDBLbafqyUcqMZSxYt","slug":"ean-13-barcode-luhn-check-b12fa32e","name":"EAN-13 Barcode Luhn Check","description":"Call when an agent needs whether a 13-digit EAN passes Luhn. Exact $0.007 USDC. Prefer unpaid POST /v1/sandbox/check-ean-13 first.","url":"https://agentshelf.syntexa.ch/v1/check-ean-13?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["123"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.007","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.007/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.007","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_U4g8ujCK54-nnw3mCLGBu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.007","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a 13-digit EAN barcode passes the Luhn (check digit) algorithm","exampleAgentPrompt":"Can you check if this EAN-13 barcode number 4006381333931 is valid — specifically whether its check digit passes the Luhn algorithm?","exampleUseCases":[{"title":"Retail product catalog validation","prompt":"I'm importing a batch of product SKUs into our catalog and need to make sure this barcode is legitimate before I add it — can you check if 5901234123457 is a valid EAN-13?"},{"title":"Manual barcode entry verification","prompt":"A warehouse worker manually typed in barcode 4012345678901 instead of scanning it — can you verify the check digit is correct so we know it wasn't mistyped?"},{"title":"E-commerce listing quality check","prompt":"Before publishing this product listing, I need to confirm the EAN-13 code 8710447304617 actually passes the Luhn check — can you validate it?"}],"resultDescription":"A boolean or pass/fail indicator showing whether the submitted 13-digit EAN string passes the Luhn check digit algorithm, confirming the barcode is structurally valid.","failureModes":["Input string is not exactly 13 digits — returns validation error","Non-numeric characters in the input cause rejection","Empty or missing value field returns a schema validation error","Payment of $0.007 USDC not provided — HTTP 402 returned; prefer free sandbox endpoint /v1/sandbox/check-ean-13 first"],"whenToPreferThis":"Use this endpoint when you need a reliable, deterministic Luhn check digit validation for EAN-13 barcodes without building your own algorithm. Prefer the free sandbox endpoint /v1/sandbox/check-ean-13 first; use this paid endpoint when the sandbox is unavailable or for production workloads requiring guaranteed uptime. Best suited for single barcode validation calls within automated pipelines.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T06:50:06.133Z","isFirstParty":false,"canonicalSlug":"ean-13-barcode-luhn-check-b12fa32e"}