# IMEI Luhn Checksum Validator

> IMEI Luhn Checksum Validator is a paid API for AI agents from agentshield.live, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-20).

Validates the Luhn checksum of a 15-digit IMEI number and returns whether it is structurally valid.

## Facts

- Endpoint: GET https://agentshield.live/imei?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/imei-luhn-checksum-validator-ff5b4cbd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9jYqOwCCizBK5RDifxcm8

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 imei-luhn-checksum-validator-ff5b4cbd
```

Example prompt: Can you check if the IMEI 490154203237518 passes the Luhn checksum validation?

## When to prefer this

Use this endpoint when you need a fast, cheap, structural integrity check on an IMEI number using the Luhn algorithm. It does not perform a registry lookup or confirm device existence — choose it purely for checksum validation before passing the IMEI to more expensive carrier or device lookup services.

## Known failure modes

- Non-15-digit input may return invalid or error response
- Non-numeric characters in IMEI may cause failure
- Missing 'code' query parameter results in a 400-level error
- Network timeout on slow connections

## How this service works

Call when an agent has an IMEI and needs the Luhn checksum result. Does not confirm the device.

## Output

Returns a JSON object with a 'valid' boolean indicating whether the IMEI passes the Luhn checksum algorithm, and a 'known' boolean. Does not confirm the device exists or is registered with any carrier or database.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "15-digit IMEI."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "known": true,
  "valid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/imei-luhn-checksum-validator-ff5b4cbd/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshield.live](https://www.zero.xyz/host/agentshield.live/llms.txt)
