# EAN-13 Barcode Luhn Check

> EAN-13 Barcode Luhn Check is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.007/call, status unknown (last checked 2026-10-02).

Validates whether a 13-digit EAN barcode passes the Luhn (check digit) algorithm

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-ean-13?utm_source=zero.xyz
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/ean-13-barcode-luhn-check-b12fa32e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_GL4iDBLbafqyUcqMZSxYt

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability ean-13-barcode-luhn-check-b12fa32e -d '<json body>'
```

Example prompt: Can you check if this EAN-13 barcode number 4006381333931 is valid — specifically whether its check digit passes the Luhn algorithm?

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

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.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/ean-13-barcode-luhn-check-b12fa32e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
