# Axiom Works UK Postcode Structural Validator

> Axiom Works UK Postcode Structural Validator is a paid API for AI agents from api.axiomworks.co.uk, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-13).

Validates whether a UK postcode conforms to Royal Mail structural format rules — offline check, not a deliverability or geocoding lookup.

## Facts

- Endpoint: GET https://api.axiomworks.co.uk/uk-postcode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/axiom-works-uk-postcode-structural-validator-11245116
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_URx2AgTmG6B5VwquBMUKT

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 axiom-works-uk-postcode-structural-validator-11245116
```

Example prompt: Can you check whether 'SW1A 2AA' is a structurally valid UK postcode — just the format check, not whether it's actually deliverable?

## When to prefer this

Use this endpoint when you only need to verify that a postcode string is structurally correct per Royal Mail format rules — e.g. for form validation, data cleansing, or pre-filtering before a more expensive geocode or deliverability lookup. At $0.001 per call it is the cheapest option; for live geography, crime data, or geolocation use /uk-area ($0.005); for property price history use /uk-property ($0.01).

## Known failure modes

- Missing or empty postcode parameter returns an error
- Postcodes that look valid but use non-UK formats (e.g. US ZIP codes) will fail validation
- Network or payment (x402) failure may prevent the call completing
- Postcodes with unusual encodings or special characters may return unexpected results

## How this service works

Offline UK postcode structural validate (Royal Mail format only — not assigned/deliverable/geocode). Distinct from /uk-area and /uk-property. Path alias /uk-postcode/{postcode}. Example: {postcode:"SW1A 2AA"}. $0.001. Related: Live geography/crime/FSA: /uk-area $0.005; Price Paid: /uk-property $0.01; phone: /phone $0.001; email: /email-check $0.002; KYB: /kyb $2.50.

## Output

Returns a structural validation result indicating whether the supplied postcode string conforms to Royal Mail UK postcode format rules. Does not confirm the postcode is assigned, deliverable, or geocodable — purely a format/syntax check.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "postcode"
     ],
     "properties": {
      "postcode": {
       "type": "string",
       "description": "UK postcode to validate (spaces/hyphens ok), e.g. SW1A 2AA"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/axiom-works-uk-postcode-structural-validator-11245116/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.axiomworks.co.uk](https://www.zero.xyz/host/api.axiomworks.co.uk/llms.txt)
