{"id":"t/uk_postcode_validate","kind":"forged","name":"uk_postcode_validate","description":"Offline structural validator for UK postal (post)codes. Normalizes input (uppercase, trims, single space before inward code) and checks it against the official outward/inward code grammar (1-2 letters + 1-2 digits/letter-digit + optional letter, space, 1 digit + 2 letters), including the special 'GIR 0AA' code. No network calls.","tags":["validator","uk","postcode","offline","address"],"method":"POST","path":"/v1/t/uk_postcode_validate","url":"https://toll402.dev/v1/t/uk_postcode_validate","specUrl":"https://toll402.dev/v1/spec/t/uk_postcode_validate","price":"$0.001","priceUsd":0.001,"available":true,"inputSchema":{"type":"object","properties":{"postcode":{"type":"string","description":"UK postcode to validate, e.g. 'SW1A 1AA'"}},"required":["postcode"],"additionalProperties":false},"example":{"postcode":"sw1a1aa"},"meta":{"creator":null,"createdAt":"2026-09-09T20:41:06.877Z","calls":6,"failures":5,"network":false,"notes":"Offline regex-based UK postcode validator: strips whitespace, uppercases, splits into outward (1-2 letters + 1-2 alphanumeric chars) and inward (digit + 2 letters) parts per official grammar, with a special case for GIR 0AA; no network calls."}}