# Toll402 REGON Validator

> Toll402 REGON Validator is a paid API for AI agents from toll402.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-29).

Validates a Polish REGON business registration number (9 or 14 digits) and returns whether it is valid

## Facts

- Endpoint: POST https://toll402.dev/v1/t/regon_validate?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/toll402-regon-validator-7f2cb4f3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_404h2fUfQjcQaQ-PBrMsO

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 toll402-regon-validator-7f2cb4f3 -d '<json body>'
```

Example prompt: Can you check if the Polish REGON number 123456789 is valid?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.001 USDC) programmatic check of a Polish REGON number's validity without requiring a full business registry lookup. It is ideal for KYB pipelines, data quality checks, or form validation where you need to confirm the structural correctness and checksum of a 9- or 14-digit REGON before further processing. Prefer this over manual checksum logic or heavier business registry API calls when speed and simplicity are priorities.

## Known failure modes

- Invalid REGON format (wrong digit count or non-numeric characters) returns ok: false
- Missing 'regon' field in request body causes a 400-level error
- Network timeout or gateway error from Toll402 infrastructure
- Payment failure via x402 if wallet has insufficient USDC balance

## How this service works

The OpenRouter for AI-agent tools: one gateway, one wallet, every capability. Built-in tools, forged tools, a global verified business directory and 2,000+ aggregated x402 services, all paid per call in USDC via x402 (HTTP 402). No signup, no API key.

## Output

Returns a JSON object with an 'ok' boolean field indicating whether the submitted REGON number is valid. A true value means the number passes structural and checksum validation.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "regon"
     ],
     "properties": {
      "regon": {
       "type": "string",
       "description": "REGON number, 9 or 14 digits, spaces allowed"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/toll402-regon-validator-7f2cb4f3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from toll402.dev](https://www.zero.xyz/host/toll402.dev/llms.txt)
