# Agent402 UK Data Normalizer

> Agent402 UK Data Normalizer 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).

Normalizes raw email, phone, UUID, URL, or datetime values into their canonical forms

## Facts

- Endpoint: POST https://agent402.co.uk/v1/normalize
- 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-data-normalizer-466632fd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uMkxyQoh0ljqug4M01Uer

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-data-normalizer-466632fd -d '<json body>'
```

Example prompt: Normalize this phone number '+1 (800) 555-0199' as a phone type with default country code US so I get the canonical E.164 form back.

## When to prefer this

Choose this endpoint when an agent needs a deterministic, rule-based canonical transformation of common data types (email, phone, UUID, URL, datetime) before storage, comparison, or downstream processing. It is ideal for pre-flight data cleaning in automated pipelines where consistency matters. Prefer over regex-based in-agent logic when you need reliable E.164 phone formatting with country code handling or strict ISO 8601 datetime normalization.

## Known failure modes

- Invalid or unrecognized type enum value — returns valid:false or error response
- Malformed input value that cannot be normalized — returns valid:false with original or null normalized field
- Missing required 'type' or 'value' fields — likely 4xx error
- Phone normalization fails without correct default_country_code for local numbers
- Datetime normalization fails with malformed offset format

## 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 containing the detected type, a boolean 'valid' flag indicating whether the input is well-formed, and the 'normalized' canonical string representation of the value (e.g. lowercased email, E.164 phone, uppercase UUID, encoded URL, ISO 8601 datetime).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "type": {
   "type": "string",
   "description": "email|phone|uuid|url|datetime"
  },
  "value": {
   "type": "string",
   "description": "Raw value"
  },
  "offset": {
   "type": "string",
   "description": "For datetime +HH:MM"
  },
  "default_country_code": {
   "type": "string",
   "description": "For phone"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "type": "email",
  "valid": true,
  "normalized": "ops@example.com"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-uk-data-normalizer-466632fd/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)
