Add Address Autocomplete to Your Forms
Add unit-level Australian and New Zealand address autocomplete to any HTML form with one script tag and one function call. No build step, no framework dependency.
-
1
Create a Checkify account and get your API key
Sign up at checkify.com.au and create a public token (ck_pub_...) from your dashboard. Public tokens are safe to embed in frontend code — they're locked to your registered domain.
-
2
Add the script tag to your page
Include the Checkify autocomplete library before your closing </body> tag. Replace YOUR_PUBLIC_KEY with the token from step 1.
HTML<script src="https://cdn.jsdelivr.net/npm/@checkify-api/autocomplete@latest/checkify-autocomplete.js?key=YOUR_PUBLIC_KEY"></script>
-
3
Add address fields to your forms
Add an input for the street address and separate fields for suburb, state, and postcode to any form — checkout, onboarding, contact, KYC/KYB verification, or shipping.
HTML<input type="text" id="street" placeholder="Start typing an address..."> <input type="text" id="suburb" placeholder="Suburb"> <input type="text" id="state" placeholder="State"> <input type="text" id="postcode" placeholder="Postcode">
-
4
Initialise the widget with field mapping
Call CheckifyAutocomplete.init() with your street input selector and a map of which fields to auto-fill when the user selects an address.
JavaScriptCheckifyAutocomplete.init('#street', { city: '#suburb', state: '#state', postcode: '#postcode', }); -
5
Bonus: add suburb autocomplete
Use CheckifyAutocomplete.initSuburb() to add a standalone suburb/postcode search. Same pattern — one call, automatic field mapping.
JavaScriptCheckifyAutocomplete.initSuburb('#suburb-search', { city: '#suburb-name', state: '#state', postcode: '#postcode', }); -
6
Test it
Open your page and start typing an Australian or New Zealand address in the street field. Suggestions appear as you type. Select one and the suburb, state, and postcode fields fill automatically. That's it — you're live.
More guides
Validate Email and Phone Before You Store Them
Most validation stops at syntax. Checkify checks MX records, SMTP deliverability, disposable providers, carrier names, line types, and formatting — so you store contact details that actually work.
Read guideScreen Customers Against Sanctions Lists
Check a name against 11 international sanctions and debarment lists with one API call. Fuzzy matching catches transliteration variants, confidence scoring reduces false positives, and birth details sharpen results.
Read guideLook Up Any Australian Entity by ABN or ACN
Not every entity is a company. Use the ABN endpoint to verify companies, sole traders, trusts, SMSFs, partnerships, and other entity types from the ABR. Use ACN for ASIC-registered company details like office addresses and document history.
Read guideStart validating in minutes
Free to try. No credit card required. Full API access from day one.