{"uid":"cap_FHV7IHrq_wCpTsJFPXv4R","slug":"upc-a-luhn-check-6f2e4f28","name":"UPC-A Luhn Check","description":"Call when an agent needs whether a 12-digit UPC-A passes Luhn. Send JSON {\"value\":\"123\"}. Exact $0.009 USDC on Base. Try unpaid POST /v1/sandbox/check-upc-a first.","url":"https://agentshelf.syntexa.ch/v1/check-upc-a?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.009","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.009/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_mQXGFweCBlQkifTLEww-f","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates whether a 12-digit UPC-A barcode passes the Luhn (check digit) algorithm","exampleAgentPrompt":"Can you check whether the barcode 012345678905 is a valid UPC-A — does it pass the Luhn check digit test?","exampleUseCases":[{"title":"Validate scanned product barcode","prompt":"I just scanned a barcode that reads 036000291452 — can you tell me if that's a valid UPC-A number before I add it to my product catalog?"},{"title":"Catch typos in entered UPC codes","prompt":"A user manually typed in 012345678901 as a UPC-A code — can you verify if the check digit is correct so we don't store a bad barcode?"},{"title":"Bulk inventory data quality check","prompt":"We received a product feed with UPC-A code 085392132225 — can you validate that barcode passes the Luhn algorithm before we import it into our system?"}],"resultDescription":"A pass/fail boolean or equivalent indicating whether the provided 12-digit UPC-A string has a valid Luhn check digit, confirming or rejecting the barcode's structural integrity.","failureModes":["Input is not exactly 12 digits — returns invalid or error","Non-numeric characters in the input cause a validation error","Empty or missing value field returns a bad request error","String exceeds maxLength of 20000 (unlikely for UPC-A but schema-enforced)","Payment failure (insufficient USDC) blocks the request with a 402 response"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic, server-side Luhn validation of a 12-digit UPC-A barcode — particularly in agentic pipelines where you want an external authoritative check rather than local computation. Prefer the free sandbox endpoint POST /v1/sandbox/check-upc-a for testing or non-production use to avoid the $0.009 USDC charge.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T18:52:00.073Z","isFirstParty":false,"canonicalSlug":"upc-a-luhn-check-6f2e4f28"}