# Diners Club Card Number Luhn Validator

> Diners Club Card Number Luhn Validator is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Validates whether a card number passes the Luhn algorithm and matches the Diners Club card format

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/check-card-diners?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/diners-club-card-number-luhn-validator-f31f4018
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WIAHKeTHx16j6HsufnYHc

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 diners-club-card-number-luhn-validator-f31f4018 -d '<json body>'
```

Example prompt: Can you check if the number 30569309025904 is a valid Diners Club card — run the Luhn check and confirm it matches the Diners Club format?

## When to prefer this

Use this endpoint when you need a stateless, privacy-safe validation of a Diners Club card number that checks both the Luhn algorithm and card-network format match. Prefer the free sandbox endpoint POST /v1/sandbox/check-card-diners for testing before paying. Choose this over generic Luhn-only validators when Diners Club network format compliance matters.

## Known failure modes

- Missing or empty value field returns a validation error
- Value exceeds 20000 character limit
- Non-numeric or malformed input may fail Luhn parsing
- Network timeout or service unavailability returns a 5xx error
- Submitting a non-Diners Club card number (e.g. Visa) will return Luhn pass but format mismatch

## How this service works

Call when an agent needs whether a number passes Luhn and matches diners. Nothing is stored. Exact $0.002 USDC. Prefer unpaid POST /v1/sandbox/check-card-diners first.

## Output

Returns whether the submitted number passes the Luhn algorithm checksum and whether it matches the Diners Club card number format (prefix and length rules), with no data retained after the check.

## 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": [
    "411111"
   ],
   "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/diners-club-card-number-luhn-validator-f31f4018/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)
