Type a partial address

Lookahead Address Search

Try it here. Type any part of a UK address and the live service narrows the suggestions. Pick one and the form fills. Entering a postcode instead? Postcode lookup is the same service and the same credits.

ePostcode is used by hundreds of companies in the UK that are already benefitting from the best value address management service available.

Suggestions appear as you type. Live UK addresses, no account needed.

30M+ UK addresses
99.9% Validation accuracy
Sub-50ms Typical response
PAF Royal Mail licensed
Same service, two searches

Two ways to find a UK address

Both methods use the same ePostcode API and the same credits. This page is lookahead search. Postcode lookup is the other.

Also on this service

Enter a postcode

Type the postcode, choose Find, and pick from every address at that postcode. Open the postcode lookup page.

This page

Type a partial address

Lookahead search suggests matches as the customer types a building, street or town, then fills the form.

Search aheadEach character narrows the suggestions. A street, building or town is enough to start.
Fewer bad addressesThe customer picks a PAF match instead of typing a line that will not deliver.
Form fills itselfLine 1, line 2, town, county and postcode come back on the address they select.
Location includedLatitude and longitude are included. UPRN is optional.
Royal Mail PAF30 million+ residential, commercial and rural UK addresses.
Multiple ResidenceOptional file for buildings with more than one residence.
Not Yet BuiltOptional file for addresses that are not yet on PAF.
Ordnance Survey UPRNUnique Property Reference Number, one extra credit when you ask for it.
GeocodingLatitude and longitude returned with the premise.
BFPO and PO BoxesForces post and Post Office boxes sit in the same UK file.

Multiple Residence and Not Yet Built are optional. Bureau cleansing for a whole file is on the data cleansing page. The search methods above use the same live service.

How it works

Lookahead search in three steps

The customer types part of an address. Suggestions narrow, then the address they pick fills the form.

Type a partial address

A building name, street or town is enough. The same API call is what checkout, CRM and onboarding forms already send.

Suggestions narrow

Each new character returns a shorter list. Each suggestion shows the address summary with its locality and postcode.

The form fills

The selected premise returns line 1, line 2, town, county and postcode, plus latitude and longitude. UPRN is optional.

Features

Lookahead search on the UK address file

Type a partial address and let the form fill. Entering a postcode instead uses the same service on the postcode lookup page.

Lookahead search

Suggestions appear from a partial address, with the locality and postcode on each row, before a single full address is stored.

  • Search ahead as you type
  • Building, street or town
  • One click fills the form

30M+ UK address dataset

Residential, commercial and new-build coverage from Royal Mail PAF-licensed source data.

  • 30M+ addresses
  • Regular updates
  • PAF certified quality

Standardisation & parsing

Normalise free-text addresses into structured components ready for databases and forms.

  • Building, street, town, postcode
  • Consistent formatting
  • Cleaner CRM records

Production performance

Low-latency API responses with resilient infrastructure for high-volume validation workloads.

  • Sub-50ms typical response
  • Global CDN delivery
  • 99.9% uptime target

Simple API integration

RESTful endpoints, clear documentation and examples so engineering teams can ship quickly.

  • REST + JSON
  • SDKs & samples
  • Secure API keys

Security & compliance

Enterprise-ready controls with HTTPS encryption, GDPR-aligned handling and ISO certifications.

  • HTTPS encryption
  • GDPR aligned
  • ISO 9001 & 27001
Capabilities

What comes back with the address

The suggestion the customer picks is a full premise, with the checks and fields a form needs

Deliverability check

Verify addresses are deliverable by Royal Mail to reduce failed deliveries and returns.

Format validation

Confirm structure and components align with Royal Mail address standards.

Component parsing

Split free-text into building, street, town, county and postcode fields for storage.

Duplicate detection

Surface similar or repeated addresses so your database stays clean and unique.

Geocoding included

Latitude and longitude returned free with premise details for mapping and logistics.

Audit-friendly results

Structured responses and match quality data support QA, compliance and support workflows.

Pricing

Pay As You Go, from 3.5p to 2.3p

Credits last for up to 3 years. The more you buy, the more you save. Above 1,000,000 lookups, please call.

See pricing
Solutions

Where lookahead search belongs

Checkout and CRM forms where someone starts typing an address. Suggestions appear, they pick the premises, and the fields fill.

Checkout

Suggestions appear as the customer types a street or building. They pick the address and the checkout fields fill, including flats and other multi-occupancy premises on the file.

CRM

A partial address typed into the account form returns the matching premises, written into the same CRM fields every time.

Mobile signup

A few characters are enough on a phone. The customer picks the address instead of typing every line.

Applications

Insurance, finance and account applications take a partial address and return the premises for the record.

Returns and address books

Saved addresses and returns labels start from the part of the street the customer remembers.

Same service as postcode lookup

Lookahead and postcode search share the API and the credits. Use whichever question the form already asks.

Developers

Easy API integration

Ship lookahead search in minutes with a simple RESTful API

API features

  • RESTful API - simple HTTP requests
  • JSON responses - structured validation results
  • Lookahead - suggestions from a partial address
  • Secure - HTTPS with API key auth
  • Confidence scores - match quality ratings
  • SDK libraries - for major languages

Base URL

https://wsp.epostcode.com/uk/v1/
View full documentation
Example API Request
// Search for Address to Validate
curl -X GET "https://wsp.epostcode.com/uk/v1/Search?key=YOUR_API_KEY_HERE&phrase=10%20Downing%20Street%20London&opensearch=true"

// JavaScript (Fetch)
fetch('https://wsp.epostcode.com/uk/v1/Search?key=YOUR_API_KEY_HERE&phrase=10 Downing Street London&opensearch=true')
.then(response => response.json())
.then(data => {
  console.log(data);
  // Validate address match
  if (data.items && data.items.length > 0) {
    const validAddress = data.items[0];
    console.log('Valid:', validAddress.text);
    console.log('Type:', validAddress.type); // 'Premise' or 'Group'
    
    // If it's a premise, get full details
    if (validAddress.type === 'Premise') {
      fetch(`https://wsp.epostcode.com/uk/v1/GetPremise?key=YOUR_API_KEY_HERE&id=${validAddress.key}`)
      .then(response => response.json())
      .then(premiseData => {
        console.log('Address:', premiseData.item);
        console.log('Lat/Long:', premiseData.item.lat, premiseData.item.long); // FREE
      });
    }
  }
});

// JSON Response - GetPremise (Default - lat/long FREE)
{
  "item": {
    "id": "52502003",
    "buildingName": "Merlin House",
    "street": "Mossland Road",
    "city": "Glasgow",
    "postalCode": "G52 4XZ",
    "lat": "55.863168",    // ✓ Latitude included FREE
    "long": "-4.379078"    // ✓ Longitude included FREE
  }
}

// To include UPRN data, add uprn=true (+1 extra credit)
// GET /GetPremise?key=YOUR_API_KEY&id=52502003&uprn=true
{
  "item": {
    "id": "52502003",
    "lat": "55.863168",
    "long": "-4.379078",
    "uprn": "123105666",   // ✓ UPRN included (+1 credit)
    "udprn": "52502003"
  }
}

Ready to improve address accuracy?

ePostcode is used by hundreds of companies in the UK that are already benefitting from the best value address management service available.

30M+ UK addresses
99.9% Accuracy rate
Sub-50ms Typical response