# Public Registry ID Shape Validator

> Public Registry ID Shape Validator is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Validates the structural shape of common registry identifiers (LEI, WMI, EIN-like) and returns a kind guess and validity flag without external lookups.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/public-registry-id-shape
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/public-registry-id-shape-validator-cbba8067
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8GqISlks3ZX6ci4AP1rHZ

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 public-registry-id-shape-validator-cbba8067 -d '<json body>'
```

Example prompt: Can you check whether '549300TRUWOKKFP1U49' has a valid LEI shape before I try to look it up in the registry?

## When to prefer this

Use this endpoint as a lightweight preflight check before making expensive or rate-limited registry API calls (GLEIF, USPTO, IRS, NHTSA, etc.). It is best when you need fast, free-form validation of identifier shape without needing real registry confirmation. Prefer this over live registry lookups when you just need format correctness, want to avoid wasting quota on malformed IDs, or need to classify an identifier type before routing it to the right downstream system.

## Known failure modes

- Missing or empty 'value' field returns validation error
- Ambiguous identifier formats may produce low-confidence kind_guess
- Identifiers that match no known registry pattern may return kind_guess as null or unknown
- Structural validity does not guarantee the ID exists in any actual registry — only format is checked

## How this service works

Validate shape of common registry IDs (LEI/WMI/EIN-like). Call when preflight before registry lookups. Returns kind_guess and valid_shape as deterministic JSON for $0.001 USDC via x402 on Base. First-party local math only—no RPC, live market feed, API keys, storage, or mediagen. Advisory only; the caller owns capital, risk, and production controls.

## Output

Returns a JSON object with 'kind_guess' indicating the detected identifier type (e.g. LEI, WMI, EIN) and 'valid_shape' as a boolean indicating whether the string matches the structural pattern for that identifier type. Result is deterministic and computed locally with no external registry calls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "description": "Registry identifier string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-public-registry-id-shape/v1",
  "kind_guess": "lei",
  "valid_shape": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/public-registry-id-shape-validator-cbba8067/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
