# Luhn Checksum Validator

> Luhn Checksum Validator is a paid API for AI agents from x402render-u5vwpxpyua-uc.a.run.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Validates whether a number string passes the Luhn algorithm checksum, used for credit card and IMEI number verification

## Facts

- Endpoint: POST https://x402render-u5vwpxpyua-uc.a.run.app/validate-luhn
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/luhn-checksum-validator-81209fb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QFpVdWIGM0apwyGHshWvK

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 luhn-checksum-validator-81209fb0 -d '<json body>'
```

Example prompt: Can you check whether the credit card number 4532015112830366 passes the Luhn checksum validation?

## When to prefer this

Choose this endpoint when you need a lightweight, instant Luhn checksum validation for credit card numbers or IMEI identifiers without integrating a full payment processor or carrier lookup. Ideal for client-side pre-validation before submission to a payment gateway, or for verifying device identifiers in bulk.

## Known failure modes

- Non-numeric characters in the number string causing validation failure
- Empty string input returning an error
- Number string with spaces or dashes not being normalized before validation
- Service unavailable or payment failure returning a non-200 response

## How this service works

Luhn checksum validation (credit cards, IMEI)

## Output

Returns a boolean or pass/fail result indicating whether the submitted number string satisfies the Luhn checksum algorithm, used to detect common transcription errors in credit card numbers and IMEI identifiers.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "number": {
   "type": "string",
   "description": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/luhn-checksum-validator-81209fb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402render-u5vwpxpyua-uc.a.run.app](https://www.zero.xyz/host/x402render-u5vwpxpyua-uc.a.run.app/llms.txt)
