Enter a postcode
Type the postcode, choose Find, and pick from every address at that postcode.
Try it here. Enter a UK postcode and the live service lists the addresses. Pick one and the form fills. Typing a partial address instead? Lookahead search 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.
Filled from the address you picked
Live UK addresses. No account needed to try it.
Both methods use the same ePostcode API and the same credits. This page is the postcode method. Lookahead search is the other.
Type the postcode, choose Find, and pick from every address at that postcode.
Lookahead search suggests matches as the customer types a building, street or town. Open the address validation page.
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.
Enter the postcode and return the premises. Lookahead search, where the customer types a partial address, is on the address validation page.
Access to the complete UK address database with over 30 million addresses including residential, commercial, and new build properties.
The customer enters a postcode. ePostcode returns the premises at that postcode so they can pick the right one.
Ultra-fast postcode lookups with response times under 100ms, globally distributed infrastructure, and 99.9% uptime guarantee.
Easy-to-integrate RESTful API with comprehensive documentation, code examples, and client libraries for all major platforms.
Royal Mail Postcode Address File (PAF) licensed data ensuring the highest quality, accuracy, and up-to-date address information.
Enterprise-grade security with HTTPS encryption, GDPR compliance, and secure data handling practices.
Powerful features designed for developers
Enter a postcode such as BS1 4DJ and retrieve the addresses at that postcode, with optional UPRN and coordinates on the premise you select.
Lookahead search suggests matches from a partial address, then fills the form. It is the same API. See it on the address validation page.
Get latitude and longitude coordinates for every address, enabling mapping, distance calculations, and location-based services.
Access comprehensive address data including postcode district, county, region, constituency, and local authority information.
Our database is updated automatically with the latest Royal Mail PAF data, ensuring you always have access to the most current address information.
Historical address data retained for audit trails and compliance purposes, with full versioning and change tracking capabilities.
Credits last for up to 3 years. The more you buy, the more you save. Above 1,000,000 lookups, please call.
Checkout, CRM and the other forms that already ask for a postcode. Enter it, pick the premises, and the address fields fill.
The customer enters the postcode at checkout and picks the delivery address. The lines fill before the order is placed, so the despatch address matches the PAF file.
Add the lookup to the account screen. Staff type a postcode and the address lands in the same CRM fields on every record.
Quote, policy and application forms that collect a postcode get a complete UK address back in one step.
Capture the postcode when the order is taken, so the delivery address is complete before the label is printed.
The agent asks for the postcode, confirms the premises, and the screen fills while the customer is still on the line.
Application and service forms that ask for a postcode return the matching addresses from the Royal Mail PAF file.
Get started in minutes with our simple RESTful API
Base URL:
https://wsp.epostcode.com/uk/v1/
// cURL Request - Open Search (keywords)
curl -X GET "https://wsp.epostcode.com/uk/v1/Search?key=YOUR_API_KEY_HERE&phrase=mossland%20road&opensearch=true"
// cURL Request - Exact Postcode
curl -X GET "https://wsp.epostcode.com/uk/v1/Search?key=YOUR_API_KEY_HERE&phrase=G524XZ&opensearch=false"
// JavaScript (Fetch)
fetch('https://wsp.epostcode.com/uk/v1/Search?key=YOUR_API_KEY_HERE&phrase=mossland%20road&opensearch=true')
.then(response => response.json())
.then(data => {
console.log(data);
// Access items array
data.items.forEach(item => {
console.log(item.text); // Address summary
if (item.type === 'Premise') {
// Single address - can get full details
fetchPremiseDetails(item.key);
} else if (item.type === 'Group') {
// Multiple addresses - search again with this key
}
});
})
.catch(error => console.error('Error:', error));
// JSON Response - Search Endpoint (Open Search)
{
"items": [
{
"key": "G52 4XZ",
"text": "Mossland Road, Hillington Park, Glasgow, G52 4XZ - 24 Addresses",
"type": "Group"
},
{
"key": "ST3 5AB",
"text": "Mossland Road, Stoke-on-Trent, ST3 5AB - 26 Addresses",
"type": "Group"
}
]
}
// JSON Response - Search Endpoint (Exact Postcode)
{
"items": [
{
"key": "52502003",
"text": "Merlin House, 20 Mossland Road, Glasgow, G52 4XZ",
"type": "Premise"
},
{
"key": "52502004",
"text": "22 Mossland Road, Glasgow, G52 4XZ",
"type": "Premise"
}
]
}
// Get Detailed Data for a Premise
// Use the 'key' from Premise results to get full address details
GET /GetPremise?key=YOUR_API_KEY&id=52502003
// JSON Response - GetPremise Endpoint (Default)
{
"item": {
"id": "52502003",
"domesticId": "52502003",
"buildingName": "Merlin House",
"buildingNumber": 20,
"street": "Mossland Road",
"district": "Hillington Park",
"city": "Glasgow",
"company": "Etellect Ltd",
"postalCode": "G52 4XZ",
"countryName": "Scotland",
"province": "Renfrewshire",
"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
// JSON Response - With UPRN
{
"item": {
"id": "52502003",
"lat": "55.863168",
"long": "-4.379078",
"uprn": "123105666", // ✓ UPRN included (+1 credit)
"udprn": "52502003",
// ... other address fields
}
}
ePostcode is used by hundreds of companies in the UK that are already benefitting from the best value address management service available.