Step 1: Start typing an address, postcode, or street name (e.g., "10 Downing Street", "SW1A 2AA", or "Mossland Road")
Step 2: Select a Group to see all addresses at that postcode, or select a Premise to view full address details
Step 3: Click any result to see complete address information including geocoding data
Only 1 credit per search session •
Session = searches within 60 seconds with same first 3 characters •
Group selections and viewing details = FREE •
Geocoding (lat/long) included FREE •
UPRN only when requested with uprn=true (+1 credit)
This demo uses the ePostcode REST API Search endpoint with real-time requests. Every keystroke triggers a new API call, demonstrating the speed and responsiveness of our service.
• Real-time Search: Results appear as you type with sub-100ms response times
• Smart Grouping: Groups multiple addresses by postcode for efficient navigation
• Full Details: Get complete address data including free geocoding (lat/long)
• Flexible Matching: Search by postcode, street name, building number, or town
• PAF Certified: Access to 30+ million Royal Mail approved UK addresses
lookahead-search-standalone.html in a text editorYOUR_API_KEY_HERE with your actual API key (around line 726)GET https://wsp.epostcode.com/uk/v1/searchGET https://wsp.epostcode.com/uk/v1/getpremise300 on line ~767 (higher = fewer API calls, slower feel)#667eea to change the purple brand color<footer> section if not neededfieldGroups object to customize which fields appear in which categoryEverything you need to integrate lookahead search into your application
Download lookahead-search-standalone.zipPackage includes: Standalone HTML file + README with setup instructions