# Agent402 UK Schema Batch Validator

> Agent402 UK Schema Batch Validator is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Validates up to 30 fields of mixed types (email, phone, UUID, URL, datetime, IBAN, ETH/SOL/BTC addresses, regex, enum, range) in a single batch call for $0.001 USDC.

## Facts

- Endpoint: POST https://agent402.co.uk/v1/validate/schema-batch
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-uk-schema-batch-validator-c058465c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JPtHyPJ168_KqvlubLasZ

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 agent402-uk-schema-batch-validator-c058465c -d '<json body>'
```

Example prompt: Can you validate these three fields at once: the email 'user@example.com', the phone '+44 7911 123456', and the Ethereum address '0xAbC123...def' — and tell me if they all pass?

## When to prefer this

Choose this endpoint when you need to validate multiple heterogeneous fields in a single round-trip, especially when mixing types like emails, phone numbers, crypto addresses, and financial identifiers. It is ideal for pre-submission validation pipelines, agent output verification, and any workflow where latency and cost matter and you have up to 30 fields to check. Prefer it over single-field validators when batching saves you multiple calls.

## Known failure modes

- More than 30 fields submitted — batch limit exceeded
- Unsupported field type specified — only email, phone, uuid, url, datetime, iban, eth, sol, btc, regex, enum, range are accepted
- Malformed request body — missing required fields array
- Payment gate failure — $0.001 USDC x402 payment not provided or rejected
- Invalid regex pattern supplied for regex-type field — pattern compilation error

## How this service works

Don't burn tokens on deterministic work. Go/no-go jobs first: payout preflight, text firewall (PII/secrets), budget check — then rails, calendars, finmath. x402 USDC on Base. UK + global. agent402.co.uk — not agent402.tools. $0.001–$0.002 USDC on Base. No API keys.

## Output

Returns a JSON object with a 'kit' identifier ('schema-batch-global'), an 'all_ok' boolean indicating whether every field passed, and a 'summary' object with total, failed, and passed counts for the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "fields": {
   "type": "array",
   "description": "Array of {field,type,value} (≤30). Types: email|phone|uuid|url|datetime|iban|eth|sol|btc|regex|enum|range"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "kit": "schema-batch-global",
  "all_ok": true,
  "summary": {
   "total": 3,
   "failed": 0,
   "passed": 3
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-schema-batch-validator-c058465c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.co.uk](https://www.zero.xyz/host/agent402.co.uk/llms.txt)
