# Agent402 UK Account Number Format Validator

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

Validates the format of a UK bank account number (6–8 digits, zero-padded to 8) with optional sort code — format check only, not Vocalink modulus verification

## Facts

- Endpoint: POST https://agent402.co.uk/v1/validate/uk-account-number
- Price: $0.001/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-account-number-format-validator-90f10e36
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KoNHdwsfCiOSF7N_A0FuI

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-account-number-format-validator-90f10e36 -d '<json body>'
```

Example prompt: Before I submit this UK bank transfer, can you check whether account number 1234567 with sort code 20-00-00 is correctly formatted — and what it looks like zero-padded to 8 digits?

## When to prefer this

Use this endpoint when you need a lightweight, fast, format-only check on a UK account number before proceeding with a payment or data pipeline — especially when you do not need full Vocalink modulus validation. Ideal as a pre-flight gate in agentic payment workflows, form validation, or data onboarding where speed and cost matter. If you need full Vocalink modulus verification, look for the sibling endpoint that includes Vocalink checks in the Agent402 UK suite.

## Known failure modes

- Account number contains non-numeric characters — likely returns valid_format: false
- Account number fewer than 6 or more than 8 digits — invalid format response
- Missing account_number field — request validation error
- Sort code provided in wrong format — may be ignored or cause error
- Non-UK account number passed — will fail format check as digits are out of range

## 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 'digits' (the account number zero-padded to 8 digits as a string) and 'valid_format' (a boolean indicating whether the account number matches the expected UK format of 6–8 numeric digits). Does not perform Vocalink modulus checking.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "sort_code": {
   "type": "string",
   "description": "Optional sort code"
  },
  "account_number": {
   "type": "string",
   "description": "Account number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "digits": "12345678",
  "valid_format": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-account-number-format-validator-90f10e36/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)
