# PrepLayer.ai Identifier Validator

> PrepLayer.ai Identifier Validator is a paid API for AI agents from api.maximusmediahouse.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Validates and canonicalizes a single identifier (email, URL, phone, IBAN, payment card, UUID, SHA-256, git SHA, EVM address, or domain) and returns its validity, canonical form, and fingerprint.

## Facts

- Endpoint: POST https://api.maximusmediahouse.com/v1/validate?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/preplayer-ai-identifier-validator-f648df3c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KeZbflvTTQSWwICSyAbrj

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 preplayer-ai-identifier-validator-f648df3c -d '<json body>'
```

Example prompt: Can you check whether this email address is valid and give me its canonical form: 'User.Name+tag@Example.COM'?

## When to prefer this

Choose this endpoint when you need fast, deterministic, rule-based validation with canonicalization — especially for identifiers like IBANs (mod-97), payment cards (Luhn), EVM addresses (EIP-55), or E.164 phones where checksum correctness matters. Prefer it over regex-only validators when you also need the canonical normalized form and a fingerprint for deduplication. It covers 10 distinct identifier types in a single, cheap API call at $0.002.

## Known failure modes

- Invalid 'kind' enum value returns a 400 error
- Value exceeds 512 character limit
- Malformed JSON request body
- Identifier structurally invalid but well-formed input still returns valid:false gracefully
- x402 payment failure if USDC balance insufficient
- Network timeout or 5xx on provider side

## How this service works

Validate and canonicalize one identifier: email, URL, E.164 phone, IBAN (mod-97), payment card (Luhn), UUID, SHA-256, git SHA, EVM address (EIP-55) or domain. Returns {valid, canonical, fingerprint}.

## Output

Returns a JSON object with three fields: 'valid' (boolean indicating whether the identifier passes all format and checksum rules), 'canonical' (the normalized, standardized form of the identifier), and 'fingerprint' (a stable hash or fingerprint of the canonical value for caching and deduplication).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "kind": {
   "enum": [
    "email",
    "url",
    "phone_e164",
    "iban",
    "card_luhn",
    "uuid",
    "sha256",
    "git_sha",
    "evm_address",
    "domain"
   ],
   "type": "string",
   "description": "Identifier type."
  },
  "value": {
   "type": "string",
   "description": "The identifier to validate (max 512 chars)."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/preplayer-ai-identifier-validator-f648df3c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.maximusmediahouse.com](https://www.zero.xyz/host/api.maximusmediahouse.com/llms.txt)
