# Polish REGON Number Validator

> Polish REGON Number Validator is a paid API for AI agents from x402-test.crewofthecaptain.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Validates the format and checksum of a Polish REGON business registry number via pay-per-call micropayment

## Facts

- Endpoint: POST https://x402-test.crewofthecaptain.com/api/validate/pl-regon?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polish-regon-number-validator-a9c136f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2D7b8dociJaF3BCuCwhTH

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 polish-regon-number-validator-a9c136f9 -d '<json body>'
```

Example prompt: Can you check whether the REGON number 123456785 is valid for a Polish business I'm onboarding?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-use validation of Polish REGON numbers without signing up for a subscription API. It is ideal for agents handling Polish KYB (Know Your Business) workflows, e-commerce checkout validation, or data quality pipelines where REGON correctness is required. At $0.001 per call it is cost-effective for low-to-medium volume spot checks.

## Known failure modes

- Invalid or malformed input string returns valid:false with a reason describing the checksum or format error
- Empty or missing 'value' field may return a 400-level error
- Payment failure via x402 (insufficient USDC balance) blocks the call with a 402 response
- Non-REGON strings (e.g. letters, wrong length) return valid:false with format error reason

## How this service works

Format and checksum validation for IBAN, EU VAT, Polish NIP/REGON/PESEL and email, pay-per-call via x402. Only $0.001 (0.1 cent) per check, paid via x402 in USDC on Base.

## Output

Returns a JSON object with a 'valid' boolean, a 'type' field set to 'pl-regon', a human-readable 'reason' string (e.g. 'ok' or a description of why it failed), and a 'normalized' version of the REGON string if valid.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "value": {
   "type": "string",
   "maxLength": 512
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "pl-regon",
  "valid": true,
  "reason": "ok",
  "normalized": "…"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polish-regon-number-validator-a9c136f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-test.crewofthecaptain.com](https://www.zero.xyz/host/x402-test.crewofthecaptain.com/llms.txt)
