Transparency and data quality

PostcodeLab Data Methodology and Sources

A useful test-data tool should explain where each field comes from, what the result can prove, how it reduces risk and which limitations remain. This page documents those boundaries for PostcodeLab.

By · Published · Updated

PostcodeLab Data Methodology and Sources visual guide cover

How a record is assembled

Each request selects one postal string from a private UK address dataset. In parallel, PostcodeLab requests a UK-oriented synthetic name from RandomUser; if that dependency is unavailable, it chooses from a local fallback pool with more than 50,000 first-name and surname combinations.

The service independently creates a disposable test email and a masked mobile pattern. No source record is used to infer the name, gender label, email or telephone information, so those identity fields must never be interpreted as describing an occupant, owner or organisation at the address.

Address fields and data minimisation

The private source may contain operational metadata, but the public response uses an allowlist. It can expose the full postal string and common address components such as address lines, town, county, postcode and country; internal identifiers and source notes are discarded.

Address data may be incomplete, historic, duplicated or no longer deliverable. A map preview is a visual integration check, not evidence of postal deliverability, ownership, occupancy or identity. See the guide to postcode validation versus address verification before choosing a production validation method.

Mobile range method

The mobile pattern starts with a five-digit prefix from a curated snapshot of Ofcom-allocated mobile blocks covering 073, 074, 075, 077, 078 and 079 ranges. The current snapshot was reviewed on 8 July 2026.

Three random digits are shown after the prefix and the final three digits are replaced with XXX. The output therefore preserves a useful interface shape without presenting a complete diallable number. Personal-number 070, paging 076 and the separate 07700 drama range are not mixed into the allocated-prefix list.

Storage, caching and suppression

Application code does not persist generated name-address combinations. An isolated Worker may hold the address dataset in memory temporarily to avoid repeatedly reading the same object. API responses are private and non-cacheable, while editorial pages and versioned assets use separate cache policies.

People can request that an address stop appearing through the address suppression process. Accepted requests are stored in a private suppression list and excluded whenever the address cache refreshes. Public API output never exposes the suppression list.

Review and change control

  • Prefix allocation data is reviewed against Ofcom numbering publications.
  • Automated tests verify allowlisted API fields, masking, rate limiting and suppression.
  • Editorial guidance links to primary UK government, regulator or standards sources.
  • Sitemap modification dates are changed only when the corresponding page changes.
  • Material methodology changes should update this page and its visible review date.

Official references