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
Black Friday ready: Real-time ecommerce address verification
Arrow Icon
Don’t panic. We’re not telling you to set up your Christmas lights in July or tune into your favorite holiday station. We’re not crazy here (mostly). But also, do your thang. What we ARE saying is that if you’re in ecommerce, you know just as well as Smarty does that you have to start prepping for those big holidays months in advance. Today is as good as any to see how setting up the right real-time address capabilities, like suggesting verified customer addresses as they type, can get your business in the black on Black Friday.
Address Autocomplete API JavaScript SDK tutorial
Arrow Icon
Webinar recap: Ready to take your web forms from "meh" to "wow"?In our recent webinar, we gave tips and tricks and demonstrated live coding magic. The essentials of Smarty's address autocomplete APIJavaScript SDK magic made easyIntegrating Smarty’s Address Autocomplete API using our JavaScript SDK is a breeze. Smarty also has SDKs for . NET, Android, Go, iOS, Java, PHP, Python, Ruby, and Rust, making setting up client credentials, building functions, and handling address lookups look like child’s play.
How Smarty™ sidestepped the global IT outage with 100% uptime
Arrow Icon
A recent defective update from CrowdStrike, a leading cybersecurity provider, caused a global outage affecting millions of Windows systems. Oops. The faulty update to CrowdStrike's Falcon software, intended for endpoint detection and response, led to the infamous "blue screen of death" (BSOD) and rendered many systems non-bootable. The widespread disruption primarily impacted large organizations reliant on CrowdStrike's services, sparing home PCs and systems running on Mac and Linux. Like the rest of the world, Smarty employees were also impacted.