Address autocomplete
for any website.
One line of code.
Your users start typing an address. A dropdown appears. They pick it. Your form fields fill in automatically — postcode, town, address lines, even property data. No backend. No developer. No API key.
↑ These fields fill automatically when you select an address
Searching against 36M real UK addresses. No signup needed to try it.
Three steps. That's it.
No backend configuration. No API account. Copy, paste, done.
Add the script to your page <head>
One line. Loads the widget JS. No npm, no build step, no account.
<script src="https://homedata.co.uk/js/homedata-address.js" data-input="#address-field" data-field-line1="#address-line-1" data-field-postcode="#postcode" data-field-town="#town" defer ></script>
Set the IDs on your form fields
Match the IDs in the script to your actual form field IDs. That's all the configuration there is.
<!-- Address search input --> <input type="text" id="address-field" placeholder="Start typing an address…"> <!-- These fill in automatically --> <input type="text" id="address-line-1" name="address_line_1"> <input type="text" id="postcode" name="postcode"> <input type="text" id="town" name="town">
You're done. Test it.
Open your page, type a UK address, and your form fields fill in automatically. No deployment, no API key, no configuration. The widget calls our public endpoint directly from the browser — no API key needed.
Have unusual field names or a complex form?
Use the Widget Builder — configure visually →Log in to your dashboard to drag-and-drop field mappings and copy a pre-configured snippet.
What gets auto-filled
Basic address fields use the public endpoint — no API key needed. Add an API key to unlock property data on every selection.
-
Address line 114 Brook Street
-
Address line 2Mayfair
-
Town / CityLondon
-
CountyGreater London
-
PostcodeW1K 5AA
-
UPRN100023347891
-
Latitude / Longitude51.5123, -0.1432
With a free API key, every address selection also returns enriched property data. Auto-populate fields competitors can't touch.
-
Property typeTerraced
-
Bedrooms3
-
Floor area94 m²
-
EPC ratingC (73)
-
TenureFreehold
-
Council tax bandBand D
-
Last sold price£385,000
Who uses it
Anyone with a form and UK addresses. You don't need a developer.
Estate & letting agents
Add address autocomplete to your valuation request form, contact form, or property intake. Stops typos. Captures clean postcodes every time.
Solicitors & conveyancers
Clean address entry on client intake forms. Every record gets a UPRN — your permanent identifier for the property throughout the transaction.
Mortgage brokers
Type an address, auto-fill property type, bedrooms, EPC, floor area, and tenure on application forms. One address selection replaces six manual fields.
Insurance
Get construction details, EPC rating, and floor area at point of quote. Faster underwriting, fewer follow-up calls, cleaner data.
CRMs & databases
Every address entered through your CRM gets a UPRN. Deduplication, data quality, and property record matching become trivial.
Proptech platforms
Don't maintain your own address database. Point at ours. 36M addresses, always current, with enriched property data on retrieve.
Visual Widget Builder
Not sure which field IDs to use? Log in and use the Widget Builder — tell us your form field names, preview the result live, and copy a pre-configured snippet ready to paste.
- Choose preset templates: checkout form, contact form, mortgage application
- Map response fields to your form with a drag-and-drop interface
- Preview with real API calls before you copy the snippet
- Get HTML, JavaScript, and React snippets — copy one, paste in your site
<!-- Generated by Homedata Widget Builder --> <!-- Paste in your <head> --> <script src="https://homedata.co.uk/js/homedata-address.js" data-input="#property_address" data-field-line1="#street_address" data-field-line2="#address_2" data-field-town="#city" data-field-postcode="#zip_code" data-field-uprn="#uprn_hidden" defer ></script> <!-- Your form --> <input id="property_address" type="text" placeholder="Start typing address…">
Common questions
Yes. The address autocomplete widget is free to embed. Address search calls use your API quota (2 calls per search), but with the free tier's 100 calls/month you can do 50 searches — more than enough for testing. For enriched property data on each selection — bedrooms, EPC, floor area, tenure — each property lookup costs 1 additional call.
Yes. Any website where you can add a script tag to the head will work. WordPress: add to the theme's header.php or via a plugin. Webflow: Custom Code > Head Code. Squarespace: Settings > Advanced > Code Injection. If you can add raw HTML to your page head, you can use the widget.
No. The widget attaches to whichever input you point it at (via data-input selector) and fills in companion fields on selection. If no match is made, nothing happens. Your form, submit button, and validation all work exactly as before.
Yes. Use the programmatic API: HomedataAddress.init({ input: '#field', onSelect: (addr) => setState(addr) }). Or use it as a script tag — it works in any browser context regardless of framework.
The widget sends partial address queries to our API as the user types. We don't store queries or associate them with users. Responses are served from our UK-hosted infrastructure. See our privacy policy for the full picture.
No. The basic address typeahead uses the public endpoint and is unlimited. Each keystroke (after 3 characters, debounced at 200ms) calls our API. We'll rate-limit at 60 requests/minute to prevent abuse, but normal usage won't come close.
How we compare
The only UK address widget that returns property data — public endpoint, no API key needed.
| Feature | Homedata | getAddress | Ideal Postcodes | Loqate |
|---|---|---|---|---|
| Embeddable widget | ✓ Free | ✗ Shut down | ✓ Paid | ✓ Enterprise |
| No API key for autocomplete | ✓ | — | ✗ | ✗ |
| Address + UPRN | ✓ 2 calls | — | ✓ Free | ✗ |
| Property data on select | ✓ With key | ✗ Never | ✗ Never | ✗ Never |
| EPC rating auto-fill | ✓ | ✗ | ✗ | ✗ |
| Bedrooms & type auto-fill | ✓ | ✗ | ✗ | ✗ |
| Self-serve signup | ✓ 3 mins | — | ✓ | ✗ Demo call |
| Pricing | Free + from £49/mo | Shut down | From £49/mo | Enterprise |
Need more control? Use the API directly.
The widget is a convenience layer. Under the hood, it's three REST endpoints — address/find, address/postcode, and address/retrieve. Hit them directly from any language.
Add address autocomplete today.
Free to try — no credit card, no account required. Address search uses 2 calls per lookup. Sign up to unlock property data enrichment and the Widget Builder.
Free plan: 100 calls/month — address search uses 2 calls, property enrichment 1 call each.