{"uid":"cap_Yrrn2GjM0awxUzDS-CMmn","slug":"agent402-uk-company-number-format-validator-68ca88f0","name":"Agent402 UK Company Number Format Validator","description":"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.","url":"https://agent402.co.uk/v1/validate/uk-company-number","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"company_number":{"type":"string","description":"Company number (digits or SC/NI/… prefix)"}}},"responseSchema":{"type":"json","example":{"valid_format":true,"company_number":"00123456","jurisdiction_hint":"england-wales"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tugui7E0x7tjac6ZcTZpA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Normalises and validates UK Companies House company number format (zero-padding and SC/NI prefix handling) using pure logic, without performing a live register lookup.","exampleAgentPrompt":"Can you check whether '123456' is a valid UK Companies House number and give me the correctly formatted version?","exampleUseCases":[{"title":"Gate bad numbers before paid lookup","prompt":"Before I pay to pull a Companies House profile, can you verify that 'SC12345' is a properly formatted UK company number and tell me what it would look like normalised?"},{"title":"Bulk data cleanup pipeline","prompt":"I've got a spreadsheet column of UK company numbers that look inconsistently formatted — some are missing leading zeros and some have lowercase prefixes. Can you normalise '00123456', 'sc045678', and 'NI789' so they're all in the correct Companies House format?"},{"title":"Onboarding form validation","prompt":"A user just typed 'NI999' as their company number in our onboarding form — can you check whether that's a valid format for a UK Companies House number and return the corrected version if it needs zero-padding?"}],"resultDescription":"Returns a JSON object indicating whether the input is a valid Companies House number format (valid_format boolean), the normalised/zero-padded company number string, and a jurisdiction_hint (e.g. 'england-wales', 'scotland', 'northern-ireland') inferred from any prefix.","failureModes":["Malformed or empty input string returns valid_format: false","Prefix not recognised as a known UK jurisdiction prefix returns invalid","No live register check performed — a well-formatted but non-existent number still returns valid_format: true","Very long or obviously non-numeric strings without a valid prefix treated as invalid"],"whenToPreferThis":"Use this endpoint when you need to sanitise or normalise a raw UK company number string before passing it downstream to a paid Companies House profile lookup — it costs a fraction of a live lookup and catches formatting errors (missing zero-pads, wrong case, unknown prefixes) without consuming credits on a live register call. Prefer this over client-side regex when you need canonical normalisation logic with jurisdiction hint output.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T11:25:49.151Z","isFirstParty":false}