# Agent402 UK Batch Validation

> Agent402 UK Batch Validation is a paid API for AI agents from agent402.co.uk, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Validates up to 50 email addresses, IBANs, phone numbers, Luhn card numbers, or JSON schemas in a single batched x402-paid call with per-item partial success reporting.

## Facts

- Endpoint: POST https://agent402.co.uk/v1/validate/batch
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-uk-batch-validation-8b105b1f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EE5vlMFgsOWceqfc2rpHs

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-batch-validation-8b105b1f -d '<json body>'
```

Example prompt: Before I submit these 20 new user sign-ups, validate all their email addresses and phone numbers in one batch — flag any that fail and give me a summary of how many passed.

## When to prefer this

Prefer this endpoint over single-item validation endpoints when you need to validate 5 or more items, especially of mixed types (email + IBAN + phone + Luhn + JSON schema). It is more cost-efficient than N sequential calls and returns partial per-item results so one failure does not block the rest.

## Known failure modes

- Array exceeds 50 items — request rejected
- Malformed item missing required 'op' field — per-item error returned
- Invalid IBAN format that cannot be parsed — item marked failed with reason
- stop_on_error=true causes early termination after first failing item
- Payment failure via x402 — entire request not processed
- Unsupported op type — item returns 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

A JSON object containing a 'results' array with one entry per input item, each showing the operation type, a boolean 'ok' flag, and operation-specific validity details. Also includes a 'summary' object with total, succeeded, and failed counts across the batch.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "items": {
   "type": "array",
   "description": "1-50 ops; each needs op + fields (email|iban|luhn|phone|json-schema)"
  },
  "stop_on_error": {
   "type": "boolean",
   "description": "Stop after first item error (default false)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "results": [
   {
    "ok": true,
    "op": "email",
    "result": {
     "valid_syntax": true
    }
   }
  ],
  "summary": {
   "total": 3,
   "failed": 0,
   "succeeded": 3
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-batch-validation-8b105b1f/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)
