Smarty

Setting Up US Address Autocomplete API to Autofill Your Forms

Get clean address data from the very beginning by using this popular API to fill in address information.
Wes Arnold
Wes Arnold
 • 
March 11, 2022
Tags

Many businesses now collect data online. One could argue that it is nearly impossible to succeed in modern business without some sort of online portal in which there is an exchange of information between the provider and the customer.

But how do you ensure that the information being input by the customer (or potential customer) is accurate?

While there is no way to ensure that Bobby Duncan doesn’t put “Sammy Sosa” in the name line on a form, there IS a way to ensure that he’s putting in a valid mailing address for you to mail his package to.

There are more benefits than just ensuring the address data is complete and accurate. The more keystrokes a user needs to make to complete a form, the less likely they are to complete it, driving down conversion rates. Most companies these days try to ask for less than four items per form because they know that if they ask for name, email, and company they’ll have less form fills.

So why not remove some of the manual labor from your users and have their address—likely the longest thing they’ll type into your form—complete itself after as few as four keystrokes? That’s possible, using the Smarty US Address Autocomplete API.

In a recent webinar, our own Dave Hale, Front-End Engineer for Smarty and coding lover, showed how you can use the Smarty US Address Autocomplete API to autofill the address line in your forms.

There are several benefits to utilizing an autocomplete API for the address line in your forms:

  • Keep your database clean and accurate from the beginning
  • Ensure you are only collecting mailable addresses
  • Prevent accidental fat-fingered addresses
  • Prevent intentionally fake addresses and fraud
  • Remove the need to do regular database cleansing
  • Increase form conversion rates

In the webinar recording below, you’ll watch Dave utilize two different methods to implement the Smarty US Address Autocomplete API into a form:

  • JavaScript SDK (Full documentation found here: https://www.smarty.com/docs/sdk/javascript)
  • US Autocomplete Pro API: (Full documentation found here: https://www.smarty.com/docs/cloud/us-autocomplete-pro-api)

Start increasing your form fills and reducing bad address data.

Try the Smarty US Address Autocomplete API yourself for free by signing up for a free account where you’ll get 1,000 free US Address Autocomplete lookups, along with a slew of other useful testing items.

Get Free Account

Subscribe to our blog!
Learn more about RSS feeds here.
rss feed iconSubscribe Now
Read our recent posts
Inside Smarty - Violet Brin
Arrow Icon
Violetta Brin (Violet) is the purple we all needed in our crayon box. Her strong presence (all puns intended since she’s ripped) is an excellent asset in our marketing sphere. Her laugh is genuine, and her kindness is unparalleled. Violet makes everyone else laugh and smile too.  An experienced designer, Violet adds the right touch to make our site and its components stand out meaningfully.  BackgroundAs a child, Violet wanted to be a spy or a secret agent for the FBI. The appeal of being behind the scenes and pulling off cool things drew her in.
World UFO Day
Arrow Icon
It’s a bird! It’s a plane! Wait, what is that thing? World UFO (Unidentified Flying Object) Day occurs on July 2nd each year, and we’re geeking out about it. If you’ve experienced close encounters with extraterrestrial forces, you wouldn’t be the only one. In fact, this goes back as far as the Puritans.  Diary records from John Winthrop in 1639 mention an incident involving 3 men in a row boat. “‘When it stood still, it flamed up, and was about three yards square,’ the governor reported, ‘when it ran, it was contracted into the figure of a swine.
Legal insights for using Smarty services
Arrow Icon
In our recent webinar, Gianmarco Rosborough, Smarty's legal counsel, provided valuable insights on smart practices and legal considerations for using address data.  Smarty offers the most accurate and easy-to-implement address intelligence suite, processing billions of addresses daily with a reliable API. This tool helps businesses clean data, lower shipping costs, and enhance user experiences with exceptional support. If your organization works with addresses, it's important for you to be aware of the legal ramifications of storing bad address data.